has anyone been able to modify the code to load in 3ds files so that it will load more than just the skeleton, if i change the filename to another one such as alien.3ds which i have placed in the data folder, the screen loads but not the model. i am referring to the latest code for the lwjgl 0.9.2
thanks
Danny
If the scene has no camera setup, then the code looks towards 0, 0, 0. Otherwise it’ll use the camera settings. If your model happens to be at different coordinates to 0, 0, 0 you’ll have to move the view around a bit to find it.
You should be able to use the keys (Q,W, A,S, Z,X to rotate the camera in 3 planes) L with switch on/off the lights and G I think enables mouse view. (K, L, O, P, move and strafe the camera as well).
Andy.
i have placed the model on 0,0,0 and also set up a camera and it seems to work ok now but i am having trouble showing up the textures, even your skeleton shows up in white, i have tried playing about with liughting but to no luck, i cant get any colour whatsoever!
cheers
ps i am using 3ds max and have to exprt the file as a 3ds file, does this affect
it in anyway and can the code be adapted to accept max files becauase it
currently does not.
please help
Danny
I posted some code a while back that renders a scene with textures:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1073737309;start=1#1
If your going to use the 3ds loader with LWJGL you have to know OpenGL. You have to do most of the job yourself. Read the red book and go threw the nehe tutorials.