Advertisement

Cel-Shading on Quadrics (gluSphere, gluCylinder)

Started by June 23, 2010 11:04 AM
2 comments, last by lc_overlord 14 years, 4 months ago
Hi guys,

Is there a way to do Cel-Shading on Quadrics using calls like gluSphere and gluCylinder?

I looked at Nehe's lesson on Cel-Shading but it seems like it is specific to shapes drawn with using glVertex.

Thanks!
that specific method should still work with Quadrics as far as i know
Advertisement
Can you explain how? I'm pretty new with this. Is there a way to get the vertices off of gluSphere?
not in a simple way i think, getting the outline is fairly easy, just replace the glvertex calls with quadrics calls.
The cellshading is a bit harder though, but i think it can be done trough spheremaping (or cubemapping) using texture coordinate generation (glTexGen).

This topic is closed to new replies.

Advertisement