Re: Viewing Volume

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Mon, 18 Dec 95 12:23:53 PST


>
>
> Hi Everyone:
>
> I'm trying to write some code to manipulate the viewing frustrum. I would
> like to pitch the near plane. Using the pfFrustNearFar() call always set
> the near plane perpendicular to the view location and direction.
>
> Is this possible?
>
>
> Eye
> +Z \
> | ------ Near
> | \
> | \
> | \
> +---------L----------------- +Y
> | \
> | ------------------ Far
> |
> |
> -Z
>
> ( L is what I'm looking at.)
>

        Use pfMakePerspFrust (or pfMakePerspChan) to make off-axis
frusta like the diagram above. pfFrustNearFar() doesn't really *set* the
near plane perpendicular to the view location and direction, rather the
distances you pass it are interpreted as if they are perpendicular to the
viewing plane.

         


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:09 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.