Re: Depth buffer vs back-to-front sorting?

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 02/29/2000 17:21:16


The Performer method is more accurate for the general case.
It seems that you have a contrived example in mind where your test
produces better results, (planes parallel to eye space planes of equal
z) but for the general case of flying through a complex world the range
method is better.

For instance your method would be desirable for sorting trees which were
billboarded to the channel forward viewing vector, the Performer method
is better for sorting billboarded trees which billboard to a local
viewer vector to each individual tree.

Unfortunately it is not an option for you to change this, the sort is an
internal Performer algorithm.

Cheers,ANgus.

Scott Herod wrote:
>
> Hello,
>
> I have another question about drawing order and the relationship
> to the depth buffer. If I have a symmetric, prospective pfChannel
> and draw a rectangular geoset that is perpindicular to the frustum's
> axis, the depth buffer is filled with a rectangle of constant
> values. ( It's easy to check and is essentially similar triangles. )
>
> On the other hand, depth sorting of transparent geosets seems to
> be done by computing the Euclidean distance between the centers of
> the geosets' bounding spheres and the eye-point.
>
> Why isn't depth sorting of geosets computed so that iso-surfaces
> are planes parallel to the front and rear clipping planes as is the
> case for filling the depth buffer rather than concentric spheres?
> Is is easy to change the sorting algorithm?
>
> Thank you.
>
> Scott Herod
> herod++at++rtset.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 15 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 : Tue Feb 29 2000 - 17:21:30 PST

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