Announcement

Collapse
No announcement yet.

VRayScene Plugin Overrides Syntax

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

  • VRayScene Plugin Overrides Syntax

    Hi everyone,


    what ist the correct syntax in Houdini on the VRayScene SOP > Plugin Overrides?

    I've tried the Material Override Examples provided on the official page:
    https://www.chaos.com/blog/how-to-mo...n-applications
    But they don't seem, to work at all!

    My final goal would be to modify an imported vrscene so that all emission is turnded off. This is a common case where I want to add an additional layer of emissive FX and need the vrscene for reflections/refractions.
    How should this be approached?


    Cheers,
    Aleksej
    Aleksej Skrypnik | FX Artist | unexpected

  • #2
    Last time I checked that wasn't easily done, I'm really interested if that's changed
    Hristo Velev
    MD/FX Lead, Bottleship VFX
    Sofia, Bulgaria

    Comment


    • #3
      > Last time I checked that wasn't easily done

      Yes, it was never easy, but this is how it works.
      You need to know the exact plugin name or use pattern matching.
      It'll be easier to help if you could just upload some example setup that doesn't work for you.
      You may also try importing the material and re-applying to the particular VRaySceneRef primitive (along with expand primitives option).

      However, there are no plans to improve that functionality.
      V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
      andrei.izrantcev@chaos.com
      Support Request

      Comment


      • #4
        Yeah, we're moving to USD already.
        Hristo Velev
        MD/FX Lead, Bottleship VFX
        Sofia, Bulgaria

        Comment


        • #5
          Here is an example of an actual use case to demonstrate what I need.

          (E) shows what I would like to achieve: Just a layer with FX and the reflections in the space ship materials. No emissions from materials on the space ship.
          (D) would be what I get by exporting the vrscene as-is from Max. The emissive materials are interfering.

          Turning off all emission on materials in Max before exporting can get cumbersome. So it would be great, if I could turn off all emissions on my vrscene by an override or any other way.

          I'll send the scene files as PM. Also sorry for the late reply. I didn't notice the answers right away.
          Aleksej Skrypnik | FX Artist | unexpected

          Comment


          • #6
            In your case illumination shader type is BRDFLight, so if you want to turn all of them off the syntax will be:
            Code:
            BRDFLight <*> {
                color=AColor(0,0,0,1);
            }
            and the result:
            Click image for larger version

Name:	03_06_2022_14-28-31.png
Views:	310
Size:	724.3 KB
ID:	1149784
            Attached Files
            V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
            andrei.izrantcev@chaos.com
            Support Request

            Comment


            • #7
              That's it!
              Thank you very much!
              Aleksej Skrypnik | FX Artist | unexpected

              Comment

              Working...
              X