File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes problem with blender and m3g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "problem with blender and m3g " Watch "problem with blender and m3g " New topic
Author

problem with blender and m3g

Malith Yapa
Ranch Hand

Joined: Jan 17, 2007
Posts: 45
i'm new to j2me programming. to start with the 3d api i created a simple scene from blender and exported to m3g. it works fine. but when i added an ipo curve(starts from frame 1 ends on frame 100,2 key frames) animation to the cube i created the following error appears in the blender console(with a beep) when i export

DeprecationWarning :: integer argument expected, got float

but an m3g file is created. with that file when i try to animate the cube like this

int time = 0;

while(flag) {

//set Graphics3d

scene.animate(time) // or cube.animate(time)

// release graphics

time++;

}

nothing happens.. only the first frame is rendered. Can someone please tell me how to do it the right way. and whats wrong with the export.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: problem with blender and m3g