WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2016, 01:37 PM
lklab lklab is offline
Member
 
Join Date: Mar 2015
Posts: 20
How do I calculate visual angles of objects in vizard?

I am using the DK1 Oculus rift. How can I calculate the visual angles of objects in the scene?
Reply With Quote
  #2  
Old 04-13-2016, 10:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
The vizmat library includes commands for calculating angles and other mathematical operations. Can you describe further what you mean by visual angles?
Reply With Quote
  #3  
Old 04-16-2016, 09:08 AM
lklab lklab is offline
Member
 
Join Date: Mar 2015
Posts: 20
From wikipedia: "The visual angle is the angle a viewed object subtends at the eye, usually stated in degrees of arc. It also is called the object's angular size."

Heres a diagram:
https://upload.wikimedia.org/wikiped...onDefs.svg.png

Basically I want to find the perceived size of an object in terms of angle occupied in the visual space. I wasn't sure how to calculate this because I don't know how vizard calculates each screen or how the oculus may distort things.

Also, is there an easy way to measure how big an object in vizard is?
Reply With Quote
  #4  
Old 04-18-2016, 05:52 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
You can use vizmat.Distance to calculate the distance from the viewpoint to an object and node.getBoundingBox to get the dimensions of an object.
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
Motion Builder + Vizard Objects ForeverBound Vizard 1 04-01-2015 03:49 AM
Interaction of vizard objects with an imported obj file sunil.nair Vizard 2 10-09-2013 02:08 PM
Picking up Vizard Objects on mouse down with collisions pwsnow Vizard 2 09-17-2012 02:02 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 10:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM


All times are GMT -7. The time now is 04:53 PM.


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