File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with blender and m3g

 
Malith Yapa
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic