Support:Parallax

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:39, 22 May 2015 (edit)
Headus (Talk | contribs)
(Externally Driven Viewpoint)
← Previous diff
Revision as of 07:43, 22 May 2015 (edit) (undo)
Headus (Talk | contribs)
(Defining Panoramic Background)
Next diff →
Line 19: Line 19:
[[Image:Pano.jpg|right|thumb|Pano Parameters]]On plyview command line: [[Image:Pano.jpg|right|thumb|Pano Parameters]]On plyview command line:
- -pano,<spin>,<min>,<max>+ -pano,<spin>,<min>,<max>,<file>
spin : spin dome around in degrees spin : spin dome around in degrees
min : done starts here in degrees min : done starts here in degrees
max : done ends here in degrees max : done ends here in degrees
 + file : filename of 360 panoramic photo
== Externally Driven Viewpoint == == Externally Driven Viewpoint ==

Revision as of 07:43, 22 May 2015

Contents

Defining Panels Geometry

Panels Parameters
Panels Parameters
On plyview command line:
 -panels,<width>,<height>,<depth>,<base>,<scale>

 width  : of display panel in mm
 height : of display panel in mm
 depth  : distance between front and back panels
 base   : offset of panels from ground plane
 scale  : scale panels up or down to suit mesh size

Default settings:

 -panels,296,475,401,375,2

Defining Panoramic Background

Pano Parameters
Pano Parameters
On plyview command line:
 -pano,<spin>,<min>,<max>,<file>

 spin : spin dome around in degrees
 min  : done starts here in degrees
 max  : done ends here in degrees
 file : filename of 360 panoramic photo

Externally Driven Viewpoint

On plyview command line:

 -driven,<file.txt>

Then write values into the named text file from other applications:

 <azimuth-degrees> <inclination-degrees> <distance-mm> <object-spin-degrees>

For example:

 120.4 10.2 3232.4 77.4
Image:warning.jpgI think distance here would be in the original object scale, so if the panels to object relative scales have been adjusted (see above) then this distance could possibly need to be adjusted. For example, if the panels scaling factor is "2", then multiply the real eye distance by that factor for use in the driven file.

Forcing Next Pose

Write next pose number into a file called blend_next.txt. File will be deleted when that pose becomes active, so driving application can look for that if required. If no new blend_next.txt file is created, viewer reverts to random pose selection.