Ran Yakir (rany++at++rtset.co.il)
Sat, 08 Feb 1997 04:47:10 -0800
What would be the best way to control multiple draw passes of a specific
node(s) ? What I want is to decide (per frame) that this node is to be
drawn twice or more. I don't want to call pfDraw() multiple times,
because it will draw the whole thing. Though it is possible to instance
the node on my scene graph, it is not the solution I want. Instancing a
node does not instane all the transformations and switches etc. above
it, and that could cause the second pass to look different from the
first.
Any ideas ?
Maybe this could be a nice addition to Performer's API. You could have a
pfNodeTravMode function of pfNodeMPassMode that will set the number of
passes for a specific node, and some parameters for the multipass (like,
when to draw the second pass - right after the node gets drawn, or at
the end of the normal scene).
Ran
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | 28 Ben Gurion St.
/ )_ (_(_) ) \/ (_(_/<_(_)( | Hod Hasharon 54200
_/ | Israel
-------------------------------------+--------------------------------
At Home : | At Work :
| RT-SET
Voice : +972-9-7489974 | Voice : +972-9-9552236
Fax : +972-9-7422149 | Fax : +972-9-9552239
E-mail : rany++at++netvision.net.il | E-mail : rany++at++rtset.co.il
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:36 PDT