Login  Register

Re: Concept of Java3D's OrderedGroup...

Posted by gouessej on Sep 22, 2017; 11:13am
URL: https://forum.jogamp.org/Concept-of-Java3D-s-OrderedGroup-tp4038183p4038201.html

No there isn't but you just have to implement a single method: void render(Spatial spatial, Renderer renderer). You should only use almost the same code than Node.draw() (except the order in the loop) when the spatial is a node and call Spatial.onDraw() when the spatial isn't a node.
Julien Gouesse | Personal blog | Website