Announcement

Collapse
No announcement yet.

change texture paths

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • change texture paths

    I have a pretty big scene with many materials and lots of textures within. On some there are three layers of composite etc.
    All the textures are (should be) loaded with VrayHDRI, and I use tags to replace parts of the bitmap paths, typically to get the correct UDIM.

    Now I want to move the whole project to a different network.
    The 3dsmax asset manager cannot handle this, and I was too stupid to set the bitmap paths with eviroment variables tag when I started the project :P.

    So how can I change all paths the easiest way?
    I know maxScript, and I guess there is a way to list every single VrayHDRI in the scene?
    One thing is for certain: I would rather not change all the bitmap paths by manually going into every single texture in every material to write a new one :P.
    Last edited by hardrock_ram; 04-02-2017, 04:14 AM.

  • #2
    Okay, its not harder than this to get all paths:

    a = #()
    for i in (getClassInstances VrayHDRI ) do append a i
    for i in a do print i.HDRIMapName

    Comment


    • #3
      I use Relink Bitmaps script and its been working great for me for a few years. http://www.colinsenner.com/scripts/relink-bitmaps

      -dave
      Cheers,
      -dave
      ■ ASUS ROG STRIX X399-E - 1950X ■ ASUS ROG STRIX X399-E - 2990WX ■ ASUS PRIME X399 - 2990WX ■ GIGABYTE AORUS X399 - 2990WX ■ ASUS Maximus Extreme XI with i9-9900k ■

      Comment


      • #4
        Thanks for the tip

        I really just needed to change paths in bitmaps og vrayHDRI for now, so it was an easy fix with maxScript

        Comment


        • #5
          Originally posted by hardrock_ram View Post

          The 3dsmax asset manager cannot handle this, and I was too stupid to set the bitmap paths with eviroment variables tag when I started the project :P.
          excuse me but can you explain "set the bitmap paths with environment variables tag" ?
          How does it work ?
          Thanks
          (Sorry for my bad english)

          Comment


          • #6
            Originally posted by hardrock_ram View Post
            I have a pretty big scene with many materials and lots of textures within. On some there are three layers of composite etc.
            All the textures are (should be) loaded with VrayHDRI, and I use tags to replace parts of the bitmap paths, typically to get the correct UDIM.

            Now I want to move the whole project to a different network.
            The 3dsmax asset manager cannot handle this, and I was too stupid to set the bitmap paths with eviroment variables tag when I started the project :P.

            So how can I change all paths the easiest way?
            I know maxScript, and I guess there is a way to list every single VrayHDRI in the scene?
            One thing is for certain: I would rather not change all the bitmap paths by manually going into every single texture in every material to write a new one :P.
            I know you said the asset manager cannot handle the task, but you can select multiple entries and use "retarget common root" command. I use this to move a project over to another pc quite often...
            James Burrell www.objektiv-j.com
            Visit my Patreon patreon.com/JamesBurrell

            Comment


            • #7
              you could pack (resource collector) your file to another location and if I remember well repath everything
              show me the money!!

              Comment


              • #8
                For relinking I use this: http://www.pixamoon.com/shop/4587562583
                Its really fast because You dont have to open max files and there is a lot more stuff You can do than just relinking assets so I highly recommend it
                http://gamma22.com/
                https://www.facebook.com/gamma22com/
                https://gumroad.com/gamma22

                Comment


                • #9
                  https://docs.chaosgroup.com/display/...ure+|+VRayHDRI

                  See "Tags and Environment Variables in Bitmap Names"

                  Comment


                  • #10
                    Originally posted by Pixelcon View Post
                    I know you said the asset manager cannot handle the task, but you can select multiple entries and use "retarget common root" command. I use this to move a project over to another pc quite often...
                    The asset manager doesn`t work when you use tags i VrayHDRI

                    Comment


                    • #11
                      Originally posted by rikou View Post
                      excuse me but can you explain "set the bitmap paths with environment variables tag" ?
                      How does it work ?
                      Thanks

                      https://docs.chaosgroup.com/display/...ure+|+VRayHDRI

                      See "Tags and Environment Variables in Bitmap Names"

                      Comment

                      Working...
                      X