Announcement

Collapse
No announcement yet.

Render Elements via Maxscript

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

  • Render Elements via Maxscript

    Hi,

    I'm trying to add a render element via maxscript but I've got a little problem here.

    If I use thoses lines:

    re = maxOps.GetCurRenderElementMgr()
    re.addRenderElement (VRaySelfIllumination elementName"Test_" + (VRaySelfIllumination as String)))

    It work perfectly but, if I change my "VRaySelfIllumination" value to "VRayShadow", it doesn't work. It's the only one I cannot add in the render elements. Vlado, is there a problem with this element ??

    Forget to say... iy's Vray 1.5 RC2

    Thanks!

  • #2
    This is because two V-Ray plugins have the name "VRayShadow" - one is the render element, and the other is the VRayShadow shadow type.

    You might be able to create the element by class id directly, but in any case I have changed the name of the render element to VRayShadows for the next RC.

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

    Comment


    • #3
      glad to know, we stumbled across this as well

      thanks for your efforts!
      michael
      This signature is only a temporary solution

      Comment


      • #4
        Hi Vlado,

        I've try to find a way to make it working with the classID but, wasn't able to do it

        So, I will wait for the next release.

        Comment

        Working...
        X