spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

vllook_at


NAME

    vllook_at  -  Define a viewing transformation

SYNOPSIS

    #include <parvox.h>

    void vllook_at(float eyeX, float eyeY, float eyeZ, float gazeX, float gazeY, gloat gazeZ,
                           float upX, float upY, float upZ)


DESCRIPTION

    vllook_at() creates a viewing matrix derived from an eye point, a gaze point indicating the center of the scene, and an up vector.  The matrix maps the gaze point to the negative z axis and the eye point to the origin.  The direction described by the up vector projected onto the viewing plane is mapped to the positive y axis. The up vector must not be parallel to the line of sight from the eye to the gaze point.   The current matrix is multipled by this viewing matrix, with the product replacing the current matrix.

SEE ALSO

    vlmatrix_mode, vlviewport


 BACK TO INDEX
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/API/vllook_at.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:43:35 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech