GithubHelp home page GithubHelp logo

hea3ven / lib-colladamodel Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 356 KB

A library mod for minecraft that adds the ability to load models and animations from COLLADA assets.

License: GNU Lesser General Public License v3.0

Groovy 2.06% Java 97.94%

lib-colladamodel's People

Contributors

hea3ven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lib-colladamodel's Issues

problem to load model / animation

I try this library with minecraft 1.7.10 and forge 10.13.2.1291. But it will crash in all different cases. Sometime I only use a simple cube with a simple "rotate Z animation"

When I export the same models with blender in obj-wave format by using the AdvancedModelLoader method, then I will never have a problem. Same thing, when I use a very old software for minecraft 1.4.7 (with name "GLLoader" from this website : "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1284666-1-4-7-3d-loader-minecraft-api") works very well with my models. Because I would use the library for computercraft and / or opencomputers -addon, I also NOT ONLY bind the jar-file on the build-path, I also try your source and put them on my eclipse-environment without any compiler errors, but it will not change anything.

Maybe a problem with the wrapper-method from AdvancedModelLoader ?

Setup lib-colladamodel

Hello !

Since 2 days, I try to deploy workspace with your collada lib and your mod, PandoriaChest.
But in Creative Inventory, when I approached them in Decoration Blocks Tab my client crash like this crash report : http://pastebin.com/55K59hNc

Your help will be really appreciate :D

Have a nice day !
Cordially, Jackblue

Crash on use

java.lang.ClassCastException: com.hea3ven.colladamodel.client.model.Model cannot be cast to com.hea3ven.colladamodel.client.model.collada.IModelAnimationCustom
On method
public IModelAnimationCustom getModel(ResourceLocation resource) {
if (!models.containsKey(resource))
models.put(resource, (IModelAnimationCustom) AdvancedModelLoader.loadModel(resource));
return models.get(resource);
}

How to fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.