Announcement

Collapse
No announcement yet.

VRayScene class usage tipps

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

  • VRayScene class usage tipps

    In the API we can find two interesting classes VRayScene and VRaySceneAsset. But there seems to be almost no information in the documentation about how this classes can be actually used. Can anyone give us some tips or links about this topic?

    P.S. Actually we hope that one could load different lightsets or object sets in different VRayScenes and then easily switch between them using mrs_visibility.

  • #2
    > But there seems to be almost no information in the documentation about how this classes can be actually used

    Those are not "classes", those are plugin types (well, those are classes in terms of the appsdk/c++ autogenerated wrapper header for more friendly plugin parameter get/set).
    There is no documentation because 1. they are kinda internal plugins 2. those are standard plugins like any others - all u need to know is available though plgparams / plugininfo (all parameters have a brief help and are mostly self explanatory).

    > Actually we hope that one could load different lightsets or object sets in different VRayScenes and then easily switch between them using mrs_visibility.

    Both of them are not designed to do what you want; especially if you mean in IPR. So, you may try using them, but no guarantees.
    Last edited by bdancer; 10-01-2020, 07:14 AM.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Hello Andrei,

      thank you for info. That's the point, I would like to try them, but it's not obvious how.

      But may be you just have an idea how different assets could be switched fast? Imagine you have two different lightsets (every lightset is basically a group of nodes, materials, bitmaps etc.) and you want to switch between them as fast as possible in interactive mode, how would you do that? Our current approach is to add kind of ID prefix to all relevant nodes. Then the objects can then be filtered out by ID and marked as invisible or visible. It works, but it does not seem to be an elegant solution.

      Best regards,
      Alex

      Comment

      Working...
      X