sprites clipped while still in view

BlitzMax Forums/MiniB3D Module/sprites clipped while still in view

jkrankie(Posted 2009) [#1]
I've noticed that sprites are clipped when their x+y origin is not in view of the camera. This causes sprites which i have scaled up to fill the screen or whatever to just flick off. Presumably this has something to do with the sprites scale not being taken into account when it's being drawn/not drawn.

Is there a quick fix to this? I could post a video i guess if you need to see it in action.

Cheers
Charlie


simonh(Posted 2009) [#2]
You need to use MeshCullRadius for scaled sprites.


jkrankie(Posted 2009) [#3]
Ah, ok. Thanks a lot :)

Cheers
Charlie