WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-13-2013, 01:33 PM
performlabrit performlabrit is offline
Member
 
Join Date: Oct 2013
Posts: 77
Eye position relative to center of head?

In my simulation, I am linking the mainview to the position/orientation of the head tracked by my motion capture system (in my case, Phasespace).

It is necessary that the rigid body returned by my Phasespace motion capture system is appropriately oriented for correct eye/head geometry. To check this relationship, I am writing a calibration program.

This program will allow the user to dynamically adjust the location of two small colored spheres until they surround the user's eyes, and tint the world via transparency. Finally, the parameters used to place these spheres in the correct location will be used to update the parameters of the HMD projection used in nvis.nvisorSX111().

Tentatively, the parameters used to set eye-location will include:
The assumed distance of the eyes from the center of the head (cm)
The elevation of the eyes from the center of the head (degrees)
The inter ocular distance (perhaps also degrees from the center of the head)

I've hit a roadblock early on: I need to know the position of the eyes relative to the center of the head (ie the location of the mainView).

Unfortunately, eye-locations are not explicitly stated in the HMD setup code that I'm using (nvis.nvisorSX111()). How can I calculate the position of the eye-in- head when the viewing parameters are set with nvis.nvisorSX111() command ?
Reply With Quote
  #2  
Old 01-07-2014, 09:30 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If you link the viewpoint to the tracker then you can use the link.preTrans and link.preEuler commands to apply position and orientation offsets between the head tracker and center point between the eyes. Use the viz.ipd command to set the interpupilary distance. The ipd value will affect the stereo separation.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom head with 3dmenow or facegen & peoplemaker Frank Verberne Vizard 4 01-17-2013 01:46 PM
Getting Position Lynnifer Vizard 1 07-16-2012 10:49 AM
getting position relative to an object fivel_lab Vizard 4 11-02-2011 08:24 PM
Awkward neck/shoulder connection when adding custom head to vcc model. vEsotu Vizard 5 10-09-2008 06:07 PM
Positioning objects: center johannes2 Vizard 2 02-12-2008 03:56 AM


All times are GMT -7. The time now is 06:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC