- Messages
- 18
- Country

Hi all:
I am working on an Arequipa Scenery Proyect (SPQU) originaly I was working whit FSArquitec (photo texture grid), but now I decided to try to work whit GMAX (just to make it a more complicated and learn on the development)
I created an similar phototexture grid which works perfectly, using ground poligons as stated on the Wiki.
Also I added using the loft method, lines for the taxyways...
but here is the problem, when I compile the 2 asm, joining them in one, (as in the wiki again), the Ground Polys and the Lines, does not match the place were they were drawm on GMAX, they are displaced form each other.
Although I can correct this on GMAX (grouping the lines, lofts and then move them to a displaced location so when I compile there are now aligned) I wanted to ask what could be the cause of the displacement, before trying to move then away.
Here is a couple of screenshots becose an image is worth millons of words, one from GMAX and other from FS.
Besides this it works.
In GMAX, Lines correctly aligned:

On FS Lines Displaced from it position:

This is the ASM Code used for Compile:
Thanks a lot for your help, and thanks to everyone wich help on this community.
I am working on an Arequipa Scenery Proyect (SPQU) originaly I was working whit FSArquitec (photo texture grid), but now I decided to try to work whit GMAX (just to make it a more complicated and learn on the development)
I created an similar phototexture grid which works perfectly, using ground poligons as stated on the Wiki.
Also I added using the loft method, lines for the taxyways...
but here is the problem, when I compile the 2 asm, joining them in one, (as in the wiki again), the Ground Polys and the Lines, does not match the place were they were drawm on GMAX, they are displaced form each other.
Although I can correct this on GMAX (grouping the lines, lofts and then move them to a displaced location so when I compile there are now aligned) I wanted to ask what could be the cause of the displacement, before trying to move then away.
Here is a couple of screenshots becose an image is worth millons of words, one from GMAX and other from FS.
Besides this it works.
In GMAX, Lines correctly aligned:

On FS Lines Displaced from it position:

This is the ASM Code used for Compile:
Code:
header label word
dw 0001 ; 00 World set number
dd 0FFE45144H ; 02 North bound
dd 0FFE43E98H ; 06 South bound
dd 0CD1AB66DH ; 10 East bound
dd 0CD1AB66BH ; 14 West bound
dw 20 dup(0)
dd (offset OBJECT_DATA) - (offset header)
dw 33 dup(0)
OBJECT_DATA label word
db 21 ;;LATBAND_REL
dw 0F220h ;;lat min (inclusive) 512M units
dw 0F22Ah ;;lat max (exclusive)
dd (offset OBJECT_0) - (offset OBJECT_DATA)
db 0 ;;EOL
OBJECT_0 label BGLCODE
db 12 ; NEAR_FAR_HUGE_OBJECT_HEADER
dd 0FFE447EEh,0CD1AB66Ch ; latitude,longitude
db 100 ; image power
dd (offset OBJECT_0_END) - (offset OBJECT_0)
OBJECT_0_START label word
ADDCAT OBJECT_0_PHOTO, 8
ADDCAT OBJECT_0_APRON, 12
BGL_JUMP_32 OBJECT_0_END
OBJECT_0_PHOTO label BGLCODE
SCALE_AGL OBJECT_0_RETURN, 20000, 2390, 131072, 0FFE447EEh, 0C80Ch, 0CD1AB66Ch, 09F9Dh, 0, 0
include aqp_grd_0.asm
OBJECT_0_APRON label BGLCODE
SCALE_AGL OBJECT_0_RETURN, 10000, 2390, 131072, 0FFE447EEh, 0C80Ch, 0CD1AB66Ch, 09F9Dh, 0, 0
include aqp_lines_0.asm
OBJECT_0_RETURN label word
BGL_RETURN
OBJECT_0_END label word
EOF
Thanks a lot for your help, and thanks to everyone wich help on this community.



