I am trying to create a quadtree based terrain for a “data driven” game.
I understand how to create the quadtree but am a little fuzzy on the terrain. Here is a sample of the terrain where 0’s are a valid portion of the race track and 1’s are out of bounds.
1111111111111111111111111111111111111111111111111111111111111111
1111111111111115111111111111111181111111111111116111111111111111
1111111111111111111111111111111111111111111111111111111111115111
1111611111111111111111111111111111111111111111111111111111111111
1111111111111111111111111116111111111115111111111111111111111111
1111111117111111111111111111111111111111111111111171111111111111
5111111111111111111151111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111
1111111161111111111111111111111111111111111111111111111116111111
1111111111111111111111110000000020000000001111111111111111111111
1111111111111111111000000000000020000000000000111111111111111111
1111111111111111000000000000000020000000000000001111111111111111
1111151111111110000000000000000020000000000000000011111511111111
1111111111111000000000000111111111111000000000000001111111111111
1111111111100000000000111111511111111111100000000000011111111111
1161111110000000000011111611111111111111111100000000001111111111
1111111100030000001111111111111111116111111111100000000111116111
1111111100000001111111111111181111111111111111111000300111111111
1111111000000011111111111111111111111111115111111100000011111111
1111111000000111111161111111111111111111111111111110000011111111
1111110000001111111111111111151111111111111111111111000011111111
1511110000011111111111111111111111111711111111611111000011115111

one idea was to simpily make a heightfield terrain off of this data and set the y coords to 0. any ideas?
-incus

[This message has been edited by incus (edited 11-17-2002).]

What, exactly, is it that you have trouble with?

You’re gone be using a paint program or something to create your track? Use a modeling package or create a simple one yourself.

Anyway, if you know how to convert that thing to a heightfield and texture it right …

V-man