Cell shading with Java3D

Hi,

Is Java3D capable of cell shading? (Like Lesson 37 of the nehe OpenG? tutorials?

Thanks

Shawn Kendall showed a cell shading demo at JavaOne.

IIRC it relies on creating geometry for the edges.

For that, it has been extraordinary quick!

Yeah it’s cake :slight_smile:

Just do it as it would be done in OpenGL but in a GeometryUpdater for the shaded texture part. (u texture coordintate = Vertex Normal dot to the Light Direction Vector)

The outline is just a wireframe of the model, draw thicker, no texture, and with front face culling on.

That was the quicky, have to check the papers from more if ya need it.

Thank! :slight_smile:

I’ll look into it.

I have a demo right here if you care :wink: