WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
  #1  
Old 11-21-2005, 03:28 PM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
Exaggerated Motions

I'm trying to create a VR simulation in which the user's hand motions (tracked by a ppt light) are exaggerated in some way that is more complicated than simply scaling the motion. For example, the user's hand could seem elastic, allowing her to stretch her arm towards a target. I was wondering if anyone has done something similar and could offer any advice.

Thanks,
Ben
Reply With Quote
  #2  
Old 11-22-2005, 12:10 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I'm not sure exactly what kind of exaggeration you want. You can create points which have some sort of gravity and will pull the hand towards them with a force depending on the distance. This might be what you are looking fore. I have a sample script which demonstrates a simple version of this. Let me know if you would like it
Reply With Quote
  #3  
Old 11-23-2005, 12:23 AM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
If you could please send the example script to bents@stanford.edu it would be greatly appreciated.

-Ben
Reply With Quote
  #4  
Old 11-23-2005, 06:46 AM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
Simulating a spring-dashpot system sounds like exactly what you're looking for. Doing so with a tracked PPT light like you suggest should be easy to accomplish. You can no doubt google and find lots of examples and sample equations. You should watch out for instabilities and osciallations which will happen if you don't balance the spring and dashpot constants correctly.
Reply With Quote
  #5  
Old 11-23-2005, 10:22 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I've attached the sample script to this post. The white ball represensts the real world location. The red ball represents the exaggerated location of the white ball. The green balls represent the objects that pull the red ball with a certain weight.

As tobin already mentioned, you will have to do some extra work to get rid of oscillations and other artifacts. This is just a basic version that shows the general concept.
Attached Files
File Type: zip testscalemovement.zip (693 Bytes, 482 views)
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 11:46 AM.


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