akLattice, a renderer and physics simulator for voxel worlds
-
- Posts: 7
- Joined: Sat Oct 28, 2006 3:18 pm
akLattice, a renderer and physics simulator for voxel worlds
I hope you guys don't mind me posting this here; it isn't related to Wolfire except that I like Lugaru and you all seem to like experimental software.
I'm a big Dwarf Fortress fan, so I decided to try my hand at a renderer and physics simulator for voxel worlds (worlds made of cubes, like Dwarf Fortress, Minecraft, etc.). I've programmed up a renderer for such worlds using Ogre, including optimizations for high framerates. I've also implemented a water simulator (including the effects of pressure) and a structural stability simulator that causes unstable constructions to collapse into rubble. Maybe some of you would like to play around with it?
Features:
-Efficient 3D rendering of the simulated world. (Albeit with primitive graphics.)
-Efficient water simulation, including the effects of pressure. (Water will flow straight up when appropriate, like in Dwarf Fortress.)
-Structural integrity simulation, with different materials having different properties and unstable structures collapsing into rubble.
-Mouse and keyboard interface.
-Uses popular, free, open-source Ogre 3D engine.
-Code will be released as open source.
Controls:
-'Esc' to exit.
-'F1' for perspective mode, 'F2' for a horizontal cross-section, and 'F3' and 'F4' for perpendicular vertical cross-sections.
In perspective mode:
-mouse and WASD to fly around
In horizontal cross-section view mode:
-WASD to scroll around
-Q and E to move up and down a level, respectively.
-left-click to place blocks
-right-click to destroy blocks
-middle-click to create water
-block placement supports drag-selecting, even across levels (press Q or E while holding down the mouse button)
A word of warning: don't try to carve out large horizontal areas deep underground all at once. The program has to figure out where the weight of all the rocks above goes and this can take a *long* time. I'm still working on that.
To download, go to https://dl.dropbox.com/u/46417406/akLattice.zip. Right now, only a Windows build is available, but that is only because I have not had time to compile for other OS.
I'm a little unsure where to go with this next. I think it is pretty cool, but it isn't a game, just a sandbox. Maybe a game could be made with it?
I'm a big Dwarf Fortress fan, so I decided to try my hand at a renderer and physics simulator for voxel worlds (worlds made of cubes, like Dwarf Fortress, Minecraft, etc.). I've programmed up a renderer for such worlds using Ogre, including optimizations for high framerates. I've also implemented a water simulator (including the effects of pressure) and a structural stability simulator that causes unstable constructions to collapse into rubble. Maybe some of you would like to play around with it?
Features:
-Efficient 3D rendering of the simulated world. (Albeit with primitive graphics.)
-Efficient water simulation, including the effects of pressure. (Water will flow straight up when appropriate, like in Dwarf Fortress.)
-Structural integrity simulation, with different materials having different properties and unstable structures collapsing into rubble.
-Mouse and keyboard interface.
-Uses popular, free, open-source Ogre 3D engine.
-Code will be released as open source.
Controls:
-'Esc' to exit.
-'F1' for perspective mode, 'F2' for a horizontal cross-section, and 'F3' and 'F4' for perpendicular vertical cross-sections.
In perspective mode:
-mouse and WASD to fly around
In horizontal cross-section view mode:
-WASD to scroll around
-Q and E to move up and down a level, respectively.
-left-click to place blocks
-right-click to destroy blocks
-middle-click to create water
-block placement supports drag-selecting, even across levels (press Q or E while holding down the mouse button)
A word of warning: don't try to carve out large horizontal areas deep underground all at once. The program has to figure out where the weight of all the rocks above goes and this can take a *long* time. I'm still working on that.
To download, go to https://dl.dropbox.com/u/46417406/akLattice.zip. Right now, only a Windows build is available, but that is only because I have not had time to compile for other OS.
I'm a little unsure where to go with this next. I think it is pretty cool, but it isn't a game, just a sandbox. Maybe a game could be made with it?
Re: akLattice, a renderer and physics simulator for voxel wo
*Reads* Life just got better...*clicks download link*
Re: akLattice, a renderer and physics simulator for voxel wo
Looks cool! I'll play with it for a bit, see what comes out of it.
Surely could be a game made out of it.
Surely could be a game made out of it.
Re: akLattice, a renderer and physics simulator for voxel wo
*patiently awaits Mac Os builds*
Re: akLattice, a renderer and physics simulator for voxel wo
This looks cool! I will give it a try.
Re: akLattice, a renderer and physics simulator for voxel wo
Really cool stuff, especially the fluid simulation.
-
- Posts: 228
- Joined: Thu Jun 21, 2012 1:54 am
- Location: Inner Sanctum, Brennenburg Castle, Prussia
Re: akLattice, a renderer and physics simulator for voxel wo
I would love to but I must wait for Mac version.
-
- Posts: 491
- Joined: Tue May 08, 2012 6:00 am
- Location: Going over the Trump wall
Re: akLattice, a renderer and physics simulator for voxel wo
Interesting engine... All by yourself, right?