Author Topic: How to remove ambient lighting :  (Read 3667 times)

0 Members and 1 Guest are viewing this topic.

How to remove ambient lighting :
Create a sun that is 128x128 size colour it all black and name is "remove_ambient.pcx"

create a tbl entry for the sun in stars.tbl like so :


$Sun:      reduce_ambient
$Sunglow:   reduce_ambient
$SunRGBI:   -1.0 -1.0 -1.0 -1.0

now create the background as usual and where-ever you place your sun also add the reduce_ambient sun at the same co-ordinates.

now play the mission - note the ambient lighting is now removed (ie you only get light specifically from the sun you placed)  i think it adds a lot of atmosphere.

here are some pictures :


 

 

 

 


hope people find this useful.  i am conducting further research into this at a later date to find out more about what can be achieved.  credit to icefire for finding this out.

o btw the high res texture fix DOES WORK. here are some picture to prove it :

 

 

 



------------------
The Babylon Project 2D Art / Texturing / Model Setup / Experimentation and Implementation

NEWBIE'S GUIDE TO THE VBB:

Enable Beam-free-all.

 

Offline untouchable

  • Fear the DA...
  • 28
    • http://www.3dap.com/hlp/hosted/da
How to remove ambient lighting :
Nifty
"The Darkness shall  befall us all."
-Commander William Wright

"Violence is merely the means of the incompotent"
-Felix Steighner
----------------------
The Darkness is Coming


Untouchable has spoken :D

 

Offline Jabu

  • One of our many cases
  • 29
How to remove ambient lighting :
  @ Z'ha'dum and especially the nebula. Yay for the Eagle nebula too.

Nice lighting trick too.

[This message has been edited by Jabu (edited 09-29-2001).]

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
How to remove ambient lighting :
O...M...G!!!!!

 !!!!

That nebula is AWWEEEESSSSOOOMEEE!

------------------
    -Director of the staff of Hidden Terror.
    -WebMaster of Imperial Productions

   
Quote
The fear always controls our attitude, let us fear no more!

 
How to remove ambient lighting :
HOLY**** THAT LOOKS NICE!!!!!

lighting looks amazing! it IS a big breakthru... but as for the high res backgrounds...look amazing! what kinda fps are you getting there tho?
I have carefully selected the following words of wisdom for my signature:
"Gravity, you win again." - Zack Brannigan.
"Real men over-clock their modems!" - Vertigo.
"Death to SIERRA/TNT/XOOM/Fortunecity" - Me.

 

Offline Kitsune

  • 27
How to remove ambient lighting :
*Blinks in shock*
Alright, THAT kicks *** !
~Space Kitsuné
6-Tailed RPG Nut.

"Why the hell don't we have any missles on this damn boat?!"
"But Sir, we have Tempests, Rockeyes, and unknown bombs."
"Like I said ensign, 'Why don't we have any missles on this damn boat?!"

"I went to a fight last night and a hockey game broke out."  -Groucho Marx

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
How to remove ambient lighting :
Thanks for the mention CptWhite  

Definately very cool.  I tested some settings that make it look like StarLancer's ambient blues and greens and it definately works out quite nicely.  Of course, there are other colors to test as well.

In any case, it adds some atmosphere to things.

The only disadvantage is that you go totally blind when you look at the sun.  So don't look at the sun (because your using 2 suns)  
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
How to remove ambient lighting :
     

AWESOME!!!

------------------
America, stand assured that Israel truly understands what you are going through.

"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar, the CapShip Turret Upgrade, the Complete FS2 Ship List and the System Backgrounds List (all available from the site)
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
How to remove ambient lighting :
Holy crap... that is amazing. This was one of my major gripes with the FS2 engine - no shadows. You've silenced me, that's for sure...  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Shrike

  • Postadmin
  • 211
    • http://www.3dap.com/hlp
How to remove ambient lighting :
 
Quote
Originally posted by Setekh:
Holy crap... that is amazing. This was one of my major gripes with the FS2 engine - no shadows. You've silenced me, that's for sure...  

*coughs*  You do realise we're using this in MT as well?  Trust me, having played with it on, it's not as fun as it sounds.  It's a fair bit harder to judge distances, which is realistic, I suppose.... but a bit annoying.  

Anyhow, about the backgrounds, while they are nice, could you make 256x256 versions for those of us, who for some reason get crummy large bg images?  (Like me, my big planets just sucked for some reason)
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
How to remove ambient lighting :
 
Quote
Originally posted by Shrike:
*coughs*  You do realise we're using this in MT as well?  Trust me, having played with it on, it's not as fun as it sounds.  It's a fair bit harder to judge distances, which is realistic, I suppose.... but a bit annoying.    

Anyhow, about the backgrounds, while they are nice, could you make 256x256 versions for those of us, who for some reason get crummy large bg images?  (Like me, my big planets just sucked for some reason)

  No, I didn't know that   Besides, I didn't say anything about fun. I can make a bright background to put the entire thing on if I want. It looks cool, at the very least - that's what I was pointing out  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Raven2001

  • Machina Terra Reborn
  • 211
  • Im not the droid your looking for, move along
How to remove ambient lighting :
Man! You just found out what I was still trying to do!  

Thx a lot! I'll use your knowledge in caught in the middle   That's a big break trough!

Icefire: could you tell us how did you do that lightning similar to starlancer? PLease!!!
Yeah, I know you were waiting for a very nice sig, in which I was quoting some very famous scientist or philosopher... guess what?!? I wont indulge you...

Why, you ask? What, do I look like a Shivan to you?!?


Raven is a god.

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
How to remove ambient lighting :
hey! I knew that for long too! I was just said not to talk about it for I don't remeber what reason. But the effect can be improved  
SCREW CANON!

  
How to remove ambient lighting :
MT secret weapon eh? uncovered !

These pictures were a test - im going to improve on the effect now.

To whoever it was who mentioned low res background art.  Dont worry.  High Res work comes as an "upgrade" pack -  ie all work is 256x256 if you download the standard version.  I would like to ask a few questions that you might want to check :

have you enabled the keys in the registry correctly   obvious i know

what card have you got - can it hanle high res textures

YOUR SETUP IN freespace 2 - is hardware acceleration on FULL -  it needs to be

do you have the high res background installed correctly in /effects  or in /maps

------------------
The Babylon Project 2D Art / Texturing / Model Setup / Experimentation and Implementation

NEWBIE'S GUIDE TO THE VBB:

Enable Beam-free-all.

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
How to remove ambient lighting :
 
Quote
Icefire: could you tell us how did you do that lightning similar to starlancer? PLease!!!

Sure....no problem.  After I figured out howto remove the background and passed that along to CptWhite to play with (we'd been looking for ways to do that for a while) it was the next logical step.

Make a new sun called 'BackBlue.pcx'.  Now...there are four numbers under all stars.  The Red, Green, Blue and Intensity.

For a dark blue background, try this.

RGBI: 0.0 0.0 0.4 -1.0

Now, place the BackBlue.pcx at the same co-ordinates as the sun already in the mission (or make one and then place it at the same co-ordinates).  The -1.0 for intensity will display the blue light on the opposite side of the regular sun so that the color fills the "dark side" of the ship.

Thats howto do it.  Mind you, StarLancer's got some fancy metalic shine stuff (specular highlighting) and FS2 doesn't have that...the rest of it looks pretty damn snazzy  
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Anduril

  • 25
How to remove ambient lighting :
  Yes!
Amazing! There's so much you can do with this! This has also been a big gripe for me, and having true shadow effects will be AWESOME. The blue-tint background sounds awesome, and those high-res backgrounds are stunning too. Great job White and Icefire!



[This message has been edited by Anduril (edited 09-30-2001).]

 

Offline Grey Wolf

How to remove ambient lighting :
Too bad you can't have ST-style lights mounted on the ships...
You see things; and you say "Why?" But I dream things that never were; and I say "Why not?" -George Bernard Shaw

 

Offline aldo_14

  • Gunnery Control
  • 213
How to remove ambient lighting :
What about the $ND value - what effect has that?

BTW, I have a set of ships that would look f-in braw with that lighting.  

------------------
Searching for the very souls who've already been told

RECIPROCITY[/url]

            [email protected]            
ICQ: 119819902

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
How to remove ambient lighting :
Given the right settings, you could make some pretty nice renders with that.
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.