PDA

View Full Version : Beautymine V2



Patrickssj6
March 25th, 2013, 11:00 PM
My project I have worked on a few months ago and now picking up again: The goal was and is to build an efficient and pretty Minecraft world rendering engine.

Features:
-Converting Minecraft worlds to a more efficient file format
-Loading entire map into memory space with a higher compression
-Drawing a larger portion of the map at runtime
-Custom shaders for water reflection, heat haze, animated grass/leaves etc.

V1 was written in C# using XNA

(Don't take this first one too serious xD)
36e6W4C0Q2A

(Nothing special either)
Akq83nP2oBA

(Showing how big things can easily get @0:40)
7anx9_3TYvg

(4 chunks loaded to get a rough overview)
oXmwLkSDQL8

None of those featured custom shaders.

XNA was limiting me because it does not officially support DX10/Shader Model 4 and I needed some features to write a more efficient engine. Right now the task is to port the code to C++/DX10 (can be run at DX11 as well).

So behold screenshot No.1

http://www.vivid-abstractions.net/wp-content/gallery/minecraft/ss1.jpg

neuro
March 28th, 2013, 02:26 AM
i think this is a fucking excellent idea.

ThePlague
March 30th, 2013, 02:40 AM
Friggen sweet man. I used to render my stuff using 3ds max but it was a pain.

Limited
April 1st, 2013, 05:15 PM
Ha @ Dx10

Did you look into SlimDX?

Also minecraft is easy, can be coded in 580 lines: https://github.com/fogleman/Minecraft

Patrickssj6
April 1st, 2013, 08:18 PM
My card does not support DX11 (QQ) but the application goes DX11 if the card supports it, otherwise falls back to DX10.1 or 10. It just needs Shader Model 4.0 that's all.

I considered SlimDX but I needed a reason to finally get around to properly learn C++ ^^

Added a camera, timing and fps counter. 15k objects in scene
http://www.vivid-abstractions.net/wp-content/gallery/minecraft/ss2.jpg

not sure yet which way I want to go but I will probably scrap my idea of using extensive geometry shaders and just use a constant vertex buffer.

ThePlague
April 2nd, 2013, 06:22 PM
Give us the download!

EX12693
April 11th, 2013, 10:45 PM
Give us the tags

Patrickssj6
April 12th, 2013, 07:18 AM
Nothing special, just the map converter written in C#. This map converter will read a world file and only extract and decompress the data I need into a single file.

http://www.vivid-abstractions.net/wp-content/gallery/cache/64__677x630_ss2_0.jpg

Limited
April 18th, 2013, 05:39 PM
Work on mipmapping :)

Patrickssj6
June 20th, 2013, 09:41 AM
So...there has been a lot of progress and am working right now on a map format.

I have a question...maybe some programmers could give me an idea:
I am converting the Minecraft world files in C# to a custom format, where there will be Header sections which "points" to the raw data. The pointing is done by providing the offset from the beginning of the file.
In my next step I want to load the new map file into memory with C++ and directly map structs onto it. I would like to dereference but of course the "offset points" cannot be dereferenced because the offsets are obviously not the real addresses. So in a step afterwards I would have to update all the original offsets to pointers.

I was thinking of pointer tables but how do other games or Halo do it (if it all)? Is there a better way?

Patrickssj6
December 16th, 2013, 04:44 PM
Map conversion is now done and I am able to display sections. A lot of textures still missing / not being displayed correctly and you can ignore the FPS count. Also the term "beauty" is exaggerated, is looks fucking ugly lol cannot be bothered with shaders at this point. The chest is a placeholder.
http://www.vivid-abstractions.net/wp-content/uploads/2013/12/SS3-1024x656.jpg (http://www.vivid-abstractions.net/wp-content/uploads/2013/12/SS3.jpg)
http://www.vivid-abstractions.net/wp-content/uploads/2013/12/SS4-1024x656.jpg (http://www.vivid-abstractions.net/wp-content/uploads/2013/12/SS4.jpg)

Cortexian
December 17th, 2013, 03:02 PM
very block








wow


plz beauty

Patrickssj6
December 17th, 2013, 03:26 PM
one day
http://www.minecraft-generation.fr/images/newspics/news_2011_10/gg_-1-8-1--Water-Shader-v4d---xre8bxp6LQ.jpg
http://i1.ytimg.com/vi/2am74cCHfQk/maxresdefault.jpg

...one day

doge

Btcc22
December 17th, 2013, 03:30 PM
very block








wow


plz beauty








http://i.imgur.com/dnTjV.gif

Dwood
December 17th, 2013, 05:07 PM
rep++;