Re: Visible triangles in a scene

New Message Reply Date view Thread view Subject view Author view

Simon Gerblich (simong++at++acres.com.au)
Thu, 07 Jan 1999 10:23:22 +1030


Hi,

Take a look at glFeedbackBuffer. You can use it to get back a list of
all of the polygons in the visible scene. You can then go through each
polygons vertex list and see its x, and y value and its depth and color
value.

Simon

> Hi,
> I want to know whether there is an easy way
> (or a way at all) to find which all triangles are visible
> (at least partialy) in a scene, given a model, viewpoint and direction.
> There are of course methods to intersect line segments of different
> lengths for each pixel, check the closest point, find the corresponding
> triangle etc. That seems to take too long to compute for each view.
> I want to know if there are any faster ways taking advantage of
> some Performer feature or other ...
>
> Thanks in advance!
>
> Anoop.
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
================================================                      
Simon Gerblich
Acacia Research          Phone    (08) 8272 9455 
153 Greenhill Road       Fax      (08) 8272 6899 
Parkside SA 5063         Int.  +61  8  8272 xxxx 
         mailto:simong++at++acres.com.au
================================================

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Jan 06 1999 - 16:40:08 PST

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