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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - porteffroi

Pages: [1]
1
Graphics / Capture pixels while drawing shapes
« on: June 17, 2013, 06:13:41 pm »
Hi,

I'm searching a way to introduce some code between the computation of the pixels that must be colored when drawing a figure and the coloration itself. The target goal is to be able to cancel some pixel coloration based on a distance map to implement a basic 3D rendering engine.

Does anyone know where i should write this code ? I searched for some class i could extend and overload a "drawpixel" method but i did not find any ... (i'm new with SFML).

Thx for your attention

Pages: [1]