Voxelers / mcthings

A Python framework for creating 3D scenes in Minecraft and Minetest
Apache License 2.0
58 stars 11 forks source link

Is Minecraft a voxels game? What are voxels? #91

Closed acs closed 4 years ago

acs commented 4 years ago

Understanding voxels is an interesting topic. As a summary a voxel (volume element) is a pixel (picture element) in 3D. My current thought: Minecraft uses voxels for representing the world, and it uses cubes for presenting it (a cube is a polygon, not a voxel, so it can be drawn quickly).

But all of these is new for me, so probably I would change my mind during the learning trip.

The first article after reading others that attract my attention:

https://medium.com/retronator-magazine/pixels-and-voxels-the-long-answer-5889ecc18190

I have also read https://en.wikipedia.org/wiki/Voxel

acs commented 4 years ago

Vector vs Raster

acs commented 4 years ago

A nice tool to play with:

https://medium.com/tech-notes-and-geek-stuff/install-magicavoxel-win-64-on-linux-d90236fdf927

acs commented 4 years ago

«Voxel engines couldn’t keep up with the performance of polygon graphics and so voxels died …

… until about ten years later when one game took them to a whole new level of popularity. The game left the old ways behind and paved the way for the voxel-as-a-cube approach. By now this could be efficiently rendered using GPUs and the rest is history.»

So voxels are rendered as cubes, and it could use the GPUs. Cubes are rendered as triangles, which are the GPUs way to draw things.

«The most prominent example of this is of course Minecraft. Although Minecraft blocks are voxels by definition (they are the smallest discrete volume units in the game), they come in a wide variety of types represented by low-poly models with pixel art textures. Even though they are blocky, many of them are not simple cubes.» The 2D textures are drawn in the cubes (voxels) and they can change how the cube looks like (and sometimes it is not a cube anymore).

acs commented 4 years ago

Voxels Minecraft

acs commented 4 years ago

Ok, now I have more info about what are voxels and many other things (textures for example). Time to close this ticket!

javiercuervo commented 4 years ago

Minecraft is a good example of a popular voxel based game, which leverages the gameplay potential of voxel terrain and interactions. It “cheats” in the sense that the voxels are just polygonal cubes, but the math involved in procedurally generating terrain in Minecraft will be familiar to anybody who has ever tinkered with a voxel based terrain engine from any other game. https://medium.com/predict/why-voxels-are-the-future-of-video-games-vr-and-simulating-reality-98d71b84c377

acs commented 4 years ago

I will play a bit more with voxels to understand all better with real examples. I would play with Blender and https://medium.com/tech-notes-and-geek-stuff/install-magicavoxel-win-64-on-linux-d90236fdf927

acs commented 4 years ago

Yes, Minecraft is a Voxels game that uses low-pol and low-res textures so scalability and performance are great, and it is easier to create contents for it because all the graphics stuff is basic and limitated.

It goes in the same line of games like https://openspades.yvt.jp/.