Open Asset Import Library
by raa brubb · in Torque 3D Professional · 04/05/2014 (5:10 pm) · 10 replies
Hello everybody,
I again am on my research rants finding new things, but this one will be relevant to what people have been demanding for years.
There is a open source asset import library called Assimp. Assimp supports a HUGE amount of 3D model formats and I was thinking it could potentially be used to import assets to Torque 3D. As far as I know, it can import it as direct C++ code. In other words, if you had lets say an OpenGL project running on C++, you could convert your 3D model to pure code. This would then allow you to use it in your project.
It's just a normal import library I though that could potentially be used for Torque 3D, given the amount of demand for different file format imports. What do you guys think?
I again am on my research rants finding new things, but this one will be relevant to what people have been demanding for years.
There is a open source asset import library called Assimp. Assimp supports a HUGE amount of 3D model formats and I was thinking it could potentially be used to import assets to Torque 3D. As far as I know, it can import it as direct C++ code. In other words, if you had lets say an OpenGL project running on C++, you could convert your 3D model to pure code. This would then allow you to use it in your project.
It's just a normal import library I though that could potentially be used for Torque 3D, given the amount of demand for different file format imports. What do you guys think?
About the author
#2
04/06/2014 (8:02 am)
I swear I saw this in one of the Torque codebases a while back - maybe it was in the fledgling Torque 4 code....
#3
Making COLLADA optional won't be necessary, we can erase the entire importing code and replace it with this multi featured one. It's also called Assimp and is used in many game projects.
It imports in,
3DS
BLEND (Blender 3D)
DAE/Collada
FBX
IFC-STEP
ASE
DXF
HMP
MD2
MD3
MD5
MDC
MDL
NFF
PLY
STL
X
OBJ
SMD
LWO
LXO
LWS
TER
AC3D
MS3D
COB
Q3BSP
XGL
CSM
BVH
B3D
NDO
Ogre XML
Q3D
It can import in C4D, but it depends on proprietary libraries.
It also exports in,
DAE (Collada)
STL
OBJ
PLY
Pretty powerful I would say...
04/06/2014 (10:50 am)
If it's in Torque 4.0 then we don't really need to worry, where can I find the code? If it's not, as soon as I get better with C++, I might try to code it in. Just a thought, no promises.Making COLLADA optional won't be necessary, we can erase the entire importing code and replace it with this multi featured one. It's also called Assimp and is used in many game projects.
It imports in,
3DS
BLEND (Blender 3D)
DAE/Collada
FBX
IFC-STEP
ASE
DXF
HMP
MD2
MD3
MD5
MDC
MDL
NFF
PLY
STL
X
OBJ
SMD
LWO
LXO
LWS
TER
AC3D
MS3D
COB
Q3BSP
XGL
CSM
BVH
B3D
NDO
Ogre XML
Q3D
It can import in C4D, but it depends on proprietary libraries.
It also exports in,
DAE (Collada)
STL
OBJ
PLY
Pretty powerful I would say...
#4
The problem is that I have many things to do :P
04/06/2014 (11:30 am)
If the committee decides to accept Assimp, I have some experience adding custom formats to T3D.The problem is that I have many things to do :P
#5
If it's too much work you should stick to working on OpenGL. I was also wondering if you were going to port it to OpenGL ES...
But I don't know why the community wouldn't accept Assimp, I guess if they don't we should at least integrate as something optional. If we integrate this, FBX will be a real thing for Torque 3D.
If someone does not do it, I might at least try to do it myself.
It would be great if it were added. It would open a new door for T3D.
04/06/2014 (1:04 pm)
Yeah,If it's too much work you should stick to working on OpenGL. I was also wondering if you were going to port it to OpenGL ES...
But I don't know why the community wouldn't accept Assimp, I guess if they don't we should at least integrate as something optional. If we integrate this, FBX will be a real thing for Torque 3D.
If someone does not do it, I might at least try to do it myself.
It would be great if it were added. It would open a new door for T3D.
#6
04/07/2014 (10:51 am)
Does anyone know where I can find the Torque3D 4.0 code?
#7
04/07/2014 (6:42 pm)
The Torque 4 code that Richard refers to is not available.
#8
04/07/2014 (10:03 pm)
Unfortunately, Mike is correct - it was never released into the wild. It's too bad it was dropped, it was going to be a ground-up rewrite.
#9
04/08/2014 (10:58 am)
Why was it dropped? Does anyone have the source code before it was smashed? A ground-up rewrite would of been awesome...
#10
04/08/2014 (12:24 pm)
GG has the source and it wasn't deemed complete enough to be released when T3D went open source.
Torque Owner Daniel Buckmaster
T3D Steering Committee
EDIT: A good first step would be to make the Collada stuff an optional module. I'm not sure how close it is to being that currently, or if it already is.