Uploaded December 2012 | Updated September 2026, 2 weeks ago
This donut was defined by a set of 'tube sections', where each tube section can be defined as a convex polyhedron by using infinite planes (which each define a half-space).
The donut is not a very good case for infinite planes, as I need a lot of planes to define it. The PowerSGL API has a limit of 100 planes per object, so each tube section is modeled as a separate object.
The result is quite poor... single-digit framerates.
So the polygon mesh approach is much better here.
As discussed in my blogpost: scalibq.wordpress.com/2012/12/18/just-keeping-it-real-part-6
This donut was defined by a set of 'tube sections', where each tube section can be defined as a convex polyhedron by using infinite planes (which each define a half-space).
The donut is not a very good case for infinite planes, as I need a lot of planes to define it. The PowerSGL API has a limit of 100 planes per object, so each tube section is modeled as a separate object.
The result is quite poor... single-digit framerates.
So the polygon mesh approach is much better here.
As discussed in my blogpost: scalibq.wordpress.com/2012/12/18/just-keeping-it-real-part-6










