From: Sven G. <sgo...@ja...> - 2000-01-26 13:30:08
|
Pontus Lidman wrote: > In the example stencil.c that comes with the Mesa distribution, there is > an example of having an 8 bit stencil buffer. However, the example calls > glutInitDisplay(GLUT_RGB|GLUT_SINGLE|GLUT_STENCIL), so I guess one must do > some initialization, as you say with glEnable(GL_STENCIL). You could > implement it the same way as the current "doubleBuffer=true", i.e., > "stencilBuffer=true" in the users' preInit() method. > > Regards, > > Pontus > So this is a thing about display properties, to being implemented within the X/GLX part - like STEREO_VIEW and DOUBLE_BUFFERING ?! This kind of initialisation is if course different to glEnable(GL_STENCIL). Well I will check this out next 28/29 Jan 2000 or 4/5 Feb 2000 ! Others are welcome to implement this piece of code. Thanxs, Sven > -- > Pontus Lidman, po...@ma..., Software Engineer > No matter how cynical you get, it's impossible to keep up. > Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/mailman/listinfo/gl4java-usergroup -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |