Voxelers / 3d

3D in Voxelers
Apache License 2.0
9 stars 1 forks source link

Explore Voxel Tools for Godot #6

Closed acs closed 4 years ago

acs commented 4 years ago

Once decided https://github.com/Zylann/godot_voxel is the best Voxel project for Godot, let's learn it in depth.

Keys are defined in: https://github.com/Zylann/godot_voxel/issues/150

I am adding the testing code to: https://github.com/acs/godot-samples/tree/master/voxel_tools

acs commented 4 years ago

Tutorials

https://github.com/Zylann/godot_voxel/blob/master/doc/01_get-started.md#tutorials

acs commented 4 years ago

Materials

https://github.com/Zylann/godot_voxel/blob/master/doc/04_materials.md

This tutorial is mode advanced. I will do it next days!

Ok, I have learnt enough about shaders in Godot to continue with this voxel tutorial. So let's continue with it.

It is not a real tutorial, but a guide describing howto use shaders for the textures in the Voxel worlds. Then the best next step is to go to https://github.com/tinmanjuggernaut/voxelgame and to the shader https://github.com/tinmanjuggernaut/voxelgame/blob/master/project/fps_demo/materials/triplanar.shader

Understanding this shader is going to need some real effort. Do we need it now to understand how to work with Voxels?

acs commented 4 years ago

Collision (Physics)

https://github.com/Zylann/godot_voxel/blob/master/doc/05_collision.md

This was the original goal in https://github.com/Voxelers/mcthings/issues/122 Learning about collisions and how voxelized models are destroyed is a key goal. But also, this tutorial is just and overview and we need to explore the code to really learn about it.

acs commented 4 years ago

Generate Your Own Voxel Data

https://github.com/Zylann/godot_voxel/blob/master/doc/06_custom-generator.md

«You can provide your own voxel generator by extending VoxelGenerator in either GDScript or C++.»

I am not sure if this is just providing a new stream of data to build the world or it is a really new voxel generator, that can for example generate models from MagicaVoxel.

acs commented 4 years ago

Voxel API

https://github.com/Zylann/godot_voxel/blob/master/doc/08_api-overview.md

It seems it is based around the Terrain concept so I am not sure we can use it for our goal to recreate MagicaVoxel models. Let's see.

Here we have all the classes:

https://github.com/Zylann/godot_voxel/blob/master/doc/api/Class_List.md

acs commented 4 years ago

Ok, my next step is to play with the demos to understand better the final result. And after that I will continue learning from the tutorials.

Also, I plan to talk with the Voxel Tools creators to understand better the desing and roadmap of the project.

https://github.com/Zylann/godot_voxel/issues/194

acs commented 4 years ago

Ok, the decision is to use godot_voxel. Time to start hacking in it! #11