Problem with loading 3D model!

I’m trying to display 3d model using Starfire loader. I follow all coding in Java tutorial and Starfire doc. Program compile and run but there only the black screen instead of the 3D model. I found that my problem is asked many time in Java 3D Forum(of Sun) but there is no answer.

PS: my model is already textured. Should i add some lighting resource to see it

Hm, hard to say. I can confirm that the loader works.

Seeing nothing can have many reasons: object outside view frustrum, z-clips too narrow, no light but a lit model, unexpected scales, … or any combination of these reasons.

Need more info!

I have same problem…

I am trying to use it in applet to load and use 3ds files trough net. I understand that Java applet can communicate with server it was called from.

Q: How can you use Starfire to load these 3ds files?

Thanks.

Maybe you should try to add a Java3D built-in primitive to your scene to make sure Java3D is not set up wrong. Also, in addition to the reasons Herkules mentioned, make sure the camera is not inside the model, in other words, either the model or the camera should be moved out of origo.

-Trond

Does anyone have a working example of a 3ds loader?

Everything seems ok with my loader and I have checked the viewpoint, lights, scale and so on…still just a black screen???