From: 'Bwana' Bob Buckley (BBuckley++at++JNTF.osd.mil)
Date: 02/16/2000 12:26:29
Got it .. I think. :)
I went in and set the viewpoint to a large enough value (-y) as to cause
the range computation to be an approximate depth computation. Just ball
parking numbers right now. Also had to set the near and far planes as
well. Since it's an ortho projection, setting the viewpoint doesn't
effect the final image - just the back-to-front sorting order for
transparent pfGeoSets.
Gordon Tomlinson wrote:
>
> HI Bob
>
> You could create your own channel draw bin
> and add you geometry to it ( pfGSetDrawBin)
> and then sort this bin by setting the bin
> draw order of the geosets ( pfGSetDrawOrder )
>
> 'Bwana' Bob Buckley wrote:
> >
> > I have a channel that is setup as an ortho projection for map rendering.
> > I add both opaque and transparent objects into the scene for this
> > channel. The sorting order for the transparent bin is back to front
> > based upon the distance from the viewpoint to the center of the bounding
> > sphere of each object. My problem is the sorting is done on range not on
> > depth. In my application I have no way of designating a particular
> > projection for an object. Hence, no way to specifically zero out the x
> > and z values of the bounding volumes center. Anyone know how to get a
> > depth (Y axis) sort out of Performer? Any cheap and dirty ways to handle
> > this situation?
> >
> > Thanks.
>
> --
>
> Gordon.
>
> ______________________________________________________________
>
> Gordon Tomlinson | Multigen - Paradigm Inc
> Vega Software Engineer | Suite 400, 14900 Landmark Blvd
> Email: gordon++at++paradigmsim.com | Dallas, Texas 75240, USA
> Tel: 972 960 2301 | Fax: 972 960 2303
> ______________________________________________________________
>
> 'Smoke me a kipper, I'll be back for breakfast'
> ______________________________________________________________
>
> NOTE:
> All opinions here within this email are solely mine and DO NOT
> reflect those of MultiGen Paradigm or any other employee.
This archive was generated by hypermail 2b29 : Wed Feb 16 2000 - 12:29:12 PST