-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[block-models] Custom block models #3
Comments
At least custom blocks heights would go a long way (water, slabs, ...) |
Found this pretty cool 3D map viewer for Minecraft/Bukkit, built on WebGL (frontend written in Haxe), renders many complex block models and the author is working on supporting more: https://github.com/thinkofdeath/ThinkMap |
Some interesting discussion of how MC is changing their block models at https://pay.reddit.com/r/Minecraft/comments/22vu5w/upcoming_changes_to_the_block_model_system/
|
This should be useful: https://github.com/hughsk/gl-geometry A flexible wrapper for gl-vao and gl-buffer that you can use to set up renderable WebGL geometries from a variety of different formats. |
Initial implementation, needs work Ref voxel/ideas#3
voxel/ideas#3 Update voxel-drop, voxel-glass, voxel-health-fall, voxel-land, voxel-voila voxel/voxel-drop@3a2794a 0.1.3 voxel/voxel-glass@05ae2bf Add experimental glass cover custom block model voxel/voxel-glass@b89bc76 Add a solid but transparent glass block voxel/voxel-health-fall@01fc438 Use game controls target instead of voxel-player (untested), ref voxel/voxel-health-fall#1 voxel/voxel-land@95b3b12 Move glass block to new voxel-glass plugin voxel/voxel-voila@53f4f64 0.4.0 voxel/voxel-voila@4132d64 Add voxel position to verbose display mode voxel/voxel-voila@7f51481 Change verbose display to multi-line; include full blockdata JSON Commit message generated by https://github.com/deathcap/lmno-cl
Basic support is in: |
Interesting comment about MC 1.8's new JSON-based block model format, and some problems with it for developers (to keep in mind to avoid with voxel.js): https://www.reddit.com/r/feedthebeast/comments/2ni6av/eli5_the_18_block_model_change/
|
Support for blocks aligned to the world grid as usual (voxels), but with custom non-cube shapes.
This would go beyond transparency (max-mapper/voxel-engine#34), which by itself still only allows rendering cube faces, to additionally support arbitrary models. Examples: torches, slabs
There are several existing 3D model formats (three.js http://threejs.org/examples/ supports: assimp, collada, ctm, 'json', obj, scene, stl, 'utf8', vrml, vtk); MC is also adding their own format for resource packs: http://www.reddit.com/r/Minecraft/comments/1xg4k1/i_like_14w06b/cfcv1dc . Some mods use: http://www.minecraftforge.net/wiki/Rendering_a_Techne_Model_as_a_Block
gl-modules parser for PLY file format: https://www.npmjs.org/package/parse-ply http://www.cc.gatech.edu/projects/large_models/ply.html "The PLY file format is a simple object description that was designed as a convenient format for researchers who work with polygonal models"
The text was updated successfully, but these errors were encountered: