Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Title says it all pretty much. I can't find anything online which explains it in details. I have created a character model in Blender and I want to use it in Android app. I want to make it move. What's my next step here?

share|improve this question
    
You haven't specified how do you do rendering. It's like asking how to print certain information from database on page and don't specify language used to generate pages - php, perl, java ee,... –  Miro Aug 11 '12 at 18:52
    
@Miro OpenGL is probably the best for Java? –  PHP_guy Aug 11 '12 at 19:03
    
You can also use an engine to render stuff. –  Miro Aug 11 '12 at 19:15
add comment

2 Answers

You can use libgdx. It's open source game engine. Here is example of importing 3D model from Blender

share|improve this answer
add comment

You need to load the model into your app. When you read the model file, you'll be able to load a list of coordinates for all the vertices that make up your model, and information such as which vertices connect to each other to form polygons (faces). Then when you perform your rendering in your app, you take the coordinates of your vertices and plot them in your 3D space. If your model has animations, the file will have information on what the vertex coordinates should be at each frame of the animation. You use this information to 'animate' your model.

How you do this is up to you. You could do it from scratch for example. Write your own model file parser to store all the vertex coordinates in your program for rendering. Or you can use a library, for example a premade .obj loader, along with more sophisticated graphics libraries that have support for animations.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.