Announcement

Collapse
No announcement yet.

VRay does not render dynamically-added objects

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

  • VRay does not render dynamically-added objects

    In my c++ plugin for Maya, I am creating simple Maya objects in the scenes at given times.
    So for example when the animation reached frame 10 (timeChanged event), I execute
    Code:
    MGlobal::executeCommand("CreatePolygonSphere");
    A sphere appears properly at frame 10, and when I render this frame, I can see it properly.
    However, when doing an animation render from frames 8 - 15, the object will not appear on the render, just on the Maya UI.
    How can I have Vray rendering dynamically-added objects ?

    Thanks.

  • #2
    This is not how rendering works. Adding/removing objects in the scene is not animating. It can happen only in IPR mode. To be animation, you must change a parameter (like turning on/off the visibility).
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Clear, thanks.

      Comment

      Working...
      X