Skip to main content

All Questions

Tagged with
3 votes
1 answer
219 views

How do people come up with subdivision schemes?

Be it chaikin subdivision, loop subdivision, catmull-clark subdivision... How do people come up with the coefficients for an arbitrary subdivision scheme?
Makogan's user avatar
  • 1,736
4 votes
2 answers
180 views

Move position in smooth gradient

I am decrementing/incrementing position x until it reaches y. However, this creates a rectangular-like path. I want position x to smoothly curve towards y (diagonally) on a 2D plane. What kind of ...
user avatar
6 votes
1 answer
282 views

Converting raster shape/blob into displacement map

I am a beginner in digital image processing and computer graphics. I would like to program a similar behavior than the Shadermap 3 normal editor (displacement layer more specifically). As shown in ...
Gentle Moose's user avatar
8 votes
2 answers
2k views

Is there some kind of Bresenham algorithm or equivalent for scanline rendering a rotated ellipse?

Back in the day when you often had to write your own low level rendering algorithms we all used to learn the Bresenham algorithms for lines and circles. It was almost trivially easy to extend the ...
hippietrail's user avatar