Render #Sprite2D to #Sprite2D?
most computer now a days if you have a nvida card it has 2X the power of the fastest PENT3/4 or Athlon doing it in you video card should be much faster. when you ran the 3DSnow what it fast if it was pretty fast you prolly have a good video card make sure you directX is up to date
that 3DSnow has 20,000 snow flakes being updated every frame and the logo that zooms in and out plus a snow blower that blows snow
how meny graphics are trying to do at once it can't be more than that program?
Sean
that 3DSnow has 20,000 snow flakes being updated every frame and the logo that zooms in and out plus a snow blower that blows snow
how meny graphics are trying to do at once it can't be more than that program?
Sean
Soulfire is correct about the ClearScreen, the docs state it must be in between the FX commands if you are using any FX commands. I am still not able to use the 3D Fx due to it being Windows only, and Im coding for multiple platforms.
I went through the tutorials, they look great, but no help for zooming/unzooming.
That 3DSnow is quite an awesome use of the desktop
Maybe I used the wrong wording. I need to be able to resize my 2DSprite (I guess some call it zoom, but zoom is a ratio not freeform resizing). And what I need must not be platform specific, aka no API calls and no Windows only commands.
I went through the tutorials, they look great, but no help for zooming/unzooming.
That 3DSnow is quite an awesome use of the desktop

Maybe I used the wrong wording. I need to be able to resize my 2DSprite (I guess some call it zoom, but zoom is a ratio not freeform resizing). And what I need must not be platform specific, aka no API calls and no Windows only commands.
Last edited by Shannara on Fri Mar 12, 2004 12:11 am, edited 1 time in total.
Im not going to make a comment about your comparisons of PNG to BMP,.... 
Anyways, the only thing I need to do is resize a Sprite using multiplatform code. Unfortunately Fred said they he will probably not create a Sprite3D command for linux ( viewtopic.php?t=6931&highlight=sprite3d ), Someone else said thats because DirectX for windows have "native" sprite commands for such.. OpenGL for Linux solves this problem
anyways, that is all I need, some resizing..

Anyways, the only thing I need to do is resize a Sprite using multiplatform code. Unfortunately Fred said they he will probably not create a Sprite3D command for linux ( viewtopic.php?t=6931&highlight=sprite3d ), Someone else said thats because DirectX for windows have "native" sprite commands for such.. OpenGL for Linux solves this problem

anyways, that is all I need, some resizing..
hay i have to sleep now it catching up to me bad. if you want me to check out your program send me a link
goto www.3dcurrman.com and click the e-mail Dcurrier@3dcurrman.com
link
good luck and see ya later
Sean
goto www.3dcurrman.com and click the e-mail Dcurrier@3dcurrman.com
link
good luck and see ya later

Sean
are you a coder or a housewife ?Shannara wrote:what's working for me? Im still looking for a resizing code for a spriteAnyways, sleep tight.
you can get the adress of the sprite in memory, so do a bit of Peek/Poke on the buffer to create a new sprite with you needed dimension. Can not been too difficult. just my 2 cents on such discussions here
SPAMINATOR NR.1
DriakTravo wrote:This progam gave me absolutly no lag at all, but for some reason, they all have a pink background, why?Code: Select all
download this and tell me if it's slow it has 20,000 snow flakes and a translucent logo http://www.3dcurrman.com/3DSnow.zip
I think it may be your graphics card. the pink is the transparent color
shanarra, if you need *realtime* resizing it's bound to be a little slow, but if it's not real time, or not much else is going on on screen, you might be able to use the onboard windows plgblt_() function...
for non-windows, the quickest way is to resize the image non-real time, ie. before it is used at all, a neat trick is create all variations of an image while displaying a level intro etc.
then again, i haven't got a clue of what you are trying to accomplish
for non-windows, the quickest way is to resize the image non-real time, ie. before it is used at all, a neat trick is create all variations of an image while displaying a level intro etc.
then again, i haven't got a clue of what you are trying to accomplish

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )