3D Mesh Tile

Blitz3D Forums/Blitz3D Programming/3D Mesh Tile

AbbaRue(Posted 2004) [#1]
I have added a 3D Mesh Tile creation algo to the Code Archives.

http://www.blitzbasic.com/codearcs/codearcs.php?code=1031

Has Nice Form. The Mesh is shaped with Random heights, and smoothing.
Check it out and let me know what you think about it.
The "E" key will generate the Mesh. Then use the curser keys to turn the mesh for viewing.
Also use Del. Ins. for turning around Y axes.
Also try Home and PageUp keys.
Number keys are used for manual Mesh Creation.
Order I used: 9 5 4 8 7 1 3. Write it down and try it.
'zero key clears mesh, Z and X keys allow you to move around in the mesh.
Then use T and V keys to raise and lower a Vert. "B" to zero a vert.
It's wire frame so you can see the verts.
It creates a 19x19 vert. Tile. but that could be changed if needed.
I suggest 19, 55, 81 for best results.
Because these values can be subdivided by 3 easily.
I use 9 tiles then make a ring around them of 8 Tiles each 3 times a big.
You can then use as many rings out as you want, each 3X as large a tile.