Angus Dorbie (dorbie++at++sgi.com)
Tue, 02 Nov 1999 21:21:58 -0800
You'd certainly want to ensure that you used bound volumes as an initial
test.
I expect that using performer isectors to return hit results for the
bounds of objects in the scene initially to quickly discriminate would
be the way to go before testing against vertices.
Cheers,Angus.
Dirk Scheffter wrote:
>
> Hi there,
>
> I'm just implementing a possibility to pick single vertices in my application.
>
> My plan:
> traverse the Performer tree by my own,
> extract all geodes,
> extract all geosets from each geode
> extract GS_COORD3 attribute from each geoset
> check coords. (considering transformations in path to geode)
>
> What I'm a little bit afraid about is the variety of different primitives
> (indexed or non-indexed) and
>
> A possibility would be to check bounding spheres, also, to optimize traversal.
>
> Any other ideas/any comments?
>
> pfGreetings,
> Dirk.
>
> --
> -----------------------------------------------------------
> Dipl.-Inf. Dirk Scheffter scheff++at++iff.fhg.de
> Fraunhofer IFF fon: +49 (0) 391/40 90-854
> Sandtorstr. 22 fax: +49 (0) 391/40 90-870
> D-39106 Magdeburg http://www.usg.iff.fhg.de/~scheff
> Germany
> --------< Try this: http://www.usg.iff.fhg.de/ibft/mowib >-
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Success is the ability to go from one failure to another with no loss of enthusiasm." - Winston Churchill.Performer + OpenGL examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Tue Nov 02 1999 - 21:22:08 PST