Login  Register

Re: Intersection of two triangles

Posted by philjord on Aug 17, 2017; 5:50am
URL: https://forum.jogamp.org/Intersection-of-two-triangles-tp4038124p4038143.html

There isn't much documention except for here
https://github.com/philjord/java3d-core/blob/master/docs/perf_guide.txt#L100

But it basically automatically bakes in transformations and merges geometries into big fat geometries that share attributes.
For a fairly complex scenegraph like you might get in a game it can make a huge difference. My Morrowind port went from 1fps to about 6fps once I got compilation going, for a complex scene.
Running on a slow RT like AndroidRT it makes more difference than a good JIT like the sun JRE.

However I haven't actually spent time to get a repeatable and consistent benchmark out for it.