ScaleSprite bug in iminib3d

BlitzMax Forums/MiniB3D Module/ScaleSprite bug in iminib3d

jhocking(Posted 2010) [#1]
Just another quick bug report. ScaleSprite in iminib3d has a bug where it doesn't scale the bounding box used for frustrum culling. As in, if I scale a sprite really big then it pops into view when the camera finally turns to the middle of it.

This bug is easy to work around using ScaleEntity instead of ScaleSprite.


Robert Cummings(Posted 2010) [#2]
Are sprites batched in iMiniB3D, perhaps thats why its bugged...


jhocking(Posted 2010) [#3]
That's a good thought, but in this case I only have the one huge sprite with this particular texture, and the problem isn't apparent with other, smaller sprites.


simonh(Posted 2010) [#4]
You need to use MeshCullRadius to set the culling area for scaled sprites if you wish to use ScaleSprite. It's the same in MiniB3D.