fatal error rendering the scene after upgrade to 2.4

Hi,

I upgraded to 2.4 after seeing the release news and tested it with a scene. The rendering kept failing with a fatal error. Seems the error came from Rendering region, but I was not doing a region render nor did I enable region render in the Maya render view or VFB?

I hide some of meshes and the scene render just fine. As I unhide meshes, and I then start getting the fatal error thing. Could this have to do with tile textures (<UVTILE>) and PTEX textures both being used in the scene for different meshes? Just my wild guess…

"```

.
.
.
.
[2013/Nov/8|22:39:45] V-Ray: Bitmap file “//ds8311/ar/work/maya/sourceimages/head_plastic_textures/head_plastic_diff_u1_v1.png” loaded.
[2013/Nov/8|22:39:45] V-Ray: PTex file “//ds8311/ar/work/maya/sourceimages/body_plastic_textures/body_plastic_box_lower_1_spec.ptx” loaded.
[2013/Nov/8|22:39:45] V-Ray debug: PTex file has mip-maps.
[2013/Nov/8|22:39:45] V-Ray error: Exception [module=1] : Rendering region (256,160)-(288,192)
[2013/Nov/8|22:39:45] V-Ray: Bitmap file “//ds8311/ar/work/maya/sourceimages/body_metal_textures/yellow_metal_normal_u1_v1.png” loaded.
[2013/Nov/8|22:39:45] V-Ray error: Exception [module=1] : Rendering region (256,192)-(288,224)
[2013/Nov/8|22:39:45] V-Ray debug: Qt threads completed
[2013/Nov/8|22:39:45] V-Ray: Number of raycasts: 143110
[2013/Nov/8|22:39:45] V-Ray: Camera rays: 28247
[2013/Nov/8|22:39:45] V-Ray: Shadow rays: 77856
[2013/Nov/8|22:39:45] V-Ray: GI rays: 0
[2013/Nov/8|22:39:45] V-Ray: Reflection rays: 37007
[2013/Nov/8|22:39:45] V-Ray: Refraction rays: 0
[2013/Nov/8|22:39:45] V-Ray: Unshaded rays: 0
[2013/Nov/8|22:39:45] V-Ray debug: Clearing global light manager.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing direct light manager.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing ray server.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing geometry.
[2013/Nov/8|22:39:45] V-Ray: Number of intersectable primitives: 82917
[2013/Nov/8|22:39:45] V-Ray: SD triangles: 2
[2013/Nov/8|22:39:45] V-Ray: MB triangles: 0
[2013/Nov/8|22:39:45] V-Ray: Static primitives: 82914
[2013/Nov/8|22:39:45] V-Ray: Moving primitives: 0
[2013/Nov/8|22:39:45] V-Ray: Infinite primitives: 1
[2013/Nov/8|22:39:45] V-Ray debug: Clearing camera image sampler.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing camera sampler.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing DMC sampler.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing path sampler.
[2013/Nov/8|22:39:45] V-Ray debug: Clearing color mapper.
[2013/Nov/8|22:39:45] V-Ray: Total frame time 0h 0m 47.3s (47.3 s)
[2013/Nov/8|22:39:45] V-Ray debug: Calling endSequence().
[2013/Nov/8|22:39:45] V-Ray: Cleaning up bitmap manager
.
.
.
.
.
[2013/Nov/8|22:39:46] V-Ray error: There was a fatal error rendering the scene.
[2013/Nov/8|22:39:46] V-Ray debug: Exiting render().
[2013/Nov/8|22:39:46] V-Ray: Render interrupted

Ok, as soon as I hide meshes with PTEX textures assigned, the scene start rendering normally.

Here is my setting for the PTEX texture node. This is the setting I used when using VRay 2.30.01 and the scene renders normally.

ps. Maya 2013 SP2, V-Ray 2.40.1, WIN 7

Can you post a simple scene that can be used to reproduce the problem?
Also what maya version are you using?

Thanks petrov. I am using Maya 2013 SP2 x64 on Win 7. I did a test again and I am positive that as hiding the PTEX associated meshes, the scene render normally as I was using VRay 2.30.1 under the same environment. Let me see if I can associate the PTEX texture to a simple mesh to reproduce the issue.

Any news on that? Were you able to make a scene for us?

I found that the issue seems having to do with the mesh in the scene as I put the same PTEX texture on a newly created sphere and the scene rendered just fine. I’ll check to see if it’s ok to email a simplified scene for you to examine.

Thanks.

PTEX files are tied to the mesh they are painted on, so I don’t think sending the PTEX with arbitrary mesh will be helpful.

Yep, maybe you can try to delete part of the original mesh.