Announcement

Collapse
No announcement yet.

Script acess for Vray* RenderElements' details

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

  • Script acess for Vray* RenderElements' details

    Maybe a question more than a Wish, but is there script access to vray Render Element settings?

    Why you ask? Because i'd like a simple script that could let you chose the GbufferID for the set of selected objects and add the objects to a MutliMatteElement render element in 1 chunk.

    Or to add/set your Zdepth ranges based on the camera near/far clips
    Dave Buchhofer. // Vsaiwrk

  • #2
    This will show you the name and properties of the first render element, just add a multimatte and run the script.
    Code:
    re = maxOps.GetCurRenderElementMgr()
    el =re.GetRenderElement 0
    el.elementname
    showproperties el
    Eric Boer
    Dev

    Comment


    • #3
      Yep, you can access the V-Ray elements as you would do for the normal 3ds Max elements through the MaxScript RenderElementMgr interface.

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

      Comment


      • #4
        oh fun thanks, dont know why I didn't think to just showprop it heh :P
        Dave Buchhofer. // Vsaiwrk

        Comment

        Working...
        X