3D voxel engine with Ken Silverman

Source: Internet
Author: User

On Ken Silverman's homepage, look at his autobiography (http://advsys.net/ken/), you will find that you see a John Carmack, as in the "Revelation of Doom" written almost, Ken Silverman since childhood love programming, do not like to go to college, Computer knowledge is all self-study, or a fart child began to sell the game to make money, have not graduated full-time to Apogee write engine, this is Duke Nukem 3D ... He was asked what computer course he studied at the university, and he said no, Blablabla.

One word: Cow B.

It's time to say the Voxel engine, the Voxel engine is as early as the age of the polygon engine, but because the Voxel engine is putting the image in the form of a color brick, it takes a lot of memory to keep the information of the 3D model, which was impossible before and is now quite extravagant, and the example game image is very coarse and megabytes of memory.

But in the current players even the dynamic lighting is not rare in the era, can impress the player can only be more real virtual world, and this only the Voxel engine can make. Because the polygon engine is very weak in the decomposition of objects, and the object of the Voxel engine itself is a small color block can easily create arbitrary form of the individual. Just think, you are playing csx.x version, you can put the wall to blow a big hole, the ceiling to collapse, you can dig pit buried people, splash of glass slag like the real can hurt people, you can also pick up anything on the ground to shoot people. All tactics are rewritten because the player can reshape the terrain in the game. Vehicles and buildings will be more real

Say back to the C code of this engine to, uh. Is the full sense of the code of the game program, hey, from the inside to find what design mode is futile, can be done in a C file does not separate, can use the assembly on the Assembly, can use macros with macros, a series of more than 10 if statements. Document... In the comments you can find some. But back to the game program is the only pursuit of efficiency, the other to engage in so much is to rip.

The following address is the code and the download address of the executable, do not need any hardware acceleration, because there is no hardware to support-_-! programmers and game fans come down, experience the next game ahead, directly execute the executable file, although a bit rough, but can destroy anything in the game

Http://advsys.net/ken/voxlap/voxlap_src.zip

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.