PDA

View Full Version : Re: Street Light Beam of Light....



cloudandy
08-27-2001, 11:31 AM
Dear All.
Greetings!
"Huston, We have a Problem" as the saying goes, I seek Help from the Mission
Control of the Flight Sim World. Okay now, here We go....
I made a Street Light API using EOD. Not being a SCASM programmer, I made an
Inverted Cone to represent the Beam of Light. What I do, is make a Transparent
bitmap for day, and a semi-transparent bitmap for night. It works well, but for


dawn and dusk, when the Beam shows opaque instead of semi-transparent. I am
using a WHITE bitmap for day and night. The day bitmap is set to FULLY
TRANSPARENT using BMP2000. And using the same, I set the night bitmap to
TRANSPARENCY SETTING '64'. It is Lovely @Day and @Night, but Ugly @Dawn and
@Dusk. So, HELP!!!!!
Manish

Hello Manish

Thatīs the FS2000-mipmap-bug when using transparent _lm textures. Then
at dusk/dawn your transparent image becomes opaque. This bug is fixed in
CFS2. But for FS2000, you can partially workaround it by applying what I use to
call "dummy polygons" behind the problem polygons. This polygon must use
the same 3D points as the problem polygon and must be a total transparent
colored poly. But for your case that would not work, unfortunately.
You can only workaround the bug if your bitmap has total transparency. For
semitransparency, it wonīt work. So I would recommend to use colored polygons
instead of the bitmap poly. X-matīs "Scasm Editor" can generate the
"light beam call" which gives a very nice effect. But this command is difficult

to handle for FS2000 because beam rotation and scaling does not work in a
logical way.

Andreas