From: Kevin M. <ke...@vr...> - 2002-04-12 16:32:12
|
unfortunately this wont work when you have a complex scene (like walls dividing rooms). then you wont know if your geom is in front or behind a wall for example... really, you do have to do the sort. but the sort is easy with std::sort... need code? I have some. kevin On Fri, 12 Apr 2002, Lou Herard wrote: > Ok, guys, I did some fishing online, and I found out how to enable > tranparency without having to sort polygons. It does include setting the > glDepthMask variable to GL_FALSE. That way, when OpenGL goes to draw > "behind" something, it looks in the color buffer also, and it blends > properly. And sorry, I haven't gotten Tortoise CVS yet, but I will today, > infact probably right now. But you'll still have to deal with an email > attachment. MWAH-HA-HA-HA-HAAAAAAA (evil grin) > > - Lou > -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |