The latest version of our software comes along with a few tools to help you if a particular scene (especially older scenes) doesn't render correctly. They can be found in the Plugins->V-Ray for SketchUp->Help->Debugging menu. They are as follows:
Regenerate all V-Ray Materials - This tool will delete any material information that is currently stored in the V-Ray Material Editor. Then it will iterate through the SketchUp scene, treating it as if it never had any V-Ray material data in it before, and it will create a V-Ray material for every SketchUp material. The newly generate material will only have a Diffuse layer. This tool is useful if your scene's materials are preventing you from rendering, and the Force Sync tool doesn't do the job. Keep in mind that while using this tool, any materials you have set up are going to be completely destroyed, so it might be a good idea to back up the scene prior to running this tool. In addition, if this tool allows you to successfully render the scene, then you know that the issue was a material in your scene. So you can just load your old backup scene, save all of your materials, run the tool, and then import that materials back in to your scene. If after importing one of the materials, you notice that the scene fails to render, then you found your problem. If after importing all of the materials back in to the scene, it still renders fine, then there was probably just some data corruption that was floating around from an old version.
Force Sync for All Materials - This tool will iterate over all of the materials in the SketchUp material editor, and then all of the materials in the V-Ray material editor. The two lists of materials are compared, and if either the SketchUp or the V-Ray material editor is missing a material that the other editor has, a new material is created to correspond with the missing material. This tool should not be destructive.
Clear Texture Cache Folder - Every time you open SketchUp, the directory we write textures gets cleaned out. Occasionally, it helps to have that folder wiped during a SketchUp session. This is usually something that isn't going to help unless you're about knee deep in code though, so I don't recommend using it unless directed.
Regenerate all V-Ray Materials - This tool will delete any material information that is currently stored in the V-Ray Material Editor. Then it will iterate through the SketchUp scene, treating it as if it never had any V-Ray material data in it before, and it will create a V-Ray material for every SketchUp material. The newly generate material will only have a Diffuse layer. This tool is useful if your scene's materials are preventing you from rendering, and the Force Sync tool doesn't do the job. Keep in mind that while using this tool, any materials you have set up are going to be completely destroyed, so it might be a good idea to back up the scene prior to running this tool. In addition, if this tool allows you to successfully render the scene, then you know that the issue was a material in your scene. So you can just load your old backup scene, save all of your materials, run the tool, and then import that materials back in to your scene. If after importing one of the materials, you notice that the scene fails to render, then you found your problem. If after importing all of the materials back in to the scene, it still renders fine, then there was probably just some data corruption that was floating around from an old version.
Force Sync for All Materials - This tool will iterate over all of the materials in the SketchUp material editor, and then all of the materials in the V-Ray material editor. The two lists of materials are compared, and if either the SketchUp or the V-Ray material editor is missing a material that the other editor has, a new material is created to correspond with the missing material. This tool should not be destructive.
Clear Texture Cache Folder - Every time you open SketchUp, the directory we write textures gets cleaned out. Occasionally, it helps to have that folder wiped during a SketchUp session. This is usually something that isn't going to help unless you're about knee deep in code though, so I don't recommend using it unless directed.
Comment