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?
|
The vizmat library includes commands for calculating angles and other mathematical operations. Can you describe further what you mean by visual angles?
|
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? |
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.
|
All times are GMT -7. The time now is 10:08 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC