[osg-users] Open Asset Import Library

129 views
Skip to first unread message

Chris Hanson

unread,
Jun 6, 2012, 6:29:17 PM6/6/12
to OpenSceneGraph Users
http://assimp.sourceforge.net/main_features.html 


  Anybody used this?

  Might be interesting to begin an optional plugin to load files via this library, if you have it. Some of its importers might be more modern or more fully fleshed out than some of our native ones.


--
Chris 'Xenon' Hanson, omo sanza lettere. Xe...@AlphaPixel.com http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android

Wang Rui

unread,
Jun 6, 2012, 11:15:01 PM6/6/12
to OpenSceneGraph Users
Hi Chris,

Oh, I'm just working on a new integration project of OSG and different kinds of 3rdparty libraries. Ande I've already wrote plugins of FreeImage and AssImp, as I think both are great for importing and exporting, too.

Unfortunately I haven't had time to test my AssImp plugin yet (the FreeImage one works well now and I'll try to submit it soon), so if you think it valuable and possible for use, please don't hesitate to test it and help me improve it. :-)

Cheers,

Wang Rui


2012/6/7 Chris Hanson <xe...@alphapixel.com>
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


michael kapelko

unread,
Jun 6, 2012, 11:27:01 PM6/6/12
to OpenSceneGraph Users
I'll just add my 2 (negative) cents on FreeImage: it does not
dynamically links to libpng, libtga and other libs it uses. This goes
against Gentoo policy and as such will prevent apps to go into Gentoo
based distros.

Smelik, R.M. (Ruben)

unread,
Jun 7, 2012, 2:25:08 AM6/7/12
to OpenSceneGraph Users
And 2 positive cents for Open Asset Import Library, we've successfully used it in the past to import various 3D models (.3ds, .obj, etc.). As far as I know, it does not support model exports.

Kind regards,

Ruben
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/emaildisclaimer

Chris Hanson

unread,
Jun 7, 2012, 10:02:02 PM6/7/12
to OpenSceneGraph Users

michael kapelko

unread,
Oct 25, 2012, 7:14:35 AM10/25/12
to OpenSceneGraph Users
Wang Rui, I research what format best to use for moving objects from
Blender to OSG, and I see Assimp claiming to load Blender files
directly. Since you said you wrote the plug-in already for it, I'd
like to try it out.
I have a follow up question: can I possibly differentiate Blender
model from Blender material to have several skins for the same
material in OSG? Does your plug-in do anything of the sort?
Thanks.

michael kapelko

unread,
Oct 25, 2012, 7:15:27 AM10/25/12
to OpenSceneGraph Users
For the same *object. Sorry.

Wang Rui

unread,
Oct 25, 2012, 11:22:32 AM10/25/12
to OpenSceneGraph Users
Hi Michael,

AssImp use a simpler scene graph to manage read data, in which one
node could have a transformation matrix and multiple meshes, and
multiple child nodes. Materials (including textures) are managed
globally in a <int, pointer> map so objects could share one texture.
But one mesh can only be linked to one material. I personally think
Assimp will divide any object into meshes to support multiple
materials if required, but I don't know Blender output would be
handled in similar way in such case.

Wang Rui


2012/10/25 michael kapelko <kor...@gmail.com>:

michael kapelko

unread,
Oct 26, 2012, 2:06:41 AM10/26/12
to OpenSceneGraph Users
I've just tried to load Collada object with materials with the help of
your assimp plugin, and it worked fine. However, blend files created
with Blender 2.64 didn't produce any visual output.
So it turns out assimp isn't the holy grail :|
Reply all
Reply to author
Forward
0 new messages