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.


Topics - raytaller

Pages: [1]
1
Graphics / Hatching and masking
« on: December 08, 2008, 01:28:49 pm »
Hello,
I need to fill some polygons with hatching. I'm sure it can be done in raw opengl, but I would like to know the most elegant solution with SFML. Is it possible to define a "mask" ? With the shader-like language, it must be possible to test the alpha channel of a mask image. Are there others options ?
Anyway, I discovered SFML recently, and it seems to be a really nice piece of software ! It's always nice to see such clean and simple C++ code, that reminds you how C++ programming can be pleasent :-)

Pages: [1]