On 6/27/05 9:34 AM, "Joseph J. Strout" <joe at realsoftware dot com> wrote:
> At 12:59 PM -0400 6/24/05, Seth Duke wrote:
>
>> Now, I have it set up to have a matrix representing the terrain, and a
>> second matrix that represents the new height change map. I then merge the
>> two matrices together replacing each value with the Max(newVal, oldVal).
>
> Why? Wouldn't it be easier to just operate directly on the terrain map?
Yea, I think your right. I have about 15 versions of this thing so far,
while doing experiments to see what works best.
I think I need to have a larger matrix though. So that the matrix would
represent the four points of each tile, so based on the positions of a tiles
four points I can determine the right image to show for the correct angle
view.
One thing I think I will most definitely need to do is some how determine
what exactly changed on the matrix so I don't end up updating the grid
images for the entire map when only a small portion really needs updating.
When I get something useful, ill post a little demo.
Thanks for the input everyone...
-Seth
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|