Jump to content

Babylon Voxel.js


Nesh108
 Share

Recommended Posts

Hello!

As my profile states I am new here and rather new with Babylon.js as well.
I found its ease of use and performance (over Three.js) good reasons to work on it.

Currently, I have been working on a voxel game (i.e. minecraft-ish) and I have been using Three.js, as there are so many libraries already out there for voxels.
On the other hand, pretty much nothing for Babylon. For this reason, I would like to fill the void and, perhaps, find someone who is interested in helping out on the quest.

I started with creating a small library for creating snow (called `voxel-snow`) and called it `babylon-voxel-snow` (https://github.com/Nesh108/babylon-voxel-snow/). The idea is to make the transition from Three.js to Babylon.js as easy and as painless as possible for people (like me) who have been using it for their voxel projects. Adding the prefix `babylon-`, would make it extremely easy to find the counter part for Babylon.

Here are some other voxel libraries which are currently only in Three.js:

 ☑ Voxel Snow (https://github.com/shama/voxel-snow) --> Babylon Voxel Snow (https://github.com/Nesh108/babylon-voxel-snow/)
 ☐ Minecraft skin (https://github.com/maxogden/minecraft-skin)
 ☑ Voxel walk (https://github.com/flyswatter/voxel-walk) --> Babylon Voxel Player (https://github.com/Nesh108/babylon-voxel-player)
 ☐ Voxel creature (https://github.com/substack/voxel-creature)
 ☑ Voxel critter (https://github.com/shama/voxel-critter) -> Babylon Voxel Critter (https://github.com/Nesh108/babylon-voxel-critter)
 ☐ Voxel builder (https://github.com/maxogden/voxel-builder) -> Unneeded as it can be imported with the Babylon Voxel Critter
 ☐ Voxel use (https://github.com/voxel/voxel-use)
 ☐ Voxel mine (https://github.com/voxel/voxel-mine)
 ☐ Voxel carry (https://github.com/voxel/voxel-carry)
 ☐ Voxel chest (https://github.com/voxel/voxel-chest)
 ☐ Voxel inventory creative (https://github.com/voxel/voxel-inventory-creative)
 ☐ Voxel items (https://github.com/jeromeetienne/voxel-items)
 ☑ Voxel clouds (https://github.com/shama/voxel-clouds) --> Babylon Voxel Clouds (https://github.com/Nesh108/babylon-voxel-clouds)
 ☑ Voxel skybox --> Babylon Voxel Skybox (https://github.com/Nesh108/babylon-voxel-skybox/)

As I go, I will try to slowly implement them for Babylon, so hit me up if anyone would like to help out :)

Link to comment
Share on other sites

Super cool idea! As some folks may know I've been making a voxel engine on top of Babylon for about two years now (project here), and any plugins that work well with it would certainly be welcome!

If I can offer some advice/caveats, it would be: try to be really careful with versions and dependencies and coupling between plugins and any engines they know about! The reason I wound up not using the voxel-js ecosystem of libraries is that, although there were a lot of great plugins for it, the plugins were all made at different times, for different versions of the core voxel-js engine, and in general no two plugins seemed to work at the same time unless they were made by the same person. The root cause of this was that voxel-js plugins depended on the core engine, and on one another, as peer dependencies, so nothing got fulfilled (or even tracked) automatically - you had to basically know what every module expected to be where.

So while I'd be really happy to see any plugins that know how to interoperate with noa, I'll be even happier if they aren't tightly coupled to it. :)

And of course please open issues for any questions!

(Also, @Nesh108 - for questions on any given plugin, be sure and ask in the Questions subforum - that's where most of the action is around here ;) )

Link to comment
Share on other sites

@Deltakosh I will try to publish a demo on my github page, I will keep you updated. 

@joshcamas Well, while it's true that anything that allows you to interact with the voxels can easily be seen as a "Minecraft clone", I'd say that there are quite some attempts going into other directions. Just look here: http://store.steampowered.com/tag/en/Voxel/#p=0&tab=PopularNewReleases:) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...