HEllo all
conidering Files with extensions .bgs as source files of BGLC.exe i am posting my question here:
does anyone know how to edit bgs files with LWM poligons? i thought doing it right by adjusting LWMPoly Level3 (these-ones which flattens but also allow degradings, cliffs, etc.) as i want to correct altutude values of each point, but i get no result. I work with slartibartfast to create rivers and lakes, but actually my river does not have correct altitudes, or it goes like a snake vertically up and down with the height values... so i tried to correct the BGS with no better result. See this example
original "snake"-LWM
my corrected value entries
the best would be if someone knows how to edit BGS -Files, maybe in a WYSIWYG -Editor or better importing them into progs like ground2k4 (.lwm -files).
does anybody know what i copuld do to tweak the bgs -files?
thanks a lot
Francis
conidering Files with extensions .bgs as source files of BGLC.exe i am posting my question here:
does anyone know how to edit bgs files with LWM poligons? i thought doing it right by adjusting LWMPoly Level3 (these-ones which flattens but also allow degradings, cliffs, etc.) as i want to correct altutude values of each point, but i get no result. I work with slartibartfast to create rivers and lakes, but actually my river does not have correct altitudes, or it goes like a snake vertically up and down with the height values... so i tried to correct the BGS with no better result. See this example
original "snake"-LWM
include TDFMacros.inc
include TDFHeaders.inc
_Water_ EQU 0
_Land_ EQU 1
_Flatten_ EQU 2
_Transparent_ EQU 3
_WaterLevel_ EQU 0
BGLHeader -10, -15, -70, -75, LWMHeader, TerrainHeaderStart
LWMHeader label word
LWMFileHeader 768, LWMIndexStart, LWMStart, LWMEnd
; Start of cell data
LWMStart label word
Cell_224x288 EQU LWMCellID 1, 0, _CellType_224x288_, 224, 288
datamark_224x288_S label word
datamark_224x288_E label word
_CellType_224x288_ EQU _Transparent_
Cell_225x288 EQU LWMCellID 1, 0, _CellType_225x288_, 225, 288
datamark_225x288_S label word
LWMDataAreaDrawPolygons 1,_Transparent_,1,6,0
LWMPoly3 23,0,_Water_,416,0,448,0
LWMPoint3 254, 45, 23 ; 419.00
LWMPoint3 255, 45, 23 ; 419.00
LWMPoint3 255, 79, 0 ; 416.00
LWMPoint3 254, 80, 0 ; 416.00
LWMPoint3 247, 95, 39 ; 421.00
LWMPoint3 247, 96, 135 ; 433.00
LWMPoint3 249, 99, 135 ; 433.00
LWMPoint3 251, 100, 135 ; 433.00
LWMPoint3 255, 104, 223 ; 444.00
LWMPoint3 255, 164, 31 ; 420.00
LWMPoint3 254, 162, 31 ; 420.00
LWMPoint3 239, 141, 95 ; 428.00
LWMPoint3 236, 130, 143 ; 434.00
LWMPoint3 229, 122, 143 ; 434.00
LWMPoint3 223, 113, 143 ; 434.00
LWMPoint3 211, 95, 167 ; 437.00
LWMPoint3 212, 78, 255 ; 448.00
LWMPoint3 213, 76, 255 ; 448.00
LWMPoint3 221, 67, 255 ; 448.00
LWMPoint3 233, 66, 0 ; 416.00
LWMPoint3 243, 58, 0 ; 416.00
LWMPoint3 254, 47, 0 ; 416.00
LWMPoint3 254, 45, 0 ; 416.00
my corrected value entries
include TDFMacros.inc
include TDFHeaders.inc
_Water_ EQU 0
_Land_ EQU 1
_Flatten_ EQU 2
_Transparent_ EQU 3
_WaterLevel_ EQU 0
BGLHeader -10, -15, -70, -75, LWMHeader, TerrainHeaderStart
LWMHeader label word
LWMFileHeader 768, LWMIndexStart, LWMStart, LWMEnd
; Start of cell data
LWMStart label word
Cell_224x288 EQU LWMCellID 1, 0, _CellType_224x288_, 224, 288
datamark_224x288_S label word
datamark_224x288_E label word
_CellType_224x288_ EQU _Transparent_
Cell_225x288 EQU LWMCellID 1, 0, _CellType_225x288_, 225, 288
datamark_225x288_S label word
LWMDataAreaDrawPolygons 1,_Transparent_,1,6,0
LWMPoly3 23,0,_Water_,416,0,416,0
LWMPoint3 254, 45, 23 ; 416.00
LWMPoint3 255, 45, 23 ; 416.00
LWMPoint3 255, 79, 0 ; 416.00
LWMPoint3 254, 80, 0 ; 416.00
LWMPoint3 247, 95, 39 ; 416.00
LWMPoint3 247, 96, 135 ; 416.00
LWMPoint3 249, 99, 135 ; 416.00
LWMPoint3 251, 100, 135 ; 416.00
LWMPoint3 255, 104, 223 ; 416.00
LWMPoint3 255, 164, 31 ; 416.00
LWMPoint3 254, 162, 31 ; 416.00
LWMPoint3 239, 141, 95 ; 416.00
LWMPoint3 236, 130, 143 ; 416.00
LWMPoint3 229, 122, 143 ; 416.00
LWMPoint3 223, 113, 143 ; 416.00
LWMPoint3 211, 95, 167 ; 416.00
LWMPoint3 212, 78, 255 ; 416.00
LWMPoint3 213, 76, 255 ; 416.00
LWMPoint3 221, 67, 255 ; 416.00
LWMPoint3 233, 66, 0 ; 416.00
LWMPoint3 243, 58, 0 ; 416.00
LWMPoint3 254, 47, 0 ; 416.00
LWMPoint3 254, 45, 0 ; 416.00
the best would be if someone knows how to edit BGS -Files, maybe in a WYSIWYG -Editor or better importing them into progs like ground2k4 (.lwm -files).
does anybody know what i copuld do to tweak the bgs -files?
thanks a lot
Francis

