Calling pfDraw twice....

New Message Reply Date view Thread view Subject view Author view

Nils Thune (thune++at++cmr.no)
Fri, 18 Mar 1994 18:40:50 +0100


How can one render objects in the pfScene to the same frame number when the
objects are located in different parts of the view frustrum, separated by a
delta view voulme in which objects should not be rendered?

| NearPlane=1.0 FarPlane=100.0 NearPlane=500.0 FarPlane=10000.0
| | | | |
| | | | |
----> |--------------------------------------------------------------------
| | | | |
| | | | |
| Draw objects No drawing Draw objects
View direction
and viewplane

Basically I want to do the following:

        0. Clear channel.
        1. Cull scene against the view volume defined by near=1.0, far=100.0.
        2. Draw the objects which were not culled, i.e. the display list.
        3. Cull scene against the view volume defined by near=500.0, far=10000.0
        4. Draw the new objects which were not culled, i.e a new display list.
        5. Swap buffers, and start over at 0.

How can this be done?

- Nils

--------------------------------
Nils Thune
Advanced Computing
Christian Michelsen Research
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway
Email: thune++at++cmr.no
Phone: 55 574040
Phone: 55 574355 (Direct)
Fax : 55 574041
--------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:12 PDT

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