Rendering "smooth" 3D Studio objects.

Hia guys.

Im using StarFire loader for 3DS files. The model has “smooth” information in it but how do I get that to render in Java3D?

Tex

I don’t know 3DStudio at all, what does Smoothing information tell you?

Remember that Java3D will not necessarily be able to do everything that 3DS can.

It could be the NormalGenerator you’re looking for. That gives the impression of smooth surfaces by interpolating the lighting based shading across the surface…

Have a read of the java doc for:

com.sun.j3d.utils.geometry.NormalGenerator

Kev