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!
Cel-Shading on Quadrics (gluSphere, gluCylinder)
that specific method should still work with Quadrics as far as i know
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
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).
The cellshading is a bit harder though, but i think it can be done trough spheremaping (or cubemapping) using texture coordinate generation (glTexGen).
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement