(campfire-cooking.cub from cube world, imported using this class, with some smoke particles added in for good measure)
NOTE: This is a modder util, if you do not know how to create your own mods, you can stop reading right now, this is of no use to you.
This, as stated, is a modder utility, it allows you to import models from cube world, and load them into minecraft. shows how to mess with cube world models, if you're interested.
The mod is free to use, distribute and modify in all of your projects. It's licensed under a Creative Commons Attribution 3.0 Unported license.
I make mods. Follow me on Twitter or give me monies on Patreon, I dunno. ^ Click for music ^
I don't post on the forums any more but I look at them now and then, tweet me or hop on IRC instead if you want to talk me. I'll still reply to PMs if you aren't stupid.
Want to talk to me? Find me on IRC: #vazkii @ irc.esper.net (Webchat)
I make mods. Follow me on Twitter or give me monies on Patreon, I dunno. ^ Click for music ^
I don't post on the forums any more but I look at them now and then, tweet me or hop on IRC instead if you want to talk me. I'll still reply to PMs if you aren't stupid.
Want to talk to me? Find me on IRC: #vazkii @ irc.esper.net (Webchat)
Awesome stuff Vazkii! I've seen some of your models and would love to see more people using this as a way to import .cub models to MC. Also, that model editor from Cube World is super easy to use.
I really want to see this get used. Really, really. Really, really, really! I don't own cube world myself therefore I can't use it :( but if I did, I definitely would use this! GG, Vazkii!
Looks awesome but isn't this quite taxing for Minecraft? The models seem to contain a really high amount of detail. Correct me if I'm wrong.
Apologies for the almost one month late reply, I seem to have missed this post.
It depends on what model you are trying to load, small models (up to 256 seem to load with no issues whatsoever) render fine, with no performance strike, while large models (see the airship a few posts back) do, in fact, lower your framerate by quite a bit. It just depends on what you're loading.
Rollback Post to RevisionRollBack
I make mods. Follow me on Twitter or give me monies on Patreon, I dunno. ^ Click for music ^
I don't post on the forums any more but I look at them now and then, tweet me or hop on IRC instead if you want to talk me. I'll still reply to PMs if you aren't stupid.
Want to talk to me? Find me on IRC: #vazkii @ irc.esper.net (Webchat)
dont know if the thread is dead or if i could even ask for info, but could anyone give me an example of how to use the InputStream for the new model ?
You can use it in any way you may have one, be it from a resource or even a file online.
For example, if you're packing the models in your mod's archive: ModelCubeWorld.getResourceAsStream(path);
Rollback Post to RevisionRollBack
I make mods. Follow me on Twitter or give me monies on Patreon, I dunno. ^ Click for music ^
I don't post on the forums any more but I look at them now and then, tweet me or hop on IRC instead if you want to talk me. I'll still reply to PMs if you aren't stupid.
Want to talk to me? Find me on IRC: #vazkii @ irc.esper.net (Webchat)
(campfire-cooking.cub from cube world, imported using this class, with some smoke particles added in for good measure)
NOTE: This is a modder util, if you do not know how to create your own mods, you can stop reading right now, this is of no use to you.
This, as stated, is a modder utility, it allows you to import models from cube world, and load them into minecraft. shows how to mess with cube world models, if you're interested.
The mod is free to use, distribute and modify in all of your projects. It's licensed under a Creative Commons Attribution 3.0 Unported license.
Grab the source code from a gist (I'm so professional!)
https://gist.github.com/Vazkii/6049710
The documentation in the class should be enough to get you settled. All you, as a regular user, really need is the constructor and the render method.
Here's a possible implementation of loading a model:
(fir-tree.cub)
So I was playing around :3
(airship.cub)
Apologies for the almost one month late reply, I seem to have missed this post.
It depends on what model you are trying to load, small models (up to 256 seem to load with no issues whatsoever) render fine, with no performance strike, while large models (see the airship a few posts back) do, in fact, lower your framerate by quite a bit. It just depends on what you're loading.
You can use it in any way you may have one, be it from a resource or even a file online.
For example, if you're packing the models in your mod's archive:
ModelCubeWorld.getResourceAsStream(path);
All my mods available on my official website, here !