Re: [plib-users] Hidden Line Removal
Brought to you by:
sjbaker
From: Devrim E. <de...@in...> - 2000-11-27 12:55:22
|
> Pass 1: Render all the geometry in completely transparent polygons > ...make sure you have glAlphaFunc set so that the DO actually > render. As an alternative, you could draw the scene with it's > 'normal' alpha values - but tell GL to mask off the colour planes. > > Pass 2: Use glPolygonOffset to move everything a tad closer to the eye > and then re-render the geometry in wireframe mode. If I was doing pure opengl I would draw two passes sequentially. But while using a scene graph where shall I do the first and the second pass ? I am planning to draw 1st pass in a predraw and set the state for the second pass at the end of the predraw func. This way draw function will automatically do the second pass. I wonder how do PLIB'ers do multipass rendering normally. > > > The first pass sets the Z buffer as if it had been drawn normally - the > second pass does the actual rendering of the wires - which will be occluded > by the polygons in the first pass. > > > BTW, the list is now at: > > pli...@li... > > While you are writing to woodsoup. Is the woodsoup-list still open? > > Well, I've had no success in getting the Woodsoup maintainer to shut > them down...so probably they are still running. However it's unlikely > anyone could find them because the Woodsoup website just redirects you > to our usual Slashdot location. I suppose some older Linux CD's still > tell you to send queries to Woodsoup - it's hard to do anything about > that. I suppose that's a good reason to let the Woodsoup mailing lists > live - we can at least tell people where they *SHOULD* be subscribed. > > > -- > Steve Baker HomeEmail: <sjb...@ai...> > WorkEmail: <sj...@li...> > HomePage : http://web2.airmail.net/sjbaker1 > Projects : http://plib.sourceforge.net > http://tuxaqfh.sourceforge.net > http://tuxkart.sourceforge.net > http://prettypoly.sourceforge.net > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users -- /*=============================================== M. Devrim Erdem de...@in... Software Engineering info(+)TRON, Turkey Tel: +90 216 4921002, Ext 138 Fax: +90 216 3432132 Http://www.infotron.com.tr Http://www.machsim.com/devrimerdem ===============================================*/ |