Menu

SimGear Merge Request #98: LEFT_BIT and RIGHT_BIT node masks for VR visibility masks (merged)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

James Hogan wants to merge 1 commit from /u/amalon/simgear/ to next, 2021-10-08

This adds LEFT_BIT and RIGHT_BIT to the NodeMask enum in RenderConstants.hxx. These are used when setting the left and right cull masks so that the left one excludes RIGHT_BIT and vice versa.

A corresponding merge request for flightgear will pass these to osgXR so it can set them on visibility mask geodes in VR cameras it creates attached to the cameras, to overwrite the depth buffer to 0 on parts of the frame that won't be visible through the VR lenses.

Commit Date  
[1d0a99] (osgxrosgxr_cleanvr_3) by James Hogan James Hogan

Add LEFT & RIGHT nodemask bits

Add LEFT_BIT and RIGHT_BIT node masks, which are only shown on the left
or right viewports. These will be used for eye specific visibility masks
with VR.

2021-09-18 07:27:24 Tree

Discussion

  • James Hogan

    James Hogan - 2021-10-08
     
  • Fernando García Liñán

    • Status: open --> merged
     

Log in to post a comment.