Masking issue with tree texture?

Blitz3D Forums/Blitz3D Programming/Masking issue with tree texture?

Guy Fawkes(Posted 2014) [#1]
Hi all. I was adding objects to my project and I decided to make a 3D tree. The problem I'm having is that if I use the parameters "2", or "4", with "LoadTexture()", then part of my tree trunk / roots disappear for some reason. The texture I use is a 24-Bit PNG texture which has a transparent background.

Here's a pic of the problem I'm having:

http://i.imgur.com/XNHZkag.png

Note: I CANNOT use EntityTexture() as the tree has more than one texture & I need the tree to load automatically.

And here's the zip file with the code as well as needed media:

http://www.mediafire.com/download/vdmia8v9uadw8e9/3D+MODEL+VIEWER.zip

For the above link, you'll have to copy & paste the zip file link as the forums messed up when I posted a long link, so I apologize for any inconveniences this may have have caused you!

Anyway, how can I fix this problem?

Here's the code:

Forest.bb:



Thank You so kindly! =)

Sincerely,

~GF


Wings(Posted 2014) [#2]
Simple put a texture filter at line 17

TextureFilter "eee.png",4
Global mesh0 = LoadMesh("test02.x")





Guy Fawkes(Posted 2014) [#3]
Wings, I could hug u XD THANK YOU! =D