Import model from blender (New Feature)
RmBeer2

Before I forget.

The best way to attract more people to Allegro is by adding compatibility with Blender, such as importing models with animations. I don't know if you should have a set of functions or an import/conversion tool to use it in Allegro.

Niunio

Allegro doesn't have a way to manage models so it is not possible.

Remember that Allegro isn't a game engine.

Dizzy Egg

Could you use OpenGL alongside Allegro for blender models? Must be an OpenGL lib in existence…

RmBeer2

Yes, you can. You need make a tool for convert the model and animation in something more, like a mesh in opengl, and something that can take the control of animations.

There was someone here who had done it, but I don't remember what his name was.

Edgar Reynaldo

Several people have working object file loaders. I have a mostly working one, and so does Mark Oates.

Erin Maus

Assimp (https://github.com/assimp/assimp) is pretty straightforward. I use it in my game to import models from Blender. It's like a couple hundred lines of code to convert from Assimp's data structures to something that fits into my game.

Edgar Reynaldo

Erin Maus wins this thread.

{"name":"kisspng-blue-ribbon-clip-art-winner-ribbon-5b4bacc2a65f81.9924120215316860826815.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4ace2979b3cebd9feb5f6d2ebb83823b.jpg","w":900,"h":1180,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/a\/4ace2979b3cebd9feb5f6d2ebb83823b"}kisspng-blue-ribbon-clip-art-winner-ribbon-5b4bacc2a65f81.9924120215316860826815.jpg

RmBeer2

{"name":"9iz6B4K9T.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/1\/21e320a0d85666a049d500e495589dc7.png","w":958,"h":958,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/1\/21e320a0d85666a049d500e495589dc7"}9iz6B4K9T.png
{"name":"hqdefault.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/2\/a298a790a4cd800cf5521459b195ef2d.jpg","w":480,"h":360,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/2\/a298a790a4cd800cf5521459b195ef2d"}hqdefault.jpg

Edgar Reynaldo

What I really need is a Blender tutorial for dummies, that ISN'T a video. I just need a cheat sheet for things like Extrude, Smooth, Subdivide, etc....:D

Thread #618756. Printed from Allegro.cc