SFML community forums
Help => Graphics => Topic started by: orgos on October 07, 2009, 05:08:36 am
-
Hi people.
I'm working in a game title with SFML, and I want to know some features of SFML.
Fisrt:
What happen when any Drawable object is out of screen or camera view?
Its is rendered and calculated or not?
When is out the SFML version 2?
Thanks.
-
What happen when any Drawable object is out of screen or camera view?
Its is rendered and calculated or not?
It is calculated, sent to the graphics card, transformed, lit, and then discarded. So it skips rasterization and pixel operations, but it still consumes CPU, bandwidth and a little GPU.
When is out the SFML version 2?
I don't know :)
-
This calculation is performed by the Draw method? I mean if i no call the draw method no one calculation is performed for the Drawable object?
-
This calculation is performed by the Draw method? I mean if i no call the draw method no one calculation is performed for the Drawable object?
Absolutely. Nothing is done if you don't call Draw ;)
-
Thanks Laurent.
So I go to implement a render region of my entities, to check if I draw it or not for a better performance.