Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Quadratic Surface mesh example

MeshViz Demonstrates the quadratic surface mesh representation.

This program shows how to visualize a non-linear surface.

A quadratic surface is loaded and tessellated using geometric tessellator. The program displays the non-linear representation of this surface and its outline.

Hit T to enable the basic tessellator, thus displaying the linear representation of this surface.

Hit L to display only edges of the surface.

Lighting: Like other geometry in Open Inventor, MeshViz rendering objects are only lit on one side. You will generally want to add an SoShapeHints to enable two sided lighting (so you can see both sides of the slice).

FILES:

    • MeshVizXLM/mapping/QuadraticSurface/main.cxx
    • MeshVizXLM/mapping/QuadraticSurface/DemoQuadraticSurface.h
    • MeshVizXLM/mapping/QuadraticSurface/DemoQuadraticSurface.cxx
    • MeshVizXLM/mapping/DemoTemplate/Demo.h
    • MeshVizXLM/mapping/DemoTemplate/Demo.cxx
    • MeshVizXLM/mapping/DemoTemplate/Data.h
    • MeshVizXLM/mapping/DemoTemplate/Data.cxx
    • MeshVizXLM/mapping/DemoTemplate/MeshSceneEditor.h
    • MeshVizXLM/mapping/DemoTemplate/MeshSceneEditor.cxx
    • MeshVizXLM/mapping/DemoTemplate/TextSceneEditor.h
    • MeshVizXLM/mapping/DemoTemplate/TextSceneEditor.cxx
    • MeshVizExtractor/_MeshSamples_/MeshVizImplement/surfaces/quadratic/QuadraticQuadrangle8Cell.h
    • MeshVizExtractor/_MeshSamples_/MeshVizImplement/surfaces/quadratic/QuadraticQuadrangle9Cell.h
    • MeshVizExtractor/_MeshSamples_/MeshVizImplement/surfaces/quadratic/QuadraticTriangle6Cell.h
    • MeshVizExtractor/_MeshSamples_/MeshVizImplement/surfaces/quadratic/QuadraticSurfaceMesh.h

SEE ALSO

MiTessellator MxEdgeErrorMetricGeometry MoMesh MoMeshSurface MoMeshOutline MoTessellator MoScalarSetI MoPredefinedColorMapping

SCREENSHOT: