PDA

View Full Version : gmax troubles



bmorrow
02-17-2006, 10:34 PM
I'm having trouble with gmax exporting. Though my gmax units are set to metric meters, flight simulator model exporter reports that the model is not stored in meters.

second, makebgl creates the asm files, but errors out during compile with the following message:
\C:\Program Files\gmax\meshes\CYYZTower.asm(30) : error A2071: initializer magnitude too large for specified size
SCALE_AGL(6): Macro Called From
C:\Program Files\gmax\meshes\CYYZTower.asm(30): Include File


include model.inc
.code
include C:\Program Files\gmax\meshes\CYYZTem.asm
end


My scenery is contained completely with a 500 meter radius, so I do not comprehend this message.

The .asm file has:
; Final Status: 72992 polys
; Alpha Status: 0 polys
; Light Status: 0 polys
; Library Status: 0 polys
;
; Start Time: 02/15/06 19:37:41
; Stop Time : 02/15/06 19:47:28
;
; Modeling units = 2.0000
; Radius = 917220.1250
; Radius in meters = 917220.1250
; Radius in modeling units = 1834441


I don't understand why the radius is so large when the extents of my drawing are under 1000m square.

What am I doing wrong?
What I'd really like to do is export my buildings into an api that could be imported into airport. is there a gmax script available for this?

tgibson
02-20-2006, 11:48 AM
Hi,

While your display units are set to meters, your Unit Scale appears to be set to something else.

Choose Customize/Preference/General and check the System Unit Scale. This must be set to Meters. Of course, if you had it set to Inches (the usual default) now everything you've built is 39.37 times too large (the reason you got the error messages).

You then need to Edit/Select All, and then click the Uniform Scale button at the top of the screen. Then right click it and enter the inverse of 39.37 (0.0254) and then press Enter. Hopefully everything will be rescaled to the correct size.

Hope this helps,