PDA

View Full Version : Re: Shadows



cloudandy
09-04-2001, 11:39 AM
Recently (message 20870)Andreas Klisch (Cloudandy) teached me, very efectively,


me how to get shadows from static aircrafts. Now I'm designing an airfield
that has a little museum, where one of the displayed planes is on a pedestal.
No difficult, but when I placed the plane atop I realized that the shadow is at


the main wheels level. Does anyone know how to put the shadow at ground level
when a 3D objet is elevated?.
Another question, if it is permitted. In my PC, FS2000's teh shadows are very
dark, vrey irreal. Is there a way to soften or lighten it?
Many Thanks
Gerardo Oviedo


Gerardo

I could read about a "ShadowPosition" command in the scasm documentation,
although I did never try out that.
Syntax: ShadowPos( Lat Lon ALt )

Perhaps it works if you place the line

ShadowPos( %1 %2 %6 )

just one line before your ShadowCall line. %1 and %2 are the lat/long
parameters, you won´t have to care about then. %6 is the altitude in metres at
which the shadow is displayed.
You should type in that altitude in your first user parameter (%6) in the
design program when placing the macro.
Hope that works.

The shadow colour: as far as I know, there is no way to change anything about
the appeareance of the shadows, although that could really be improved...

Andreas

papi22
09-05-2001, 07:03 AM
Hi, Andreas
It really works! Only that I've written %8 instead of %6 because parameters 6&7
are used for texture control, but 8 is not used in my macro. I've set this
parameter to 0 (zero elevation) and the shadow lies on the ground, as God
dictates. And of course, it moves according the sun's position.
Thanks again. Gerardo.




I could read about a "ShadowPosition" command in the scasm documentation,
although I did never try out that.
Syntax: ShadowPos( Lat Lon ALt )

Perhaps it works if you place the line

ShadowPos( %1 %2 %6 )

just one line before your ShadowCall line. %1 and %2 are the lat/long
parameters, you won´t have to care about then. %6 is the altitude in metres at
which the shadow is displayed.
You should type in that altitude in your first user parameter (%6) in the
design program when placing the macro.
Hope that works.

The shadow colour: as far as I know, there is no way to change anything about
the appeareance of the shadows, although that could really be improved...

Andreas