This is a record of a minecraft-like style. are shown in pictures:
Reference:techcraft
http://techcraft.codeplex.com/
Description: The following introduction to the project looks good, but actually the effect of the code inside (or look at the picture bar):
Techcraft project (left), actual effect after code compilation (right)
Obviously is two completely different things, this is really quite a lot of bad.
View Code discovery: This project building block (a 16x128x16) takes a long time, and the range shown is very small (only 5x1x5), but from here you can see how cube is handled in basic Minecraft
Got some information, especially with this:
Https://github.com/fogleman/Craft
http://www.michaelfogleman.com/craft/
This data speaks of the simple implementation of AO, which is quite effective:
Here are the results I've achieved so far:
Join AO
This change here to find Techcraft code really is not moved, too slow (mainly IO), then directly throw away, again and again open a new project:
This dynamic generation of terrain: that is, the infinite size (uint maximum 2^32-1 is how many?) 40 million) (Techcraft's small terrain is really enough)
Direct Texture Mapping:
Joined the AO:
Take a hole:
Editable (delete/Add)
(TODO: Fluid, light and shadow, storage)
Everybody don't complain about why the line of sight is so small, because I really win8 the code on the tablet (not surface), the performance (60fps seems to be fine), and the display range is large, the generation of maps also takes time.
At last:
If you want to know the details of the implementation, you can go to the above mentioned link to see (and then write again):
Https://github.com/fogleman/Craft
Under the code, the head is dizzy, I also see how he said how to achieve.
MineCraft? Nope, My Craft!!!