Sprite3D - Hard Methode

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Sprite3D - Hard Methode

Post by GPI »

I found again a programm, that use sprite3d but don't take care about the limits of the function.

So my suggestion: When a sprite3d is used not in one of the recommed resolution (256x256 and so on), it should ALWAYS draw white blocks or should crash/debugger stop.

When everyone have the problem, everyone will take care about it!

GPI

Edit: ClipSprite has the same problem, when the sprite is bigger than the screen (it seems, that only the width makes problems...)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2139
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

1) At least a debugger warning should be useful.

2) A note about clipsprite restrictions is already added to the v3.90 manual. :wink:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Andre wrote:1) At least a debugger warning should be useful.

2) A note about clipsprite restrictions is already added to the v3.90 manual. :wink:
For both stand the limits in the manual, but it seems, that nobody read the manual. And when nobody take care about it, because on his system it runs perfekt...
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Well, my system ALWAYS had problems with 3d sprite sizes which are not 128*128,256*256,512*512 and so on... Well, my GFX card is over six years old now... but it still works perfectly!

However, i totally agree that there should be a debugger warning and a HUGE and triple underlined warning in the manual about this. Or implement a duty resize which automatically resizes the loaded sprite if it doesn't fit... :twisted:
The truth is never confined to a single number - especially scientific truth!
Post Reply