Nacho Sanz-Pastor. Computer Arts + Developments (nacho++at++comarts.es)
Thu, 15 Jun 1995 10:20:11 -0700
OK, but make sure because it can affect not things on the current frame, but
on the next frame drawn too. I'm sorry to insist, but I've spent long nights
saying 'I reset all, can't be' to later find something left that screwed
everything up :)
> Yes this is what I want, but how can I say from the channel draw call-back
> to draw just these polygons, and then to draw them again for the second
> pass, and then to draw everything else? pfDraw() just does the lot. I
> can't even find out how to access the display list that the cull process has
> created and passed on to the draw process.
>
> The only thing I can think of is to have a second channel with a second
> scene graph containing only those things that must be drawn twice. Does
> this sound reasonable?
>
This is more or less what we do. Maybe it'd be more efficient to have
switches on a single scene and choose with callbacks or on the second predraw.
The hard part, anyway, is to decide what is lit and what is not. 2.0 app
traversals could help you.
> > Michael Jones and John Rohlf wrote the Performer shadowed
> > Orchidea-hat-stick-chair ...
>
> The what? Is this code available somewhere?
You can see a photo of it on the Siggraph 94 paper about Performer. (
Siggraph 94 proceedings ).
Don't know if the source is around, check with them.
>-- End of excerpt from Robert Webb
--
----------------------------------------------------- mb$$m
Nacho Sanz-Pastor b$" $"$""$$b,
Email: nacho++at++comarts.es |$P $P Pm `$Pb
------------------------------------------------------ $| $ P, `|P,
Computer Arts & Developments Phone: ++ 34 1 3572751 "$ P P `b$
Anita Vindel,10 ++ 34 1 3572752 "PPPP | ,P
Madrid 28023 SPAIN Fax : ++ 34 1 3070339 $bmm1"
--------------------------------------------------------------------------------
Computer Arts & Developments Visual Simulation Group
An asteroid has crashed on Earth, and the Dinosaurs are close to being extinct
--------------------------------------------------------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:35 PDT