- Messages
- 111
- Country
I hope I havent't missed something, but I did some research quiet a long time...
I made a low-quality ground polygon with gmax for testing purposes.
It is shown, but no defined as ground poly, as described in this thread:
Thread
But I cannot find the text which I should change for ground polys
This is my ASM-File:
Do I need better glasses, or did I make another mistake?
I made a low-quality ground polygon with gmax for testing purposes.
It is shown, but no defined as ground poly, as described in this thread:
Thread
But I cannot find the text which I should change for ground polys
This is my ASM-File:
Code:
; compile with BGLC /MDL C:\Dokumente und Einstellungen\Simon\Desktop\wien.asm
db 'R','I','F','F' ; RIFF file identifier
dd bgl_data_end - $ - 4 ; size of RIFF data
db 'M','D','L','9' ; file identifire (FS9 model)
db 'M','D','L','H'
dd visual_model_header_end - $ - 4
dd visual_model_header_end - $ - 4
dd 0
dd 0
dd 21587
dd 0
dd 0
dd 152
db 'F','S','8','0'
dd 2304
visual_model_header_end label dword
db 'I','S','F','T'
dd ver_end - $ - 4
db "MakeMDL - FS90 (9.00.030612.02)",0
ver_end label word
bounding_box_riff_start label word
db 'B','B','O','X'
dd bounding_box_riff_end - $ - 4
real4 -13443.909, 0.000, -16878.465
real4 13436.091, 0.000, 16889.535
bounding_box_riff_end label word
model_outside label BGLCODE
model_shadow label BGLCODE
model_inside label BGLCODE
crash_riff_start label BGLCODE
db 'C','R','A','S'
dd crash_riff_end - $ - 4
BGL_CRASH_START model_crash_end, 21587
BGL_CRASH_OCTTREE crash_end_1
dw CRASH_FLAG_BUILDING_PLANE ; crash type
dw 1 ; nodes used
real4 -13443.909180,0.000000,-16878.464844 ; Box x,y,z
real4 26880.000000,11256.000000,33768.000000 ; Box w,h,d
dw 1, 1, 1, 1, 1, 1, 1, 1 ; base offset into node table, one for each top-level branch
; So if you take branch 2 (count from 0), you add 1 to indices you encounter on that branch
; Nodes (254=empty 255=full, else an index into branch)
OCTTREE_NODE 254, 254, 254, 254, 254, 254, 254, 254 ; node 0
crash_end_1 label word
model_crash_end label word
BGL_RETURN
crash_riff_end label BGLCODE
exterior_riff_start_0 label BGLCODE
db 'E','X','T','E'
dd exterior_riff_end_0 - $ - 4
LOD_0L label BGLCODE
include C:\Dokumente und Einstellungen\Simon\Desktop\wien_0.asm
exterior_riff_end_0 label BGLCODE
bgl_data_end label BGLCODE
Do I need better glasses, or did I make another mistake?