-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
~ I've been looking at reducing my FPS to allow the CPU to handle other work,
like updating transforms from k/b and joystick inputs, I saw the method on View
called setMinimumFrameCycleTime and thought it was ideal, i have tried setting
it to 20 16 and 10, giving me frame rates of 50fps, 60fps, and 100fps, all of
which i normally exceed (at times), however, at 50 FPS i'm, lucky if my first
frame gets rendered, at 60 i normally get through most of the object creation
code, and then it looks like the renderer just stops, and at 100 i mostly get to
about 1 second after object creation before it all hangs, anyone using this method?
and more importantly, anyone know how to fix this issue?, i'm getting the view
from the canvas3d, here is the code i use to create the canvas and modify the view:
~ GraphicsConfiguration config =
~ SimpleUniverse.getPreferredConfiguration();
canvas3d = new Canvas3D(config);
~ universe = new SimpleUniverse(canvas3d);
~ canvas3d.getView().setBackClipDistance(400);
~ canvas3d.getView().setFrontClipPolicy(View.VIRTUAL_EYE);
~ canvas3d.getView().setFrontClipDistance(0.1);
~ canvas3d.getView().setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY);
canvas3d.getView().setMinimumFrameCycleTime(10);
any ideas?
Cheers
Jeremy
- --
________________________________________________________
PGP key is here -> http://www.computerbooth.com/pgp.html
* If debugging is the process of removing bugs, then programming must be
the process of putting them in.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+EdC0kkWXI7JvucARAqEBAJ0Vk01DbptUn8aWG4WtlN8F8RQ93QCg5At/
qKcb6t2kmCPHQgaslrgvPx4=
=8gJu
-----END PGP SIGNATURE-----
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".