Looking for Python Functions

Looking for Python Functions

ir
Advocate Advocate
645 Views
2 Replies
Message 1 of 3

Looking for Python Functions

ir
Advocate
Advocate

Dear Experts, 

 

We are not finding the following Python functions:

_ Advanced OGL Settings > toggle Realtime Shadow

_ Advanced OGL Settings > toggle Ambient Occlusion Shadows

_ Advanced OGL Settings > toggle Geometry Light Sources

_ Advanced OGL Settings > toggle Depth Only Pass

 

Any hints are appreciated! 

Ingolf 

 

 

0 Likes
Accepted solutions (1)
646 Views
2 Replies
Replies (2)
Message 2 of 3

dominik.rose
Contributor
Contributor
Accepted solution

Hi Ingolf,

 

the vrOSGWidget should help in most of your cases:

 

  • _ Advanced OGL Settings > toggle Realtime Shadow:
    vrOSGWidget.setShadow(state)
  • _ Advanced OGL Settings > toggle Ambient Occlusion Shadows
    vrOSGWidget.setAOShadowsVisible(state)
  • _ Advanced OGL Settings > toggle Geometry Light Sources
    This also works with vrOSGWidget.setShadow(state)
  • _ Advanced OGL Settings > toggle Depth Only Pass
    Sorry, but I haven't found any official method for that in the API yet.

Still hope this helps a bit.

 

Best,

  Dominik

0 Likes
Message 3 of 3

ir
Advocate
Advocate

Thanks Dominik, You are ingenious!

0 Likes