Relative Paths

View previous topic View next topic Go down

Relative Paths

Post  charlierby on 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

View user profile

Back to top Go down

Re: Relative Paths

Post  sio2interactive on 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.
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: Relative Paths

Post  charlierby on 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

View user profile

Back to top Go down

Re: Relative Paths

Post  sio2interactive on Wed Oct 22, 2008 4:57 pm

Allright good stuff Wink
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: Relative Paths

Post  charlierby on 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

View user profile

Back to top Go down

Re: Relative Paths

Post  sio2interactive on 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...
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: Relative Paths

Post  charlierby on Mon Oct 27, 2008 2:38 am

No problem Wink

charlierby

Posts : 27
Join date : 2008-10-17

View user profile

Back to top Go down

Re: Relative Paths

Post  sio2interactive on 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,
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: Relative Paths

Post  charlierby on 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

View user profile

Back to top Go down

Re: Relative Paths

Post  sio2interactive on Mon Oct 27, 2008 2:55 am

Hehe, anyway issue resolved Wink

Tks a bunch!
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: Relative Paths

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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