Author Topic: A celebration of Freespace  (Read 2674046 times)

0 Members and 5 Guests are viewing this topic.

Offline Axem

  • 211
Re: A celebration of Freespace
Oh no, now everyone will know that Laporte hijacks the Atreus and then she rams it into the...

I've said too much...

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: A celebration of Freespace
 :bump:

So Swifty, wizard that he is, has taken another pass at our bloom effect, including doing a complete HDR render pipeline.



If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: A celebration of Freespace
"Holy ****ing ****!"

Literally my exact words, spoken out loud, after looking at that first picture. :jaw:
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 
Re: A celebration of Freespace
sonofa !
So that's what the bloom-related commits were about :)

 

Offline BritishShivans

  • Jolly good supernova
  • 29
Re: A celebration of Freespace
Mother of ****, the Nelson looks like it's from a different engine altogether.

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: A celebration of Freespace
Would I be mistaken if I said HDR is best observed in a video? ;7
EDIT: What is the ship on the right on 1st picture? It looks familiar but I can't find the relevant model on p3d anymore.
« Last Edit: March 26, 2015, 04:05:24 am by Kobrar44 »
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: A celebration of Freespace
Looks like Aesaar's new Hyperion to me.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: A celebration of Freespace
Holy crap, just went and played Bearbaiting + High Noon, engine glows & explosions look phenomenal! (and there's a slight over-shinyness issue, but WHO CARES!)

Code is here if anyone wants to compile & run it themselves  ;7
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: A celebration of Freespace
Shiiiieeet. That looks nice.

It seems like it doesn't affect skyboxes either?

 

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: A celebration of Freespace
Does look beautiful got to say (looks next-gen in fact; could also mistake it for an UE4 image or something like that. Impressive).

Have always had a thing for bloom effects (have them set to almost max value) so shall definitely enjoy this. Hats off to ya Swifty! :yes:
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: A celebration of Freespace
dayum
shiny
(´・ω・`)
=============================================================

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: A celebration of Freespace
HDR is really nice. Being able to hold color/luminance values greater than 1.0 let's me be able to scale the intensity of glowmaps, particle effects, explosions, and glowpoints in the shaders and have it effect the bloom. So instead of having to do an oversensitive brightpass (Like what last gen games tended to do), we just look for any values greater than 1.0 and put that in our bloom buffer. The way blur was implemented in the engine didn't look very good either so I do a multipass solution where we generate the MIP maps of the bloom buffer and do repeated blur passes on them do get a nice wide blur. I'm glad people like it as I'm pretty pleased with the result myself.

But honestly, this was just a cog in my greater plan. The end goal is physically-based lighting in Freespace Open. After looking at Star Citizen and Elite: Dangerous, I decided this needs to be done if Freespace Open needs to stay on top of the game. HDR was pretty much what was needed to get a wider range of lighting values you get from physically-based lighting models. I'm really happy this is working and now I can move on to getting gloss map support working.

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Minecraft
    • Steam
Re: A celebration of Freespace
Seeing the progress in this game is scary.
How far are we from skynet-level intelligent AI making it into the game?
el hombre vicio...

 
Re: A celebration of Freespace
Although as Aesaar points out the bloom isn't being applied to beams, which looks a bit drab. Any chance of that being implemented soon?
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: A celebration of Freespace
It was easy to adjust the model rendering and particle rendering shader by scaling their color values by a factor of 2.0 or 3.0. It was the path of least resistence so that was done immediately so I can test out the HDR bloom. I'll get to the other stuff eventually.
« Last Edit: March 26, 2015, 02:37:17 pm by Swifty »

 

Offline Aesaar

  • 210
Re: A celebration of Freespace
I just want to say that you're awesome and so is this.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: A celebration of Freespace
I just want to say that you're awesome and so is this.
:yes:
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Minecraft
    • Steam
    • Something
Re: A celebration of Freespace
Okay where is this beautiful game from and what has it done with FS.

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: A celebration of Freespace
Now that I'm (a bit) more composed about all this: What's the performance hit like?
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline niffiwan

  • 211
  • Eluder Class
Re: A celebration of Freespace
From my (admittedly unscientific) testing by looking at the FPS counter in DEBUG, comparing 3.7.2RC5 to the HDR code with shadows disabled, HDR runs faster than RC5  :nod:

edit: fix bracketisation
« Last Edit: March 26, 2015, 08:00:26 pm by niffiwan »
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...