From: Brian Furtaw (brian++at++sgi.com)
Date: 12/14/2001 14:07:14
William
Use the pfChannel::setViewMat(pfMatrix &) method or
pfChanViewMat(pfChannel *, pfMatrix) in C I believe.
Brian
William Sherman -Visualization wrote:
> Performers,
>
> I'm wondering if there is a way to directly specify a perspective
> matrix. I have some code that creates a 4x4 perspective matrix
> based on eye position, etc., and would like to use this in
> Performer applications. The only thing I can really find is
> the ability to set the frustum using pfChannel::makePersp(),
> or pfMakePerspChan() in C.
>
> I know I'll have to adjust for Performer's Z-up-ness, but I'm
> hoping to otherwise use my existing code.
>
> Thanks,
> Bill
>
> /*************************************************************************/
> /* Bill Sherman (wsherman++at++ncsa.uiuc.edu) */
> /* National Center for Supercomputing Applications */
> /* University of Illinois at Urbana-Champaign */
> /* Og - "You want to do mankind a real service? Tell funnier jokes" */
> /* Spinner - "but facts don't always reveal the truth" */
> /* Robin - "Yeah, but I always figure that's the writers' fault" */
> /*************************************************************************/
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612
Graphics Guru Office:(301)572-3293 Fax: (253)323-8182
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers
This archive was generated by hypermail 2b29 : Fri Dec 14 2001 - 14:12:29 PST