Login  Register

Re: Queston about initial Shape3D Transform.

Posted by philjord on Feb 05, 2019; 8:08pm
URL: https://forum.jogamp.org/Queston-about-initial-Shape3D-Transform-tp4039478p4039483.html

There won't be any screen flicker as such, the scene tree is fully processed and compiled before the first frame is rendered.

However there is a one frame delay between calling setTransform on a TransformGroup and the result begin shown on screen. normally this is not perceptible to a user at 60fps but a heavily loaded system running 5fps may become apparent.

I have only once found trouble with this limit; in that case it was because the GeometryUpdater callback to modify ByRef geometry data does not have a delay so if you want TransformGroups and geometry updates to be aligned it will cause visual artifacts. My solution was to do the Transform calcs myself and multiply that into the geometry changes that were happening.