From: Max G. <gi...@li...> - 2000-05-18 22:30:45
|
Andy wrote: > I've narrowed it down to the glPushMatrix and PopMatrix calls in > drawRects when using GL_SELECT mode, but don't have a clue as to why. Rule of thumb is to use matrix pushing and popping symmetrically and then everything has to be OK. Note that in MODELVIEW modes matrix stack has at least 32 entries on stack but in other modes it can be as little as 2 entries. And probably faster is to always use name loading while rendering instead of checking for condition. If you still don't know what's up, send me runnable class source (zipped of course). Bye, Max -- Max Gilead (gi...@li...) http://3d.linart.krakow.pl/OfficinaArtificialis ----------------------------------------------------------------------------- -- Why is it that all of the instruments seeking intelligent life in the -- -- universe are pointed away from Earth? -- |