alpha blend and alpha test mode

Panda3D use “alpha blend” mode by default, and it is no good when it renders my texture. Can I use the “alpha test” mode? thanks

You’re not giving us much information. What do you mean by “alpha blend” mode, and why is it no good? What exactly are you seeing, and what do you think “alpha test” mode will make it look like?

I put a Tree model on render, and the texture of tree is a pictrue include “alpha”. when I run panda3d, some lines have been render around the tree model. I think it is problem about “alpha” mode

I guess he meant something like this:
img4.imageshack.us/img4/1923/snapshot3s.png
img84.imageshack.us/img84/156/print10.png

You can use:
myModel.setTransparency(TransparencyAttrib.MBinary)

Yeah, this is really amazing. It work. Everything is good.