MAV on LoadTexture with alpha (1.98)
Archives Forums/Blitz3D Bug Reports/MAV on LoadTexture with alpha (1.98)
| ||
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) tex\body=LoadTexture(folder$+tex\filename$,tex\flags%) graphics card: Intel GMA900 series DirextX 9c XP SP2 |
| ||
works fine here in v1.98. the only thing i can think of is your variables could be wrong. |
| ||
My variables are fine. I suspect it's a graphics card thing. I dropped back to 1.91 and it works fine |
| ||
what textures? BMP, TGA? DXT? Did you try DXT3 or DXT5 instead? |
| ||
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. [update] Works on 1.95 Works on 1.96 1.97 failed....... so something must have borked in that version /StuC |
| ||
Do you have similar graphics cards? Strange, I didn't had this problem so far. |
| ||
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 |
| ||
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 .... |
| ||
does this mean no fix ? |
| ||
Works fine here with 1.98, Intel and ATI R9800Pro. |
| ||
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) 1.101 fine on Nvidia Go(xx) and ATI. MAV on other two. 1.91 Fine on all. Clearly something went backwards during the upgrades. Hope something gets done about it, I love B3D. |