SoAlgebraicShaperayIntersection Property |
Field for an OIV.Inventor.Nodes.SoFragmentShader object that defines the GLSL ray intersection function.
Namespace: OIV.Inventor.Nodes
The GLSL function must compute the intersection between a ray and the shape. Note that position and direction space is chosen according to the value of OIV.Inventor.Nodes.SoAlgebraicShape.workspace. This function must be implemented as:
bool OivASRayIntersection ( in OivASRay ray, inout OivASPoint p ) { DO SOMETHING return [ true | false ]; }