|
Hello,
I don’t think that it is a problem of synchronizing or updating, because the terrain doesn’t flicker at all when the view is changing. Only the moving Object flickers, like you can see in this example:
http://flash-tools.de/j3d/test.zip (179KB)!!!
To Lewis Walker: The problem with an update on every Frame is that the framerate can change and the speed would change, too.
To Doug: It’s flickering. I don’t think that the framerate is a problem. Even if the framerate is higher than my update rate it would not flicker with 25updates per second!
Thank you very much for your answers. I’m looking forward to other ideas!
Greetings Johannes Neubauer
API
[mailto:[EMAIL PROTECTED] Im
Auftrag von Lewis Walker
I suspect the problem is that you are doing the update from your own thread. The whole point of the behavior setup is that it lets Java3D execute code in the right order and at the right time to make everything work nicely. Also - setting up a behavior to execute every frame via a WakeupOnElapsedFrames(0) will allow you to change transforms for each frame. There is no point in modifying them any more frequently than this, as the screen will only be updated on each frame anyway!
-----Original Message-----
|
Title: Message
- [JAVA3D] flickering Shape3D object when moving both View... Johannes Neubauer
- Re: [JAVA3D] flickering Shape3D object when moving ... Doug Twilleager
- Re: [JAVA3D] flickering Shape3D object when mov... Lewis Walker
- Re: [JAVA3D] flickering Shape3D object when... Johannes Neubauer
- Re: [JAVA3D] flickering Shape3D object when moving ... Alessandro Borges
- Re: [JAVA3D] flickering Shape3D object when mov... Jeremy Booth
- [JAVA3D] AW: [JAVA3D] flickering Shape3D object... Johannes Neubauer
