• Advertisement
Sign in to follow this  

Cel-Shading on Quadrics (gluSphere, gluCylinder)

This topic is 2766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
Can you explain how? I'm pretty new with this. Is there a way to get the vertices off of gluSphere?

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement