Author Topic: Full neb density  (Read 2669 times)

0 Members and 1 Guest are viewing this topic.

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
I can almost control the density in full neb mode.

I hope no one else has figured out how and that I have your attention.

We don't do it through coding, well not much anyway.  We do it in artwork.  I was playing with an idea for a system (tan poofs coupled with a skybox), and I stumbled onto it.

I took purple poof 2, and lowered the opacity to 30%.  Saved it as PoofTan01.  I also lowered the opacity on an nback and saved it as nbacktrans.  Had fantastic results, could see the skybox really well, but you were flying through dust clouds.  The problem is, we can only have 6 poofs to choose from.

I propose a slight bit of coding.  Instead of choosing between the six poofs listed on the neb table via check boxes, we remove the 6 poof limit, and we remove the check boxes, instead we have  6 drop menus that we can choose from.  These drop menus would pull the information directly from the nebula table, and list all poofs found as well as <none>.

Then we turn around and put out a whole slew of poofs at different opacity levels, say 12.5% increments per color.  Like PoofBlue01-12, PoofBlue01-25, PoofBlue01-37, PoofBlue01-50, etc etc to 100.  We do this for each current poof as well as new colored poofs.  We do the same with nback, and remove the 10 nback limit.

The only problem is this:


What can we do about it?  If we can figure this one out, we are good to go, and can control nebula density.
You can't take the sky from me.  Can't take that from me.

Casualties of War

 

Offline Yarn

  • 210
In the bottom-left area of the Background menu (below the normal nebula settings), there are two fields labeled "Fog Near" and "Fog Far Multiplier." These fields allow you to control the distance at which an object starts to fade out and the distance at which it is faded out completely. In your case, setting "Fog Far Multiplier" somewhere between 10 and 20 (or maybe higher) should produce the effect that you want.
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline Sushi

  • Art Critic
  • 211
Yarn beat me to it. I was all like "ooh, ooh! I know this one! I implemented that feature!" :D

 

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
RC6?
You can't take the sky from me.  Can't take that from me.

Casualties of War

 

Offline Sushi

  • Art Critic
  • 211
Yes, it should be there in all of the 3.6.14 RCs.

 

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
maybe i'd better download it then.

[edit]

ok got it.  I had no idea you guys were working on this.
« Last Edit: June 30, 2012, 03:54:08 am by ShadowWolf_IH »
You can't take the sky from me.  Can't take that from me.

Casualties of War

 

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
So what about drop menu instead of checkbox?  Even better than my orginal idea would be to have one drop menu and a window showing which poofs we have added, just like the neb window.  It allows us to create poofs in all colors.  Of course they would still have to be added to the table, that is a given.
You can't take the sky from me.  Can't take that from me.

Casualties of War

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
I'm actually working on trying to move beyond the "6 Poof" limit. Retaining it's functionality for compatibility purposes, but adding in a secondary field where you operate with color sliders and opacity levels to intermix what you want.

It'll probably require a whole new popup box editor in FRED to pull off though, which is one of the two things stalling me on it. The other one being the palette/file type read system, since the POOF code still only expects PCX and doesn't currently support any other format.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Forget about FRED if it's a problem. We know how to use notepad. As long as FRED doesn't erase the new lines when you open and save a mish with it.

Or, actually, even in that case.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

  

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
I'm actually working on trying to move beyond the "6 Poof" limit. Retaining it's functionality for compatibility purposes, but adding in a secondary field where you operate with color sliders and opacity levels to intermix what you want.

It'll probably require a whole new popup box editor in FRED to pull off though, which is one of the two things stalling me on it. The other one being the palette/file type read system, since the POOF code still only expects PCX and doesn't currently support any other format.


That is really odd.  I am saving my poofs in DDS and they are showing up.

For what it's worth, playing in the full nebs is currently my favorite new toy.  Thank you guys for giving this to us.  If you want to see it in action, view this thread  http://www.hard-light.net/forums/index.php?topic=81273.0
You can't take the sky from me.  Can't take that from me.

Casualties of War