WorldViz User Forum How do I calculate visual angles of objects in vizard?
 Register FAQ Search Today's Posts Mark Forums Read

#1
04-13-2016, 01:37 PM
 lklab 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?
#2
04-13-2016, 10:20 PM
 Jeff 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?
#3
04-16-2016, 09:08 AM
 lklab 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:

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?
#4
04-18-2016, 05:52 AM
 Jeff 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.

 Thread Tools Display Modes Rate This Thread Linear Mode Rate This Thread: 5 : Excellent 4 : Good 3 : Average 2 : Bad 1 : Terrible

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements Vizard Precision Position Tracker (PPT) Plug-in development

 Similar Threads Thread Thread Starter Forum Replies Last Post ForeverBound Vizard 1 04-01-2015 03:49 AM sunil.nair Vizard 2 10-09-2013 02:08 PM pwsnow Vizard 2 09-17-2012 02:02 AM farshizzo Vizard 0 02-01-2011 10:46 AM Jeff Vizard 0 03-23-2009 11:13 AM

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