Pages: [1]
Author Topic: Terrain, Volumetric Data and Marching Cubes  (Read 1074 times)
Offline (Male) Goombert
Posted on: May 05, 2013, 03:47:48 AM

Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3129

View Profile
I also plan to implement some terrain and volumetric rendering functions. If you have every played Mine Craft you have experienced marching cubes in a game, for instance when you dig under ground, the terrain is actually volumetric.

Code: [Select]
terrain_create(pixelerror, tilesize);
terrain_set_position(id, x, y);
terrain_set_automatic_draw(id, auto);
terrain_set_material(id, mat);
terrain_get_height(id, x, y);
terrain_draw(id, x, y);

Post any suggestions you may have :P
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: [1]