WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-26-2005, 01:05 PM
VAmanda VAmanda is offline
Member
 
Join Date: Sep 2005
Posts: 12
Setting the viewpoint with tracking

Hi,

I'm trying to set the viewpoint while tracking using an intersense device. When I don't turn the device on, setting the viewpoint works fine, both translating and rotating it. When I am using the device, however, when I set/reset the viewpoint, it translates to the correct place, but it never rotates. Basically, it always looks at the same place, no matter what commands I give it. Is there something I am missing? Thanks.

-Amanda
Reply With Quote
  #2  
Old 10-26-2005, 01:43 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

This is because the intersense is overriding the rotation of the viewpoint. Do you want to disable the intersense rotations, or do you want to apply an offset to the intersense rotation?
Reply With Quote
  #3  
Old 10-26-2005, 01:48 PM
VAmanda VAmanda is offline
Member
 
Join Date: Sep 2005
Posts: 12
I guess I want to apply an offset. I'd still like the intersense to do the automatic tracking, but I want it to be rotated about 145 degrees from where it is right now. What's the command for that? Thanks.

-Amanda
Reply With Quote
  #4  
Old 10-26-2005, 02:02 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The viewpoint consists of a head orientation that sits on top of a body orientation. The intersense is modifying the head orientation. So you can apply an offset by changing the body orientation. If you wanted to offset the intersense by 145 degrees then you would do the following:
Code:
view.rotate(0,1,0,145,viz.BODY_ORI)
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


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


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