SFML community forums

General => Feature requests => Topic started by: bullno1 on October 10, 2008, 02:22:04 pm

Title: Render to texture, Drawing Rect, expose Matrix
Post by: bullno1 on October 10, 2008, 02:22:04 pm
Render to texture is really necessary to achieve some cool effects like motion blur or trail.

Is it possible to make all sf::Drawable to expose their drawing area as a Rect so that I can implement culling?

I also need the transformation matrix to be exposed(set getMatrix to public) because I need to "attach" some a sprite to another. The attached sprite coordinate will be relative to the absolute one of the carrier. I can use a separate matrix for that but it would be better if the original matrix is exposed.
Title: Render to texture, Drawing Rect, expose Matrix
Post by: Laurent on October 10, 2008, 03:19:25 pm
You 2 first requests are already in the roadmap.

The last one needs a little bit of reflexion ;)

Thanks for your feedback.