User Tools

Site Tools


general_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
general_information [2018/01/24 14:02]
gobrosse [Voxel cell data setup]
general_information [2018/01/25 11:43] (current)
gobrosse
Line 11: Line 11:
 The game is built using Eclipse, Git, Paint.NET, Notepad++, PuTTY, WinSCP, Firefox, Blender and Audacity. I use VisualVM, RenderDoc, apitrace and AMD PerfStudio to do debugging, as well as WireShark occasionally. This wiki runs using DokuWiki. The game is built using Eclipse, Git, Paint.NET, Notepad++, PuTTY, WinSCP, Firefox, Blender and Audacity. I use VisualVM, RenderDoc, apitrace and AMD PerfStudio to do debugging, as well as WireShark occasionally. This wiki runs using DokuWiki.
  
-===== Conventions ===== 
- 
-It's probably important to specify a few conventions that Chunk Stories uses. 
- 
-==== Master & Client ==== 
- 
-In the code and engine internals, you can see such nomenclature :​WorldClient,​ WorldMaster,​ isMaster() etc ... 
- 
-//Client// means 'Is an end-user : it can render the world, control entities etc' 
-//Master// means 'Runs the world logic, manages end-users and has the authority on it' 
- 
-I did not use '​client'​ and '​server'​ for good reasons : there is no reason a client can't also be a master : this situation happens when you have a local singleplayer or multiplayer world running on the bare client. 
- 
-==== Sides and axises ==== 
- 
-These sides are used face-related operation such as block selection or culling. 
- 
-  * 0 LEFT   (X-) 
-  * 1 FRONT  (Z+) 
-  * 2 RIGHT  (X+) 
-  * 3 BACK   (Z-) 
-  * 4 TOP    (Y+) 
-  * 5 BOTTOM (Y-) 
- 
-As you can see, the Y axis is height, X is east-west and Z north-south. 
- 
-==== Voxel Data Storage ==== 
- 
-The engine stores all voxels in 32-bit signed ( Java won't allow unsigned :c ) ints, packed in 32x32x32 cubical chunks, packed themselves in 8x8x8 regions.\\ 
- 
-{{ ::​voxel_bits.png?​nolink |}} 
- 
-These ints are composed as : 0xMMBSIIII\\ 
- 
-0->​15 ​ 16-bit I block**I**D,​ allowing for 65536 different blocks types\\ 
-16->19 4-bit  S Sun light from the sun\\ 
-20->23 4-bit  B Block light, "​yellowish"​ light from torches etc\\ 
-24->31 8-bit  M 8-bit metadata, extended from 4 bits in previous file formats revisions 
general_information.txt ยท Last modified: 2018/01/25 11:43 by gobrosse