MAV on LoadTexture with alpha (1.98)

Archives Forums/Blitz3D Bug Reports/MAV on LoadTexture with alpha (1.98)

bye(Posted 2006) [#1]
Kinda hard to be sure, since I'm working with my own model format, but on B3D 1.98, when loading a texture with flag 2 (alpha) it MAV's out on the loadtexture command.

I dropped back to 1.91 and it works fine. (not tried other updates, so I've no idea when this came about)

I know this code is useless, but the flag is 2, and the filename is fine... (oh and the texture is ^2)

graphics card: Intel GMA900 series
DirextX 9c

markcw(Posted 2006) [#2]
works fine here in v1.98. the only thing i can think of is your variables could be wrong.

bye(Posted 2006) [#3]
My variables are fine. I suspect it's a graphics card thing.

I dropped back to 1.91 and it works fine

jfk EO-11110(Posted 2006) [#4]
what textures? BMP, TGA? DXT? Did you try DXT3 or DXT5 instead?

Stu_ovine(Posted 2007) [#5]
I can confirm we have just found the exact same problem. Seems to happen when a few other sprites are loaded first.

Global smokeSprite =LoadSprite ("sprites\gradball.png",1+2)

Dropping down to 1.91 has cured the problem ... I shall try a more uptodate version see when it breaks.

Works on 1.95
Works on 1.96
1.97 failed....... so something must have borked in that version


jfk EO-11110(Posted 2007) [#6]
Do you have similar graphics cards?

Strange, I didn't had this problem so far.

Stu_ovine(Posted 2007) [#7]
If I just load the single sprite it there is no error. Personally I dont have one of these cards so Im I have to rely on others to test but it might be related to doing a copyentity just before it.

If someone can test (I will send some tests to the guy later)

graphics32 800,600,32,0
Global sprite1 =LoadSprite ("sprite.png",1+2)
Global copyofasprite = CopyEntity(sprite1)
Global smokeSprite =LoadSprite ("sprites\gradball.png",1+2)  <--- MAV here

Stu_ovine(Posted 2007) [#8]
Im having to release 2 EXEs' one for the INtel people (veriosn 1.96)

and the rest using 1.98 - as 1.96 is having issues with Nvidia cards ....

Stu_ovine(Posted 2007) [#9]
does this mean no fix ?

lo-tekk(Posted 2007) [#10]
Works fine here with 1.98, Intel and ATI R9800Pro.

TieBender(Posted 2009) [#11]
I tested alpha loadsprite and loadtexture with 1.101 and compared it with 1.91 on a netbook (Lenovo S12, intel 945 chipset and a Lenovo with Nvidia Go(xx) and stationary with Nvidia 8800gts and ATI HD 4890)

fine on Nvidia Go(xx) and ATI.
MAV on other two.

Fine on all.

Clearly something went backwards during the upgrades.
Hope something gets done about it, I love B3D.