nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Allow blocks to be stepped' meaning make the world 128^3 descrete cubes, but each cube has 4 height states #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implemented by using 2 bits (to represent 0, 1, 2, 3, but actual height values 
of 1 [lowest] to 4 [full cube]) height levels.

Original issue reported on code.google.com by nin...@gmail.com on 4 Nov 2011 at 1:05

GoogleCodeExporter commented 9 years ago
Now working on this.

Original comment by nin...@gmail.com on 6 Dec 2011 at 1:00

GoogleCodeExporter commented 9 years ago
Now working on this.

Original comment by nin...@gmail.com on 6 Dec 2011 at 1:00

GoogleCodeExporter commented 9 years ago
New meta-value format: lower 6 bits (0,1,2,4, 8, 16) used for meta-ID, while 
the two high bits (32, 64) are reserved for height declaration. Hight now 
varies from 0 to 3, thus four full tile sizes.

Original comment by nin...@gmail.com on 24 Dec 2011 at 12:33

GoogleCodeExporter commented 9 years ago
Implemented but still needs a final "commitment" for the art aspect. Either we 
go 2 or 4 block sizes

Original comment by nin...@gmail.com on 24 Dec 2011 at 4:11

GoogleCodeExporter commented 9 years ago
Current rendering is set to 2; in the future we may just make smooth surfaces, 
but for now 2 blocks I think is best.

Original comment by nin...@gmail.com on 24 Dec 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Committing to half-block world. Though in-memory representation will always be 
block-based, block's meta tag now has a single high-bit that is used to flag as 
half (0) or full (1) block. Half blocks cannot be mixed; either a block exists, 
is half, or does not.

Original comment by nin...@gmail.com on 27 Dec 2011 at 4:55

GoogleCodeExporter commented 9 years ago
Closing; though dev. will continue on this feature

Original comment by nin...@gmail.com on 27 Dec 2011 at 4:55