Posted: Mon Nov 24, 2003 2:44 pm
Does anyone know MaxScript? I think it would be possible to dump the z locs into text file in a format we could use to out put an image elevation map.
i.e. MaxScript does this: Gets the X and Y and then gets the Z for each individual X and Y.
X Y Z
1 2 3
2 3 4
(So at loc 2, 3 (XY) the elevation is 4) Then we could write a small app to parse the text file and go like this (X = imageX, Y = imageY then it takes the Z and compares it to an array which corresponds to various shades of a color (I think blue and black would be nice (black being 0)) and sets that pixel to the appropriate shade).
Then, when all is said and done we have a height map. This would eliminate the need to plot a bunch of stuff and we could just overlay the SEQ maps on top of our height maps. It would be kind of tedious work to parse each zone in 3DSMax though, but it would be worth it in the long run.
i.e. MaxScript does this: Gets the X and Y and then gets the Z for each individual X and Y.
X Y Z
1 2 3
2 3 4
(So at loc 2, 3 (XY) the elevation is 4) Then we could write a small app to parse the text file and go like this (X = imageX, Y = imageY then it takes the Z and compares it to an array which corresponds to various shades of a color (I think blue and black would be nice (black being 0)) and sets that pixel to the appropriate shade).
Then, when all is said and done we have a height map. This would eliminate the need to plot a bunch of stuff and we could just overlay the SEQ maps on top of our height maps. It would be kind of tedious work to parse each zone in 3DSMax though, but it would be worth it in the long run.