scaling images realtime???
Blitz3D Forums/Blitz3D Beginners Area/scaling images realtime???
| ||
| I have seen other posts that mention that blitz3d has a way of scaling images (not using scaleimage, resizeimage, or any dlls) in real time??? Is this true? If so I have been missing out on a lot... |
| ||
| There was a lib that did this, using 2d commands, but it replaced the 2d command set. The only other way is to use a 2d in 3d lib, like nSprite 2 or sprite candy. |
| ||
| You could also try the fast image lib, detailed in the blitz3d user lib part of the forum. |
| ||
| You can always use sprites in 3D like sprite candy does. |
| ||
| okay thanks for clearing that up. :) |
| ||
| Well not really in real-time, but there is always a fast scaling routine. Just that nobody would use it anymore since you can get cycle speed using the 3D Hardware. |
| ||
| Sorry, i agree. I though that said rotate for some reason... Anyway, copyrect can produce a decent sclaing, and pretty fast too! |
| ||
| how do you scale with copyrect I could never figure that out? |
| ||
| You can scale with copyrect? o_O |
| ||
| I`d be interested in knowing how this is done too. Jason. |
| ||
| okay Ross C Out with the secret! there seem to be a lot of people besides me who didn't know you could do this. :) I also couldn't find it in the code archives :( |
| ||
| found the code for copyrect scaling :) |
| ||
| Cool, thanks. That`s a great tip to know for the future. Jason. |
| ||
| That's the one! It works by copying a line of pixels, into two lines of pixels. Then it copys in the other direction, downwards. I'm sure that's how it works :o) |