Ralf, In using the behavior you are tying yourself to the frame rate your machine is able to achieve. With a thread you might slow down rendering (by keeping the machine busy in your thread) but your thread could process potentially thousands of times per frame.
- John Wright Starfire Research Ralf Bednarz wrote: > > hello > > Why is a behavior that wakes up every frame and do some setTransform() slower than a > thread that does almost the same? > I read information of a transfrom3d and want to update the positon of an object in > my scene. But when I use abehavior that wakes up on ElapsedFrame(1) my whole > application gets slow as snails. > Does a thread do that thing it is quite good. > > Has the Behavior class much overhead that it almost crashes in doing this stuff? > > thanks > Ralf > > =========================================================================== > 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". =========================================================================== 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".