Dear All,
I've some questions regarding tracker data synchronization with OSG. Here they
are:
For tracker hardware read/write/control events, a seperate thread is
spawned from the main thread and that thread handles all the hardware related
communication via interrupt driven way and converts the binary readings to that
of radian angle values.
For the purpose of thread synchronization, I use Windows OS
synchronization objects. This is also needed because in the lack of
synchronization the original frame rate of the application and the
yaw/pitch/roll values acquired from the tracker may go out of sync.
My questions are:
1) (As I haven't noticed up to now), does OSG have synchronization objects
for the purpose above?
2) After obtaining the yaw/pitch/roll values in sync, is "updating the virtual
camera's viewmatrix" correct way of proceeding or does OSG has some specialized
functions for this?
Best regards,
Ugras
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org