Sprites

Archives Forums/Blitz3D Bug Reports/Sprites

Warner(Posted 2010) [#1]
I'm using Vista, and I have a terrible videocard: Sis Mirage 3.
Sprite don't work on my machine. I get an error on RenderWorld when using LoadSprite() with a non-power-of-two image, and I get no image when I use an image 64x64.
Example:
graphics3d 800, 600, 0, 2
setbuffer backbuffer()
cam=createcamera()
moveentity cam,0,0,-5
sprite=loadsprite("test.bmp")
repeat
 renderworld <--------mav both release and debugmode
 flip
until keyhit(1)



Neochrome(Posted 2010) [#2]
try

cam%=createcamera()
and
sprite%=loadsprite()

might be possible that your getting some strange floating numbers.


Fernhout(Posted 2010) [#3]
I had the same problem with the sprites. But i did discover a strange behavour. When is did use a uneven number for the sprite the sprite was showing o.k..
Then (i do not know where it was) on a forum site i read that Vista accept DirectX update till version DIRECTX 9c Sept 2008 version. And that version was buggy. If you will search your compter for the Direct X version it wil thell you that you have version 0.0. And that some 3D command are not good translated to your card.

Try to download a DIRECTX version that is a SDK version E.G. version 10.

In time i did got a new computer with Windows7 and the problems are gone. So i can not help you any more than i know now.