Announcement

Collapse
No announcement yet.

Render incorrect when different geometries

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

  • Render incorrect when different geometries

    Hi,
    I am currently developing a Maya plugin that creates multiple MPxNodes (same type) and assigns shapes to these Nodes.
    When Vray-rendering, each MPxNode is creating and registering a vrayplugin, sends the geometry using a geomMeshLoader.
    If I have the same shape for all nodes, the result is correct. However as soon as I have at least 2 different shapes, the output is incorrect.
    See image with 5 MPxNodes in my scene:
    Click image for larger version

Name:	Shapes.jpg
Views:	1
Size:	57.6 KB
ID:	883374

    The generated vrscene files are the following (please note that my plugin is not exporting geomStaticMesh geometry to the vrscene, there is another ticket open for this in the forum):
    http://www.petits-suisses.ch/cube.vrscene
    http://www.petits-suisses.ch/mix.vrscene

    If I output some logs from my code, I can see that the proper geometry is passed to Vray.
    Would you have any idea what this could be or would you need some additional information ?
    Thanks.
    Last edited by lcrivell; 15-01-2016, 04:06 AM.

  • #2
    Found the issue. I was assigning static parameters to the plugin, instead of "newing" them before each shape.

    Comment


    • #3
      Ok, glad that you found the issue! Please post if you have other problems.

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

      Comment

      Working...
      X