Login  Register

Re: Mac Canvas3D location bug

Posted by Sven Gothel on Oct 06, 2013; 3:04pm
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4030166.html

On 10/06/2013 02:53 PM, Manu [via jogamp] wrote:
> Thanks Sven, we're very close to a working solution.

:)

> /Canvas3DVisibilityTest/ and /Canvas3DPositionInDialogTest/ works perfectly on
> my side now.

> Miserably,
Maybe the wrong wording here - we have to walk CALayer regressions step by step.
Thank you very much for your input, test cases and revalidation.
It's tedious .. but the situation is expected - 'miserable' is something different IMHO :)
So pls 'hang in here' and to all the others, pls test your special AWT layouts
so we can find the remaining issues w/ OSX CALayer.

> I noticed an other visibility issue that needs to be resolved for
> my use case. The canvas 3D should disappear when one of its parent is/becomes
> invisible too, something that may happen when you have to combine different
> panels/layouts in a window. Here's a simple test showing this issue:

Thank you - I will add it, as usual. Looks like we need to snoop on the
hierarchy listener ..

>
>
>
> By the way, is there a simple way to measure the frame rate with Java 3D or JOGL?

Pls verify the unit tests I create based on your input,
then you find the line:
  animator.setUpdateFPSFrames(60, System.err);

~Sven



signature.asc (911 bytes) Download Attachment