autogenerate island mesh

Blitz3D Forums/Blitz3D Programming/autogenerate island mesh

ckob(Posted 2006) [#1]
Just wondering if anyone could point me in the right direction here?


I would like to write a program that autogenerates and island kinda like the picture above, players can walk on the top of the islands so it would need to be smoother but the bottem doesnt have to be other then modelling these how would I go about autogenerating them. I thought about two landscapes one flipped upside down but that looks kinda retarded.


Bobysait(Posted 2006) [#2]
Maybe with Heightmap and terrain engine features .

if i'd try do it, i'd use 2 complementary heightmap one for the top and other for the bottom .
=> setting a color to be "Non mesh area" like 0,0,0 , then just read each pixel, and built a terrain mesh without "modeling" the aera with black pixel .

Not really the same that your screen, but unless using some random meshes code to make a base model, and then copy it randomly with different scale at different position... so there will have tons of tri that won't be need ...