Geoff Morris wrote:
>
> Artur, thanks for your comments.
>
> When I reduced the sphere's divisions to four (as John suggested), the
> creation time for the scene graph was improved, but the mouse rotation was
> still too slow. Perhaps this slowness may also have something to do with
> the 2000+ TransformGroups and 2000+ Shape3Ds in the scene? Perhaps, I'm
> being too optimistic, and asking for too much?
One thing for sure is to rotate view, not all objects. I've done a bit
of profiling on program and it was transform3d compute bound. When I
changed all mouse behaviours to OrbitBehaviour on view, performance
increased about two times.
Second thing I've done is switching from directx to opengl. Performance
increased threefold (six times compared to original measurement).
I hope it is enough for the moment. If you would like to make it faster
by another factor of six, please tell :)
Artur
===========================================================================
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".