Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Render to texture, Drawing Rect, expose Matrix  (Read 21349 times)

0 Members and 2 Guests are viewing this topic.

bullno1

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Render to texture, Drawing Rect, expose Matrix
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Render to texture, Drawing Rect, expose Matrix
« Reply #1 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.
Laurent Gomila - SFML developer