Using polygonal techniques

OSG supports various polygonal techniques for manipulating the geometry objects. These pre-processing methods, such as polygon reduction and tessellation, are often used to create and improve polygonal models for rendering at a later time. They are designed to have a simple interface and be easy to use, but may perform complex calculations backstage. They are not suggested to be used on-the-fly because of possibly massive computations.

A few polygonal technique implementations in OSG are listed as follows:

  1. osgUtil::Simplifier: This reduces the number of triangles in geometries. The public method simplify() can be used to simply enter a geometry object.
  2. osgUtil::SmoothingVisitor: This calculates normals for any geometries ...

Get OpenSceneGraph 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.