Skip to main content

Milkshape3D loader and behaviors

5 replies [Last post]
jimbo_h
Offline
Joined: 2006-02-17

Hi everybody,

I'm trying to use Java3dgameSDK's milkshape3d loader with my test project. I looked around the other milkshape3d loaders, and I found that this loader works best with Milkshape's animations. Unfourtunately, I want it to run in retained mode, and the loader provided by java3dgamesdk's milkshape3d loader is in immediate mode (the engine runs in immediate mode). So I'm trying to make it work in retained mode.

I tried this by creating a new behavior for handling the milkshape animations. And after every 10ms (using wakeuponelapsedtime(10)) I called the model.updateModel() (the model is the MS3DModel object created by calling MS3DLoader.loadModel()). But the model does not animate as it should. So I'm wondering if theres anything else I should do; I searched around and found something called geometryUpdater class, but I'm not sure how it fits into things.

Any help would be appreciated!
--Jimbo

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
guiramos
Offline
Joined: 2004-11-09

hi jimbo..
how can I talk with you ?(email)

Message was edited by: guiramos

guiramos
Offline
Joined: 2004-11-09

hi! what is the difference between immediate mode and retained mode ?

jimbo_h
Offline
Joined: 2006-02-17

Immediate mode is when you have a loop that controls what is rendered and when things are gonna happen; there's little or no use of the scene graph.

Retained Mode is when the renderer traverses through the scene graph and renderes the information based on the scene graph, and retained mode is somewhat faster than immediate.
--Jimbo

guiramos
Offline
Joined: 2004-11-09

nice.. thanks!

And after your first post I have been looking at java3dgamesdk. Its very different kind of system...

Anyway... did you got some progress ?

jimbo_h
Offline
Joined: 2006-02-17

unfourtunately no...

anybody??? :(