Greetings all,
Thanks a lot for a great product and superb support in this forum. Almost every issue I’ve had has been explained in great details in these forums.
I have a question that may be more oriented towards experience than the underlying architecture of Xith3D+JOGL. From my experience using Xith3D I have seen there are two main models when implementing timeslicing for a project:
The ‘more Java’ way is to use separate threads threads that (for example) modify a Transform3D in the background to make a cube spin. This approach has the benefit that the timeslicing is performed by the VM or (hopefully) the OS. But in task intensive applications, or where synchronization is very important it may prove ‘inexact’ and very resource consuming.
The othe way, the GL way, is to implement a single thread model where we give time to each component for it’s calculations. This is a little less ‘object oriented’ in Java’s way, but has the advantage of providing a scalable and ‘perfectly-synchronizable’ experience.
In the project I’m working on I’ve implemented both models, having a simple way to switch between one or the other easily at runtime. I still have not used any huge scene, so it’s literally impossible to tell the one from another. But I’m interested in your opinions (as developers and users of Xith3D) on how do you implement time-slicing and what your experiences are.
Thanks again for a great tool and a better community.
). Somehow it worked fine on single processor machines.