Patrik Andersson wrote:
> Hi, Mike,I think you have to set the clearcolor of HUD camera to change the 
> clearcolor of the none-distorted area, and for the distorted area you have to 
> set the clearcolor of the RTT camera.


This is correct. But it probably wise to let the clear color for the distorted 
view be black since this is what will be shown outside the FOV of the lenses. 
And setting it to anything else then black will result in having bright parts 
in you peripheral vision. 


Patrik Andersson wrote:
> Other discovered bugs are:
> It might be issues with the depth in the scene, I had to add an osg::Depth 
> StateAttribute to the scene to make the depthbuffer valid.


Strange, this is not something I have seen in any of my tests. But on the other 
hand I have tested with simple geometry. What types of issues are you seeing? 


Patrik Andersson wrote:
> In oculusdevice, the position vector has to be Vec3Array instead of Vec2Array 
> for the distorsion mesh, otherwise it will fail when the TriangleFunctor is 
> applied to the node, this was discovered when setting setAllowEventFocus to 
> true for the cameras.


Why would you like to allow event focus on the cameras?

/Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60757#60757





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to