Page 1 of 1

Render a Sprite3D onto a sprite or image

Posted: Fri Apr 14, 2006 11:02 am
by netmaestro
Afaik, PureBasic doesn't currently allow for any output of a Sprite3D to anything but a DX screen. It would be very useful if the UseBuffer() command would allow for a Sprite3D to be displayed to another sprite, same as you can do with a 2D sprite. The displayed image on the 2D sprite would no more be usable as a 3D sprite, but who cares? I just want the rotated/zoomed/transformed image. Something like a SaveSprite3d() command would also be quite useful.

It is possible to accomplish the task now, you just have to go a slightly roundabout way with DisplaySprite3D() and GrabSprite(), followed by SaveSprite() and it all takes place on the backbuffer where nobody sees it if you don't FlipBuffers(). But a couple direct commands would wrap it all up nice and neat.

Posted: Fri Apr 14, 2006 5:01 pm
by THCM
Very good request! Thumbs up!

Posted: Tue May 02, 2006 10:53 am
by Psychophanta
I second that request!

Posted: Tue May 02, 2006 9:39 pm
by Shannara
I third that request