MineCraft? Nope, My Craft!!!

Source: Internet
Author: User

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!!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.