Re: [Plib-users] Semi-transparent plane
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2001-01-17 05:29:49
|
Ben Discoe wrote: > > > -----Original Message----- > > From: Martin Howard > > > > I've been struggling for about a week trying to get a > > semi-transparent plane to show using SSG. [...] > > > > it would appear that ssgSimpleState cannot achieve the > > effects on its own: I need callbacks that > > call 'glBlendFunc()' and 'glDepthMask()'. > > ssgSimpleState would be just fine for your translucent object, if it worked. > That class, and material properties in general, are not actually functional > in PLIB/SSG. Well, if that's true then it's something someone has broken quite recently. I use this stuff all the time and it works OK for me. > If you look at the applications using SSG, you'll see that the majority of > them use entirely textured objects - the underlying material usually being a > solid white per-vertex color, the only kind of color supported by SSG. That's not true. Look at TuxAQFH for example. The spaceship on the 'moon' level, the waterfall in the training level, the glass cube on the race level, etc all work just fine. > For actual use of material properties, including translucency, you may want > to look at other scene graph APIs, such as OSG, > http://www.openscenegraph.org/ Ben: Please check your facts before advising people to use other libraries. If you hate PLIB that much - get the heck off the mailing list. -- 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 http://freeglut.sourceforge.net |