Relative Paths
2 posters
Relative Paths
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,
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
Re: Relative Paths
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.
Re: Relative Paths
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
Maybe I'm going to implement this - I'll keep you posted
charlierby- Posts : 27
Join date : 2008-10-17
Re: Relative Paths
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
Re: Relative Paths
Errrrrrrrrr I just release the new revision a few hours ago... it'll have to wait for the next one... sorry...
Re: Relative Paths
Anyway I check the code and already integrate it in my stuff, didn't know that was that easy I would have code it myself, I didn't have a clue that there was a function for that
Tks!
Cheers,
Tks!
Cheers,
Re: Relative Paths
Neither did I, but I had a quick look at the Blender Python API...
charlierby- Posts : 27
Join date : 2008-10-17
Permissions in this forum:
You cannot reply to topics in this forum