Jump to content

How to change all texture paths to different location easily?


avak

Recommended Posts

Hello

currently  I (working on windows) received some fbx model from other artist (linux), all these models have many many details ,say each model contains hundreds of small pieces and each piece has a material with a texture and the path of texture is a unix format,

when I import these fbx models to houdini, no texture I have and I am on windows, ...really could not find a solution to change the path of all these textures the way my houdini on windows can find it,...

 

 here is an example of one texture path of the model I received:

/media/data/proj/int/Dec2013/seq1/assets/stand_rig/Met_Yelw.bmp

 

and I want to change it to something relative:

$HIP/textures/Met_Yelw.bmp

 

easy for one texture  but I have as I said hundreds of these to change

 

hope you help and thanks in advance
Edited by avak
Link to comment
Share on other sites

Have you tested opchange hscript?

 

Try open hscript textport, and type follow.

opchange /media/data/proj/int/Dec2013/seq1/assets/stand_rig \$HIP/textures

It might help you. But if you think something go wrong, just Ctrl-z or don't save file and quit.

 

* sorry, I miss spelled textures -> textrues, I corrected it.

Edited by yongbin
Link to comment
Share on other sites

 

It would be great to have a tool that lists and allows editing of all the external references of a scene, objects, textures, caches… Something I miss from Softimage...

 

'Pre-Flight Scene' has some of this under the Render menu

Link to comment
Share on other sites

  • 1 year later...

'Pre-Flight Scene' has some of this under the Render menu

Thanks for the tip, I have one doubt, I dragged all textures to hip file (Green) area. All textures copied to the location but in shop texture path remains unchanged did i miss any thing?

Edited by Sankar Kumar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...