Author Topic: Physically-Based Rendering Builds  (Read 58800 times)

0 Members and 3 Guests are viewing this topic.

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Minecraft
    • Steam
Re: Physically-Based Rendering Builds
Might be your screen contrast or something, for me the Artemis is clearly visible in the first shot but only shows up as a sliver of grey on the second.

I changed my contrast & brightness settings around but it didn't make any difference. Must be my eyes  :lol:

More seriously though, what's the point in having (parts of) a model you can't see?  After all FSO is a game, not a simulation engine.

I adjusted the gamma and it showed up clear as day, everything else is pretty much burning my eyes. :(
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Physically-Based Rendering Builds
Chiming in as someone who makes pixels: what does anyone lose by having the option of a pure black specular? Maybe there's a way to make it look cool, maybe not. It doesn't matter because the only decision to make code-side is whether the option is available, and unless there's some cost involved (which there doesn't seem to be), that decision should always err on the side of the option being available.

Yeah, the fact that you can somewhat see the model in the first screenshot and not the second is why most if not all modern PBR engines set 0.04 as the minimum specular reflectance value. Thanks for posting the example.

Maybe I'm interpreting the situation wrong, but if the limit didn't exist, the artist could decide whether to implement the limit themselves (by lightening dark pixels to #0A0A0A), or not. Why should the artist not be able to decide this?

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
What we lose is the wasted time trying to teach artists that zero specular isn't physically plausible and the time spent troubleshooting why someone's gloss map isn't showing. All for the possibility of an effect no one really wants to use.

 
Re: Physically-Based Rendering Builds
If I'm reading this right there are plenty of everyday substances with reflectances of under 0.04. At least lower the minimum to 0.02 as suggested there. (And I would really like to know how 'physically implausible' the actual reflectance of vantablack is.)
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 Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Physically-Based Rendering Builds
Just because something isn't physically plausible doesn't mean the engine must hardcode the shader so it can never be rendered. As an artist that isn't an adequate reason to outright refuse to render something the way I define it. Not to mention that Phantom_Hoover already provided an example of a near-zero-specular material in reality, so the claim that it isn't "physically plausible" isn't even factual.

Helping new artists understand the PBR workflow is also not an adequate reason to impose a limitation on the engine, IMO. The responsibility to use the tools correctly is the artist's, and the existing documentation on PBR already hammers into people's heads that everything is shiny. I also don't really see many people trying to have a visible gloss map without a bright reflectance map - it's fairly intuitive that there needs to be something to reflect.

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
Okay I'll lower it to 0.02.

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
Material override colors are now gamma corrected so sRGB reference values found on various PBR references should give the correct results now. Uploaded new builds.
« Last Edit: April 17, 2015, 02:39:07 am by Swifty »

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Physically-Based Rendering Builds
Sweet galloping gypsies. This made my eyes bleed as I beheld the awesomeness of the render Gods.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
Sweet galloping gypsies. This made my eyes bleed as I beheld the awesomeness of the render Gods.

 :lol: :lol: :lol: :lol:

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: Physically-Based Rendering Builds
My framerate in the tech lab is very smooth, but my framerate seems to drop to about 4-6 FPS during a mission if a ship model is visible. Is anyone else getting an awful performance hit, or am I doing something wrong?

EDIT: I've found that I don't get the performance hit if I use the -noenv flag.
« Last Edit: April 18, 2015, 07:12:06 pm by Talon 1024 »
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
what's your system specs?

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: Physically-Based Rendering Builds
System specs:
Windows 7 Home Premium 32-bit
Intel Core 2 Duo E7500 @2.93GHz
4 GB RAM
NVidia GeForce 9800 GT (512MB video memory)
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
Turn off shadows and see how that runs. Then turn off deferred lighting if that doesn't work.

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: Physically-Based Rendering Builds
I already had shadows and deferred lighting, as well as sunshafts turned off. Speaking of which, have those features been optimized yet?
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Physically-Based Rendering Builds
There have been a lot of optimizations done to the renderer.

How well do you run the soft shadows and deferred lighting builds?

http://www.hard-light.net/forums/index.php?topic=87121.0

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Re: Physically-Based Rendering Builds
Using the FSPort mission "Eve of Destruction" and playing on AdmiralRalwood's April 8 builds, with the FSPort 3.5 MediaVPs 2014:
  • I get, at most, 60 FPS with both shadows and deferred lighting turned on. It drops to about 20-30 FPS when I get close to a ship, or when I get into a dogfight.
  • There doesn't seem to be a performance hit when I only have deferred lighting turned on.
  • The highest frame rate I get with only shadows enabled is 60 FPS. It drops to about 20-30 FPS when I get close to a ship, or in a dogfight.
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Physically-Based Rendering Builds
My shadow builds are not quite up-to-date with the latest changes to the shader_transform_deferred branch, but I don't believe the renderer has undergone significant changes since those builds were compiled, so that's probably still a good comparison.

* AdmiralRalwood starts compiling fresh shadow builds anyway

EDIT: Shadow builds have been updated, if you want to confirm that you get the same performance with the latest code.
« Last Edit: April 19, 2015, 02:29:16 am by AdmiralRalwood »
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 fightermedic

  • 29
  • quite a nice guy, no really, i am
Re: Physically-Based Rendering Builds
so, finally got around to try this stuff, first off all, awesome work!
some observations:
i stand by my opinion, hdr bloom is looking awesome, but it is too strong! is there any way for modders to permanently adjust the value?

team colors behave strange, i can not even desrcribe it probably - but all my models look completely weird, as if the contrast on all the colors of the model would have been increased a looooot (and for some odd reason one model that did show them before is not showing team colors at all now, while all the rest still do... hmmmmm)
edit: i just had an idea... actually all my teamcolor maps have a lot of contrast, that was the way to make the dark areas actually look dark with the old rendering system, aparently stuff works completely different in that regard now  :shaking:

also, there is a problem with shine not being able to be 0 ( at least i think it has to do with that)
look at this screenshot and the super reflective (although supposed to be transparent!) shield!
(no reflective maps here for all my tests btw, just using the old shine maps)


[attachment deleted by nobody]
« Last Edit: May 06, 2015, 02:20:42 pm by fightermedic »
>>Fully functional cockpits for Freespace<<
>>Ships created by me<<
Campaigns revised/voice-acted by me:
Lightning Marshal 1-4, The Regulus Campaign, Operation: Savior, Operation: Crucible, Titan Rebellion, Fall of Epsilon Pegasi 1.1Aftermath 2.1,
Pandora's Box 2.2, Deep Blood

Other Campaigns I have participated in:
The Antagonist, Warzone, Phantoms & Echo-Gate

All the stuff I release is free to use or change in any way for everybody who likes to do so; take whatever you need

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Minecraft
    • Steam
    • Twitter
    • ModDB Feature
Re: Physically-Based Rendering Builds
So, I did a quick build based on current branch (checkout dated 2015/06/06) (after sorting out some MSVC missing entries, which I'll put in a push for once I've gotten them all) and noted an issue with nameplates:

1: There is (or should be) an Alpha fade that overlays that mutes it down to look like it's been properly painted on a ships hull instead of billboarding straight off it like there is no underlying hull.

2: The nameplate slot (and this may just be an F3 Lab issue, still have to test in-mission, but it's easier to position with the mouselight there) the standby texture (that usually gets replaced) will still "fluoresce" at angles. Being that this is the Lab isn't necessarily indicative of an actual issue (like other issues that happen: Turn off Post Processing for example, or check "Fixed Pipeline" for some other shenanigans)

3: On the truly dark side of a ship, it is so visible it looks like it is a neon sign.

Those are just off the top before I forget, I can do screenshots if you like. And after a brief post-work nap, I'll get in those MSVC entries so that others can build (in addition to the origin fixes that makes AVX builds actually use AVX).
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 Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
Re: Physically-Based Rendering Builds
Wonderful work, Swifty! :)

I hope that you'll integrate PBR into the current branch along with SSAO, but provided that all serious bugs (including CTD ones) are squashed.
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...