WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-29-2009, 07:00 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
View point question

Hello.
I've wrtten some questions here so far and got good hints, thank you.

Now, I use HMD, and Polhemus MoCap system. Polhemus transmiter is a cube, so I made a same scaled cube in the 3D world and it is placed at (0,0,0) in world coordinate system (because the real one is at (0,0,0)) .

The HMD is "see-through". So when I use the HMD, I think I can see both the real transmitter and 3D cube. I want to see them like they are piled up through the HMD even if I move or rotate my head (they should be seen like they are at the same position and same size).

I thnik I should control camera, window, or view point or something to do that, so I've created and tried some methods for that. But I'm still confused.

I believe there're good methods for that.
Please give me some advices.

Thank you for reading.
Reply With Quote
  #2  
Old 12-09-2009, 03:11 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
It the viewpoint and the cube model you have are in the same coordinate system and you place the cube at the origin then it should appear at the position of the transmitter. If you are applying any type of scaling or other transformations to your tracking data then this could cause problems. You will need to take into account the offset of the sensor from your eyes, if there is any, to get a perfect match of the cube and transmitter. Also if the tracking is off then getting a good match will be difficult.
Reply With Quote
  #3  
Old 12-10-2009, 07:36 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
Hi, thank you for your advice.

Yes, the cube I made and the real transmitter are in the same coordinate system.
Oh I didn't have ideas about offset.
The size of the real transmitter is 10*10*10[centimeters]. So I defined the cube like this. cube=viz.add('box.wrl') cube.setScale([.1,.1,.1]) In this case, the size of my cube is 10*10*10[centimeters]??

By the way, a polhemus sensor is linked to my HMD, but it's not placed at display monitor of the HMD. It's placed at my forehead now. And then, datas from the sensor is linked to "viz.MainView".
I noticed that the sensor is oblique angle against the HMD, so I think this could cause problems. Because when I look at the front, "viz.MainView" don't look at the front.

Anyway I'll try your advices. Thank you very much.

Last edited by atamasan; 12-10-2009 at 07:41 PM.
Reply With Quote
  #4  
Old 01-11-2010, 04:59 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
I am sorry, I've got a another question.
To solve the problem I wrote above, should I change the frustum?

I think I don't have to do, but I wnat to know the truth.
Please tell me some opinion.

Thank you for reading me.
Reply With Quote
  #5  
Old 01-13-2010, 12:49 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
To get the virtual cube and transmitter to match you do not need to change the view frustum.
Reply With Quote
  #6  
Old 01-13-2010, 06:21 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
Hi Jeff, thank you for your advice.
O.K, I will not change the view frustum.

When I wear the "see-through HMD", at first I close my left eye and use only my right eye. Then the real transmitter and the virtual cube are about 90% match, but when I close my right eye, they are not match. I don't know what is the difference between
right eye and left eye.

That's why I asked you about the view frustum.
Anyway, thank you again.
Reply With Quote
  #7  
Old 01-26-2010, 12:19 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Sorry, I think I made a mistake here because changing the frustum will alter the field-of-view . You'll want to make sure that you set the fov in Vizard to match that of your hmd.
Reply With Quote
  #8  
Old 01-26-2010, 04:56 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
Hi, thank you for the reply.
Your advices are very helpful for my study.
I keep trying to solve my problem using your advices.
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
View nlfrnassimi Vizard 0 03-17-2009 02:01 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
Another question ("Flagger???") Elittdogg Vizard 6 09-10-2007 08:12 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM


All times are GMT -7. The time now is 09:09 AM.


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