smith11235
07-17-2008, 11:33 AM
Hey,
I've found some other posts/examples that seem to take a complicated approach to what I am trying to do and was hoping if someone could tell me if the following simple approach was possible:
I have an emagine 3d visor and also a polhemus motion tracker.
I have successfully linked the main view to both of these devices separately as follows:
polhemus = viz.add('polhemus.dle);
patriot = polhemus.addPatriot();
link = viz.link(patriot,viz.MainView);
And also in another script:
emagin = viz.add('emagin.dls');
viz.link(emagin, viz.MainView);
However, what I would like to do is control the 'head view' of the world with the emagine sensors, and the movement with the Patriot sensor ideally with something similar to the following:
emagin = viz.add('emagin.dls');
viz.link(emagin, viz.HeadView);#attach users 'eyes' to visor
polhemus = viz.add('polhemus.dle);
patriot = polhemus.addPatriot();
link = viz.link(patriot,viz.Body);#let user move independently of where they are looking
I am hoping that this is just a matter of linking the correct objects which have so far eluded me to the sensors.
Any pointers would be greatly appreciated.
Thank you in advance
I've found some other posts/examples that seem to take a complicated approach to what I am trying to do and was hoping if someone could tell me if the following simple approach was possible:
I have an emagine 3d visor and also a polhemus motion tracker.
I have successfully linked the main view to both of these devices separately as follows:
polhemus = viz.add('polhemus.dle);
patriot = polhemus.addPatriot();
link = viz.link(patriot,viz.MainView);
And also in another script:
emagin = viz.add('emagin.dls');
viz.link(emagin, viz.MainView);
However, what I would like to do is control the 'head view' of the world with the emagine sensors, and the movement with the Patriot sensor ideally with something similar to the following:
emagin = viz.add('emagin.dls');
viz.link(emagin, viz.HeadView);#attach users 'eyes' to visor
polhemus = viz.add('polhemus.dle);
patriot = polhemus.addPatriot();
link = viz.link(patriot,viz.Body);#let user move independently of where they are looking
I am hoping that this is just a matter of linking the correct objects which have so far eluded me to the sensors.
Any pointers would be greatly appreciated.
Thank you in advance