Thread: -- Deleted --
View Single Post
Old 13.09.2006, 12:36   #7
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

Mirror looks like we are talking on different languages.
i know how it is stored and how to read it. i'm using 16-bit values directly from G16 texture.
the mess with a terrain you see is not couse of mispropreate reading or calculation of heights.

1. using high density blocks for any ground 128*128 points square is space-expencive a lot - blocks of geodata starting with 00 00 is not maden for nothing. just must define wich square of ground to represent as 00 00 block and wich should be more exactly presented with 40 00 blocks

2. i did not used terrain in walkability calculation - this is a main trouble all you see - couse square that have even single block-walkability flag would be automatically represented as 40 00 block ( changing this probably will fix first problem too)

3. as i sayd - same heights can give you totaly different relief - couse it depends on how you create triangles from it. (see images)
if you tace a look on ground in ///c_rmode 1 you will notice that method of triangulation of terrain is not constant (i mean not from north-west corner to south-east corner) - and the heights of terrain depends on it

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
var_a.jpg — 1918 байт
var_b.jpg — 1850 байт
Stazis is offline