Announcement

Collapse
No announcement yet.

vrayscene overide

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

  • vrayscene overide

    I'm building vrayscene override snippet with script.
    Is there any documentation for the requirement or limitation or anything?

    visible property is working.
    But, primary_visibility is not working

    and material....

    The documentation sounds like I could have the override material in material editor slots. But, it seems I have to apply on the vrayscene object as a sub material of multi/sub material.

    Then, I can;t use multi/sub material as a override material?

  • #2
    Just tested this out and it seems to work:
    Code:
    Node <Sphere001*>{
    primary_visibility=0;
    }
    Make sure there is a semicolon at the end of the parameter value.

    What the documentation is trying to say is that in order to override a .vrscene's shader (with one from the editor), the shader in question should be applied to the VRayScene node prior to writing the code in the snippet. Multi/Sub-Object materials work fine as well.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      ok primary_visibility is working in vray 5.

      I was testing on VRay next 3.3(?)
      It didn't work there.

      Multi/Sub is still not working.
      I made a "newmtl" multi/sub-material and applied to vrayscene object.
      WHen I override with the material, the assigned object takes the id 1 material.

      Comment


      • #4
        Seems to work as expected on my end. Have you set the material ids prior to exporting the .vrscene? Check this example.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment

        Working...
        X