Generating a heightmap 2004-02-24 - By Lucas Meijer
Back Hey Ian,
That's a lot of things you tried there :-)
Normally, I let a maxscript generate my heightmaps. Since you're making this scene using lingo itself, that gets a bit tricker.
one idea that comes to mind is this:
for each tile aim an orthographic camera on it, from the top, making it view exactly the entire tile. set the camera.z to say, 1000 set the far clipping plane to 1000. repeat: render if render = totally background color -> exit repeat else bring far clipping plane closer end repeat this tile's maxheight = current clipping plane value (compensated for camera position) end for each tile
Other than that I think the easiest way would be to somehow export your scene to a 3d authoring app, which should make a heightmap for you nicely.
Bye, Lucas __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|