Announcement

Collapse
No announcement yet.

Default color when texture is missing

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

  • Default color when texture is missing

    Hi,

    I have a collection of assets that share the same shaders, but they don't have necessarily the same textures. Is there a way to specify a default color when this is happening ? At the moment, Vray picks a black color ...

    Thanks a lot,

    Julien
    ---------------------------------------
    Julien BOLBACH - Lead Environment TD
    The Moving Picture Company London

  • #2
    We just follow what the Maya software/mental ray renderers do (which is to return black). You can check the V-Ray output for missing textures though - there will be warnings about them.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      http://www.creativecrash.com/maya/sc...texturemanager

      Try out this script, you can use it before rendering and it will list all missing texturs and paths. I think Autodesk wrote their own for Maya 2014, but its always never as good as the 3rd party code.
      Maya 2020/2022
      Win 10x64
      Vray 5

      Comment


      • #4
        Thanks for this, but I don't think it would help me on this case.

        My textures file paths look something like :
        <TexturePath>/color/<UDIM>.exr
        with <TexturePath> being a vrayUserAttribute in each vrayProxy in my scene pointing to the proper texture directory of my asset
        So it's only evaluated in rendertime by vray. I guess there is nothing I can do inside maya, as maya doesn't understand this path.

        It would be nice to be able to add a vrayAttribute on the file node to override the default color when the texture is not found.

        Cheers,

        Julien
        ---------------------------------------
        Julien BOLBACH - Lead Environment TD
        The Moving Picture Company London

        Comment


        • #5
          Specifically for the case of UDIM textures, V-Ray will actually use the default color if a texture is missing. Which build are you using?

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            We are using this build : 20130914
            But I've already asked to update it to the latest available nightly build. Do you think it will help ?

            Thanks,

            Julien
            ---------------------------------------
            Julien BOLBACH - Lead Environment TD
            The Moving Picture Company London

            Comment


            • #7
              Originally posted by Julien BOLBACH View Post
              We are using this build : 20130914
              Stable or nightly? The change might be in the nightlies only.

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment

              Working...
              X