[osg-users] Best way to cull object hidden by a mountain
Valerian Merkling
niarkoleptik at gmail.com
Fri Jun 24 08:14:09 PDT 2016
Hi Robert,
Thanks for your clarification about OccluderNode.
I already looked at the osgocclusionquery example. If I'm right, it just need to add an OcclusionQueryNode to contain the node wich have to be occluded by the rest of the scene graph. I wasn't able to make it works so I may need to dig a bit.
To be honest, I don't know if I will use OcclusionCulling at all, but I want to understand how it works and how it can be used. I don't want to be forced to, in a few month, rebuild all my app because I'm unable to use occlusion culling while really needing it.
I'm also need to support a part of SLD (see here http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html), the "Line With Border" example.
I want to use PolygonOffset to force the drawing order of my lines, and OcclusionCulling might be a good way to avoid depth buffer issues.
Anyway, thanks again for your help. And if you have any tips about OcclusionQueryNode I'll take it !
Cheers,
Valerian
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67798#67798
More information about the osg-users
mailing list