Support:Parallax

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:36, 25 May 2015 (edit)
Headus (Talk | contribs)
(Externally Driven Viewpoint)
← Previous diff
Revision as of 04:57, 25 May 2015 (edit) (undo)
Headus (Talk | contribs)
(Externally Driven Viewpoint)
Next diff →
Line 32: Line 32:
-driven,<file.txt> -driven,<file.txt>
-Then write values into the named text file from other applications, adding an optional second line for secondary viewer:+Then write values into the named text file from other application, adding a second line for secondary viewer:
<inclination-degrees> <azimuth-degrees> <distance-mm> <object-spin-degrees> <inclination-degrees> <azimuth-degrees> <distance-mm> <object-spin-degrees>
<inclination-degrees> <azimuth-degrees> <distance-mm> <inclination-degrees> <azimuth-degrees> <distance-mm>
 +
 +If there's no second line, a standard (non-parallaxed) view is assigned to the non-facing panels.
For example: For example:

Revision as of 04:57, 25 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 application, adding a second line for secondary viewer:

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

If there's no second line, a standard (non-parallaxed) view is assigned to the non-facing panels.

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.