Allows to cull and clip meshes that are below a plane. Useful for reflection & refraction camera effects. Also handles flipping of the plane when the eye point goes below it. To use, simply create the scene as subgraph of this node, then do setPlane(const osg::Plane& plane);.
More...
Allows to cull and clip meshes that are below a plane. Useful for reflection & refraction camera effects. Also handles flipping of the plane when the eye point goes below it. To use, simply create the scene as subgraph of this node, then do setPlane(const osg::Plane& plane);.
MWRender::ClipCullNode::ClipCullNode |
( |
| ) |
|
|
inline |
void MWRender::ClipCullNode::setPlane |
( |
const osg::Plane & |
plane | ) |
|
|
inline |
osg::ref_ptr<osg::ClipNode> MWRender::ClipCullNode::mClipNode |
|
private |
osg::ref_ptr<osg::Group> MWRender::ClipCullNode::mClipNodeTransform |
|
private |
osg::Plane MWRender::ClipCullNode::mPlane |
|
private |
The documentation for this class was generated from the following file:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwrender/water.cpp