Re: [info-performer] using frustum to speed up collision detection

New Message Reply Date view Thread view Subject view Author view

From: Goncalo Carvalho (g.carvalho++at++gsa.ac.uk)
Date: 03/24/2003 05:32:21


Hey,

If you're using Performer 2.5 or above you can also use pfCullProgram.

You can find samples of how to use it in the Performer distro.

Goncalo

> I've tried to find a way to do the same thing with Performer but the only
> way I've found is to define a pfFrustum, check if each pfGeoSet bbox of
> the model is inside/outside the frustum and set the intersection mask to
> 0xfffffff if the bbox is partially or totally inside the pfFrustum and to
> 0x000000 otherwise, before the intersection test occurs.
> Can you please suggest me a better solution? (I'm not so skilled in
> Performer and I'm a bit late with my work!)
>
> Thank you!

-- 
Goncalo Carvalho
Digital Design Studio - Glasgow School of Art
House for an Art Lover - Bellahouston Park
10 Dumbreck Road 
Glasgow G41 5BW
United Kingdom

Tel: +44 (0) 141 353 4616 Fax: +44 (0) 141 353 4422 Mobile: +44 (0) 7766 295867 mailto:g.carvalho++at++gsa.ac.uk


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Mar 24 2003 - 05:38:20 PST

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