Hi again:
Is the described 'Effect being used to represent a light halo in conjunction with a light pole object' ...something which is unique to the FSX sim platform that
must be in a FSX MDL format (
ex: due to requirements for Draw Call Batching, or for display in FSX DX-10 Preview mode) ?
If not, have you tried using a FS9 format MDL file to place these light pole objects (most FS9 MDLs
do properly display in FSX), and if a FS9
and FSX compatible *.BMP file type DXT3 for gradient transparency is used as the mapped texture for the light halo, IIUC there should
not be problems with FSX display showing "incomplete transparency / excessive opacity" in the background of that texture.
http://www.fsdreamteam.com/forum/index.php?topic=2199.0;wap2
http://www.fsdeveloper.com/forum/threads/transparency-dxt3-drawing-order-issue.4521/
http://www.fsdeveloper.com/wiki/index.php?title=Category:Texturing
As far as this apparent 'gotcha' with Effect altitude offset due to use of a Effect 'Controller' *.Fx file used as an attachment which "calls" a nested / batched 'Basic' Effect *.Fx file, IMHO it would be very helpful for the FSDeveloper Community to know more about whether any other possible characteristics may apply to the type of FSX format
MDL file being used with these attached Effects showing the "offset anomaly".
The only reason I was trying to use a control file was to avoid not having the effect visible when flying into the airport. It seems that effects placed using attach points will load anyway, it doesn't seem to suffer the problem that effect placed one by one using XML code suffers that must use a control file in order to properly display when flying into the airport.
This is a rundown of my discovery:
Effect placed using AttachPoint in MDL with a controller = Effect displays at different altitude when you start at the airport and when you fly to the airport.
Effect placed using AttachPoint in MDL without a controller = Effect displays as normal, whether you start at or fly into the airport.
Could you post in this thread such a MDL with attached *.Fx that you tested, and which
does demonstrate the *.Fx "Altiude offset" behavior you observed ?
PS: Is the reason you are using a 'controller' type of Effect to set Effect display parameters for the AttachPoint on the MDL because it (thus far) seemed not possible to set the needed parameters via the
MCX Attached object editor "
Effect parameter form" ?
http://www.fsdeveloper.com/wiki/index.php?title=ModelConverterX#Attached_object_editor
[
EDITED]
FYI: In most cases, it is now possible to set the "Time of Day" (for 'properly functioning' Night / non-daytime attached Effect display) by using the MCX Attached object editor "Effect parameter form" to create the
2 separate entries for attached Effect parameters.
CAVEAT: 2 Effect parameter "Time of Day" entries are actually required for 'properly functioning' Night / non-daytime Effect display due to a FS "bug" with "Time of Day" in Effect parameter processing) :
http://www.scenerydesign.org/2010/09/duplicate-attached-objects/
http://www.fsdeveloper.com/forum/threads/day-0-night-1-dusk-1-dawn-1-not-working.323349/#post-511548
http://www.fsdeveloper.com/forum/threads/effects-problem-solved.830/page-2#post-4552
Some additional considerations as to Effect 'type' which may
or may not correlate with use of a type number when setting Effect placement parameters for certain FS default *.Fx files:
http://www.fsdeveloper.com/forum/threads/ground-lights.171669/
http://www.fsdeveloper.com/wiki/index.php?title=Apron_lighting_using_effects_and_GMax
BTW: A particularly interesting tutorial by Jim Robinson which, IIUC, describes using a AttachPoint with a light object:
1.)
FS9 Light Pole Object with attached BGL_Light *.ASM source file compiled via BGLC_9 to a
FS9 MDL
2.)
FS9 MDL Object compiled into a
FS9 BGLComp XML scenery object library
3.)
FS9 Library Object attached to a Light Pole imported into ModelConverterX (aka "MCX")
a.)
FS9 Object Modified as a
FSX object via the MCX Attached object editor by referencing it with the FSX GUID version of its FS9 original GUID
4.) Resulting object
with Light Pole attached via MCX exported / compiled to a
FSX object within a
FSX BGLComp XML scenery object library
5.)
FSX Library Object with attached Light Pole placed via
FSX BGLComp XML
http://www.fsdeveloper.com/forum/threads/effect-parameters-using-fsx-attach-tool.429670/
[
END_EDIT]
Thanks for bringing this apparent new MDL AttachPoint Effect altitude offset
gotcha' to the attention of the FSDeveloper Community.
GaryGB