This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with blender and m3g

 
Malith Yapa
Ranch Hand
Posts: 45
  • 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