Page 1 of 2
Convert relative tex paths into absolute
Posted: Mon Sep 26, 2016 8:16 pm
by DinoMuhic
Is there a way to convert all texture paths, which octane is using from relative into absolute paths?
We have a project here with many shots, which was set up using relative tex paths and it would take days to change all those manually, since each shot has over 100 textures used.
Re: Convert relative tex paths into absolute
Posted: Mon Sep 26, 2016 8:30 pm
by aoktar
Yes you can easily write a python script to do in seconds.
Re: Convert relative tex paths into absolute
Posted: Tue Sep 27, 2016 12:43 am
by DinoMuhic
aoktar wrote:Yes you can easily write a python script to do in seconds.
No I surely can't. I wish I could
Any help would be appreciated!
Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 2:15 pm
by silanbekjarov
Hi I know this is an old post, but I have a similar problem. Anyway someone can help out with such a script? I need to convert the relative paths in all image texture nodes to absolute paths. Anyone can help with this?
Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 2:54 pm
by SSmolak
silanbekjarov wrote:Hi I know this is an old post, but I have a similar problem. Anyway someone can help out with such a script? I need to convert the relative paths in all image texture nodes to absolute paths. Anyone can help with this?
What about using Octane Texture Manager or Cinema's Project Asset Inspector ? You can easily change texture paths here.
Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 3:12 pm
by silanbekjarov
As there are a lot of them and many files it would take forever to do it manually - thus I'm looking for something automated. I imagine it to be quite simple logically. The info is there and it just hast to change how it shows it in the rgb image and image texture nodes. Or even simpler: show in suggested path the same as in real path.
Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 3:36 pm
by SSmolak
silanbekjarov wrote:As there are a lot of them and many files it would take forever to do it manually - thus I'm looking for something automated. I imagine it to be quite simple logically. The info is there and it just hast to change how it shows it in the rgb image and image texture nodes. Or even simpler: show in suggested path the same as in real path.
All mentioned managers can do that automatically - just select all of the needed textures and change path for them globally within one click

Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 5:32 pm
by silanbekjarov
I have about 1000 textures in each document and they are all in different folders.
but maybe I am missing something. Can you explain step by step how to do it? Because in as I see it, if I was to do this by hand I would have to change it for each texture, as i have to add the path of each infront of the filename.
Please explain how you would do it?
Re: Convert relative tex paths into absolute
Posted: Thu Oct 20, 2022 5:48 pm
by SSmolak
Octane Texture Manager :
Project Asset Inspector :
You do not have to select textures just put their old path ( without texture name ) and new path like :
old : H:\- IMAGES\Poliigon\Metal
new : D:\Textures\Metal
Re: Convert relative tex paths into absolute
Posted: Fri Oct 21, 2022 8:43 am
by silanbekjarov
Hey there, thanks for taking the time to explain, but that is exactly what I mean by doing it manually and what I want to work around as this is what I am doing atm. its a lot of textures with all kinds of different paths and doing this manually - and I mean manually inputting paths etc. - would take forever. Also the suggested path in octane texture manager is just showing the filename. In the Project Asset Inspector the filenames are the only thing present and they are filenames only, so relinking is not working, dont ask me why. Even if I point it to the exact folder by hand.
I tried everything that is the normal way before I came to ask for help here and atm a script seems the most logical way. Especially because someone else had asked if its possible and Ahmet said it would be easy to write such a script in python but nothing after that.