The Meaning of Life, the Universe, and Everything.
Join Date:
6/27/2013
Posts:
60
Member Details
LibColladaModel
LibColladaModel is an API that allows you to load models exported by 3d modelling tools with support for animation. This allows you to define animations in programs designed to do that, in stead of doing it in the code.
So far I've implemented most of the basic features that could be used. But if you find a missing feature or if it fails to load a model, please add an issue in the issue tracker with the model/section of the model attached.
What model formats are supported? I don't recognize that .dae model format mentioned in your code.
The format is COLLADA, it's not a program specific format, it was designed as an exchange format. Blender has a built in exporter and so does 3ds Max (at least for version 2010). There's also OpenCOLLADA that has exporters for 3ds Max and Maya.
Does the format and program support multiple animations? That could make it very easy to have models that did some amazing things.
The format does allow for multiple animations, but I haven't implemented it yet. Mainly because Blender exporter doesn't support it, and you'd have to manually edit the file. But I will implement it eventually.
Sorry, maybe I have the wrong question, and you do not quite understand me. I write mods for minecraft version 1.7.10, and there is no b3d loader. And it's hard to work with it correctly. So your api version for minecraft version 1.7.10 is not outdated, which means the possibility of creating animations for the player. Could you help me please?
LibColladaModel is an API that allows you to load models exported by 3d modelling tools with support for animation. This allows you to define animations in programs designed to do that, in stead of doing it in the code.
So far I've implemented most of the basic features that could be used. But if you find a missing feature or if it fails to load a model, please add an issue in the issue tracker with the model/section of the model attached.
Here's an example of the flexibility you get:
Users:
Download latest version: lib-colladamodel-1.0a1.jar
Developers:
Add the following code to your build.gradle script:
also add the library as a dependency of your mod:
and run "gradle setupDecompWorkspace".
To load a model use the following code:
then you can render it in a similar way you do a IModelCustom, it just take one extra parameter that is the frame time in seconds.
Twitter: @hea3ven
Patreon: hea3ven
IRC: #buildingbricks in esper.net
You haven't tried hard enough.
What model formats are supported? I don't recognize that .dae model format mentioned in your code.
You haven't tried hard enough.
The format is COLLADA, it's not a program specific format, it was designed as an exchange format. Blender has a built in exporter and so does 3ds Max (at least for version 2010). There's also OpenCOLLADA that has exporters for 3ds Max and Maya.
Twitter: @hea3ven
Patreon: hea3ven
IRC: #buildingbricks in esper.net
Does the format and program support multiple animations? That could make it very easy to have models that did some amazing things.
You haven't tried hard enough.
The format does allow for multiple animations, but I haven't implemented it yet. Mainly because Blender exporter doesn't support it, and you'd have to manually edit the file. But I will implement it eventually.
Twitter: @hea3ven
Patreon: hea3ven
IRC: #buildingbricks in esper.net
Hello. Can you help me, is it possible to use your API for animation NPC or player?
P.S. Sorry for my english)
No, this library is out of date, forge now provides a b3d model loader that does everything that this library does and more.
Twitter: @hea3ven
Patreon: hea3ven
IRC: #buildingbricks in esper.net
Sorry, maybe I have the wrong question, and you do not quite understand me. I write mods for minecraft version 1.7.10, and there is no b3d loader. And it's hard to work with it correctly. So your api version for minecraft version 1.7.10 is not outdated, which means the possibility of creating animations for the player. Could you help me please?
Update to 1.7.10 please