FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Relative Paths

2 posters

Go down

Relative Paths Empty Relative Paths

Post  charlierby Wed Oct 22, 2008 7:44 am

Hi,

the exporter seems to have a problem when using relative paths for textures in Blender, so my question is: are relative paths supported at the moment?

Greetings,

charlierby

Posts : 27
Join date : 2008-10-17

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  sio2interactive Wed Oct 22, 2008 8:04 am

Only absolute path is required makes it easier to manage and copy the resources. You can always write a relative path support in Python and I would gladly integrate to the current exporter.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  charlierby Wed Oct 22, 2008 8:07 am

Alright, thanks for the info - relative path support for images is absolutely necessary - think about more people working on a project...

Maybe I'm going to implement this - I'll keep you posted Wink

charlierby

Posts : 27
Join date : 2008-10-17

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  sio2interactive Wed Oct 22, 2008 4:57 pm

Allright good stuff Wink
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  charlierby Mon Oct 27, 2008 1:56 am

Alright, I did a few quick changes to the exporter and it now supports relative paths for textures. Get it here: http://download.rarebyte.com/sio2/sio2_exporter_v1.2.py

charlierby

Posts : 27
Join date : 2008-10-17

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  sio2interactive Mon Oct 27, 2008 2:33 am

Errrrrrrrrr I just release the new revision a few hours ago... it'll have to wait for the next one... sorry...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  charlierby Mon Oct 27, 2008 2:38 am

No problem Wink

charlierby

Posts : 27
Join date : 2008-10-17

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  sio2interactive Mon Oct 27, 2008 2:45 am

Anyway I check the code and already integrate it in my stuff, didn't know that was that easy Wink I would have code it myself, I didn't have a clue that there was a function for that Wink

Tks!

Cheers,
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  charlierby Mon Oct 27, 2008 2:49 am

Neither did I, but I had a quick look at the Blender Python API...

charlierby

Posts : 27
Join date : 2008-10-17

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  sio2interactive Mon Oct 27, 2008 2:55 am

Hehe, anyway issue resolved Wink

Tks a bunch!
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Relative Paths Empty Re: Relative Paths

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum