- Joined
- Jan 5, 2009
- Messages
- 219
- Reaction score
- 0
- Points
- 16
- Location
- Near Verona
- Website
- orbiteritalia.forumotion.com
Hi guys
I have an idea,and want to know if i can achieve it.
Orbiter gives us the ability to use the spot light or point light by varying the intensity:
LightEmitter *le = AddPointLight (_V(0,-2.0,-29), 200, 1e-3, 0, 2e-3, col_d, col_s, col_a);
le->SetIntensityRef (&th_main_level);
It would be possible to transform the dynamic pressure in a level to simulate the heating of the shield?
double i20;
i20=GetDynPressure();
if (i20 < 0 ) i20= 0;
if (i20 > 100 ) i20= 1;
SpotLight *le1 = (SpotLight*)AddSpotLight (_V(0.0,-10.0,20), _V(0,0.3,-1.0), 150, 1e-3, 0, 1e-3, RAD*45, RAD*80, col_r, col_r, col_a);
le1->SetIntensity (i20);
But that does not work:facepalm:
I have an idea,and want to know if i can achieve it.
Orbiter gives us the ability to use the spot light or point light by varying the intensity:
LightEmitter *le = AddPointLight (_V(0,-2.0,-29), 200, 1e-3, 0, 2e-3, col_d, col_s, col_a);
le->SetIntensityRef (&th_main_level);
It would be possible to transform the dynamic pressure in a level to simulate the heating of the shield?
double i20;
i20=GetDynPressure();
if (i20 < 0 ) i20= 0;
if (i20 > 100 ) i20= 1;
SpotLight *le1 = (SpotLight*)AddSpotLight (_V(0.0,-10.0,20), _V(0,0.3,-1.0), 150, 1e-3, 0, 1e-3, RAD*45, RAD*80, col_r, col_r, col_a);
le1->SetIntensity (i20);
But that does not work:facepalm:
Last edited: