Announcement

Collapse
No announcement yet.

Material problem when switching Vray versions

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

  • Material problem when switching Vray versions

    Hello Andrey, I have the following problem when switching from Vray Standalone version 2.20.01, Build form May 11 2012, core version is 2.00.1 to the newest build (I can't tell you exactly which one is because we are using Whitebox and there is no log window but it is probably some of the newest builds if not the last one) Blender versions are old: 2.63.8 and new: 2.65.3 . When opening a scene made in the older version everething seems fine, but when I selec a object its materal appears to have a greyish diffuse and the object turns from whatever diffuse color it had to the greyish white diffuse. If the material has a texture it renders fine, but if it is only diffuse color it renders greyish and that happens to all the materials in the scene. Also I noticed that in the Scene tab options there is a new submenu "Color management" which didn't exist in the old version if that has anything to do with the problem.
    Here is a link with a sample scene and some renders and screenshots to help you better understand what the problem is, if my english wasn't good enough

    http://www.uploadmb.com/dw.php?id=1356082333

    Thank you in advance and happy holidays !

  • #2
    Re: Material problem when switching Vray versions

    This is because of this feature request, solution is also there and your English is very good ))
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Re: Material problem when switching Vray versions

      Again thank you very much for the quick reply, cheers

      Comment


      • #4
        Re: Material problem when switching Vray versions

        Just one more question, the skript worked but is there a way to make it default everytime I start Blender, because I have a lot of scenes and maybe over 700 models in the libraries and it is a little inconvinient to paste the skript so many times

        Comment


        • #5
          Re: Material problem when switching Vray versions

          Here is a panel for you: http://www.pasteall.org/38240/python
          You could save this script somewhere blender will load it at startup (smth like "2.65/scripts/startup/") and there will be a "Custom tools" panel in Scene buttons.
          V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
          andrei.izrantcev@chaos.com
          Support Request

          Comment


          • #6
            Re: Material problem when switching Vray versions

            10x man, all worked, but I have another issue, on the scene in the link when I select a object with a material with only diffuse color it doesn't show it in the material preview and it starts a vray.bin process and it doesn't close it when I select a differnet material, so I end up with lots of vray processes eating all my CPU power. Materials with textures for diffuse work fine but if it is a color only it doesn't show up in the mat preview.
            I am not sending you any textures but only the walls (object name: PROBLEMATIC) don't have a texture for diffuse.

            LINK: http://www.uploadmb.com/dw.php?id=1357556461

            And few more questions :P
            1. Do I have to run the skript restore defaults everytime I reoopen a scene on which I have previously run it or when I import objects from other scenes in which I didn't run the skript ?
            2. When saving a render as jpg is there a way to adjust the quality of the jpeg as in 3dsmax and is it possible when auto close is enabled to autosave the images in other formats like bmp, png, tiff, etc.

            Thanks again !

            Comment


            • #7
              Re: Material problem when switching Vray versions

              1. No only once per scene.
              2. There is an Output panel with all the controls.
              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
              andrei.izrantcev@chaos.com
              Support Request

              Comment


              • #8
                Re: Material problem when switching Vray versions

                I made a script to do this automatically batch style to all .blend in folder and subfolders. It fixed 220 .blends for me in under 10 minutes.

                Instructions (Use at your own risk)
                1-!!!! BACKUP YOUR FILES!!!!, don't complain to me if it somehow break all your library
                2- extract the .blend and script, open the .blend provided
                3- see the script BatchVrayFix.py which is attached inside the .blend
                4- set the root of your library directory. IE where it says root="E:\\Work\\SharedAssets" which was my directory, put your directory in the quotation marks. (paths must be seperated with double backslash or a forward slashes)
                5- open the blender console/terminal so you can see what happening
                6- run the script BatchVrayFix.py from inside blender
                7- enjoy your colours back
                Attached Files

                Comment

                Working...
                X