So, I came up with an idea to make Voxel based isometric terrain for the game.
At first, I made isometric tile based terrain which supported some height values (1st part).
Secondly, I used Cubic Spline Interpolation for both, X and Z axis to create smooth edges for the terrain.
That way I created prime voxels. (2st part)
Later, I found a solution to draw voxels properly (3rd part), though the method is rather too slow for real time rendering.
4th part shows how I implemented texture displaying on the terrain.
Terrain collisions already have been implemented.
Practical Use
To export the terrain as image tiles and use it in the game.
Plans
Shadow mapping, at the moment color changes only due to different height.
Texture bumping, shadows will also be affected by texture layer.
Export terrain tiles as proper images.
Download Part 2 Demo (Note: Runs in OpenGL)
Link: http://ul.to/sy83db51
Download Part 3 Demo (Note: Runs in OpenGL)
Link: http://uploaded.to/file/8v7aqppx
Download Destructible Voxel Terrain Demo (Note: Runs in DirectX)
Link: http://ul.to/1f5jc3qj
Progress Screenshots
First 3 Hours Development
1st Update: Light Sources Test
2st Update: Destructible Terrain and Voxel Surface Mapping
I hope you'll find this interesting!
edited 8×, last 30.12.11 12:23:10 am