Archived

This topic is now archived and is closed to further replies.

vanillacoke

2 questions, please...

Recommended Posts

number 1: Would anyone care to explain to me the reasoning behind the code for the bresenham circle algorithm? I am somewhat confident that I comprehend the idea, but I can't find any good information about the code itself with the 4's and 6's and 10's... anyway, can anyone help? number 2: Does anyone know of a good, comprehensive but technical, resource for reading about high-quality normal maps, texture maps, and possibly even other maps for parametric surfaces? By high quality I mean NOT demo work-arounds, but really mathematically accurate maps blah blah blah.

Share this post


Link to post
Share on other sites
Check out "How many ways can you draw a circle?" by Jim Blinn (it''s in his book "A trip down the graphics pipeline"). That should answer ALL your questions about circle drawing - including the 4''s and 6''s and 10''s

Share this post


Link to post
Share on other sites
or "zen of graphics programming"
the chapters you''re interested in are 17 and 18, where he explains and implements Hal Hardenburgh''s circle drawing algorithm...

Share this post


Link to post
Share on other sites