View Full Version : texture map and blend

11-20-2002, 09:34 PM
hi,I am a newer of opengl. I want to make a tree with texture map. I draw two rectangles wihch intersect with 90 degree each other and texture map with a tree map. but i can't erase the fragment of nouse of the tree's image.how to set the function of glblendfun(,),how to set gltexenv() can solve it?
thanks very much

11-21-2002, 12:04 AM
take a look here:
http://ask.ii.uib.no/ebt-bin/nph-dweb/dy...fullhtml;pt=4#X (http://ask.ii.uib.no/ebt-bin/nph-dweb/dynaweb/SGI_Developer/OpenGL_PG/@Generic__BookTextView/12800;cs=fullhtml;pt=4#X)

there's also an example on how to make translucent tree