Re: Clip Planes

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 02/02/2000 13:39:50


Clipping is a part of the OpenGL implementation. Performer knows nothing
about the geometric result.

You'd have to use a discriminator to test the hit point against the
plane equation and reject or accept the result accordingly.

Cheers,Angus.

ramey wrote:
>
> Anyone have any idea if Performer can use clipping planes? I know I can
> add a draw call back and enable a few glClipPlanes, but unfortunately
> this won't stop performer from intersecting with geometry that I told
> the Draw process to throw out.
>
> It would be nice if I could clip the SceneGraph BEFORE the Isect process
> takes a copy of the SceneGraph.
>
> We were thinking of adding some sort of discriminator callback to remind
> the ISECT that certain portions of the Scene Graph are actually
> invisible, but I was hoping there might be a better way.
> --
> "Haven't you heard? We come in six packs now." -Zaphod Beeblebrox
> Larry E. Ramey
> ramey++at++de-solutions.com
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/
My comment on the abuse of Jon Johanson's rights;
After giving up raiding their neighboring countries the Norse men
have taken to raiding 16 year old kids in their bedrooms. Very sad.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 02 2000 - 13:40:04 PST

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