I was bored a little, so I made a random feeder for cavegen and merged it with latest version of voxlap. Results are cool. Run "generate.bat" to generate a random map, and after it's finished just run "justfly2.exe"
You can get it here http://duke4e.sitesled.com/justfly2.rar
Enjoy
Tomkh at
Thanks,
Very good idea actually !
It stimulated some very nice ideas in my head (!)
Hope to be able to find time to make some experiments to verify
how good they are before just shouting them out loud.
duke4e at
for seed i take number between 1 and 15
for number of rocks i take number between 7000 and 14000
for number of textures i take number between 3 and 6 and then take random textures
for ground position i take number between 240 and 255
if you have any more ideas how to improve the code, please take a look at the randomcave.bmx. it's a sourcecode for blitzmax (blitzmax is cool hardware accelerated qbasic-alike coding language, you can get a fully functional 30 day trial from blitzmax.com), or you can easily translate the sourcecode to the language you prefer.
I know that my feeder is far from perfect, but i just wanted to show up that cavegen.exe is so much more than those 6.bat files from cave demo.
i am a big fan of procedural graphics and computer randomness, but i still have much to learn. i think that hardware accelerated voxels (3d bilinear filter?!) +randomness + procedural graphics is the technology for the future. i'm a big fan of your (and Kens) work, and i really apriciate what you do!