Re: [Plib-devel] Texture and blend modes
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-08-21 23:15:51
|
"Curtis L. Olson" wrote: > Question ... in the man page GL_DEPTH_TEST and GL_FOG are both listed > under multiple "bits". Does this mean I can pick one or the other? > Do I need all of them? One or the other. They are supposedly grouped into 'helpful' subsets of the full OpenGL state because there is generally some cost to doing a push/pop for some of the attributes - so it's best to deal with the MINIMUM set. > The prototype for glPopAttrib() is "void glPopAttrib( void )". My > understanding is that it just takes the top thing off the stack and > restores which ever states had been previously pushed there. Yes. > My code doesn't work though ... this could be due to: > > a) my misunderstanding of how these things really work. > > b) $#@$#@ mesa bugs > ^^^^^^ -> is this ok for the .mil filter? :-) Yes - so long as you don't say things like "President Assassination Bomb Threat Terrorism Iraq" because that sets off their autodetection circuits and forces some hapless individual to have to *read* the mail personally. <wave> Hi! </wave> :-) > But, I haven't seen mesa break this badly before so perhaps (a) is > more likely? Well, as I explained in my last email - although you have basically the right idea - the devil is in the details - but I do know for sure that Mesa *has* had problems with some combinations of glPush/PopAttrib. Try the extra getState()->apply() - and if *that* doesn't fix it then you are probably looking at a Mesa error. -- 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 |