Author Topic: Re: Not-so-secret Secret Project  (Read 32406 times)

0 Members and 1 Guest are viewing this topic.

Offline Dark RevenantX

  • 29
  • anonymity —> animosity
Re: Re: Not-so-secret Secret Project
I was using the new shaders.  Unfortunately it seems they must be in a mod dir instead of the normal data dir for them to be recognized.

When I got the shadows working, I noticed that larger submodels/turrets don't cast shadows on my small fighter.

 

Offline torc

  • 210
  • Diaspora SFX engineer
Re: Re: Not-so-secret Secret Project
works very good in Diaspora... less FPS impact too.... great work.

sapphire 6850 here .
indossare una divisa può avere un prezzo alto...ma a volte...è troppo alto!!! Bill Adama

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Re: Not-so-secret Secret Project
The perfomance drain is lower, that is outstanding. But I still have the disappearing models in Subspace missions that I posted during the first shadow release.

 

Offline CaptJosh

  • 210
Re: Re: Not-so-secret Secret Project
Um, the example of so called soft shadows in space earlier in the thread is a result of light passing through the ATMOSPHERE of a planet eclipsing its own satellite. The typical example of this is of course the Terra eclipsing Luna. However, when the Luna eclipses Sol, there is no softening around the edges. The closest we get to that is the so-called "Diamond Ring" effect, where the last part of the main body of the sun to go into eclipse seems extra bright against the limb of the moon. The same effect is observed in reverse as the sun comes out of eclipse.

QED, without some sort of atmosphere, shadows in space have hard edges.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Kolgena

  • 211
Re: Re: Not-so-secret Secret Project
^tyvm. Will report back later with what I find.

@ CaptJosh: Read up on what penumbra shadows are. There are "soft" shadows in space.

(Besides, it's either soft shadows that look nice (and unrealistic) and run nicely, hard shadows at insane performance costs, or hard shadows with pixelated edges)
« Last Edit: October 16, 2011, 03:06:20 pm by Kolgena »

 

Offline CaptJosh

  • 210
Re: Re: Not-so-secret Secret Project
Actually, I had forgotten point sources vs planar sources of light. Haven't been in a science class in a while...
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Kolgena

  • 211
Re: Re: Not-so-secret Secret Project
Things run vastly smoother with this build than the previous, though I'd personally still like to see higher framerates. Shadows as they are now really do not scale well when lots of ships are in a mission.

In main-v.sdr, I tried playing around with the 1.0/2048.0 value to see if I could shrink maps and get some performance. It seems to work (shadows are blurrier, game's not crashing, frames might be higher).

tl;dr: Awesome update in shadows code.

  

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Re: Not-so-secret Secret Project
Please stop spamming the thread with this useless soft shadow discussion
  • Its getting on my nerves
  • I wont implement soft shadows anyway cause of performance
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Re: Not-so-secret Secret Project
I dunno about you Valathil, but I thoroughly enjoyed it when my own topic was turned into a HUD pitch ladder slash Lua scripting debate thread.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Re: Not-so-secret Secret Project
I wish there was some way to make sort of a branching discussion thread:


Main Topic
       |
Response 1
       |
Response 2
       |
De-rail / rabbit trail   -----------|
       |                                      |
Response 3                      Response 1
       |                                      |
Response 4                      Response 2
       |                                      |
De-rail /rabbit trail 2 ---------- + --------------------|
       |                                      |                           |
Response 5                      Response 3        Response 1 


etc, etc.

:nervous:

O, right... I just further de-railed the thread.  Don't mind me now.  :warp:

 

Offline Ace

  • Truth of Babel
  • 212
    • http://www.lordofrigel.com
Re: Re: Not-so-secret Secret Project
Um, the example of so called soft shadows in space earlier in the thread is a result of light passing through the ATMOSPHERE of a planet eclipsing its own satellite. The typical example of this is of course the Terra eclipsing Luna. However, when the Luna eclipses Sol, there is no softening around the edges. The closest we get to that is the so-called "Diamond Ring" effect, where the last part of the main body of the sun to go into eclipse seems extra bright against the limb of the moon. The same effect is observed in reverse as the sun comes out of eclipse.

QED, without some sort of atmosphere, shadows in space have hard edges.

Actually there's a little bit of fuzziness at the edges due to interference and scattering with the object, but they're much... much sharper than in an atmosphere.
Ace
Self-plagiarism is style.
-Alfred Hitchcock

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Re: Not-so-secret Secret Project
If the sky isn't very cloudy, shadows in atmosphere can also be really sharp (especially if the sun is shining almost directly from above and the object casting the shadow isn't transparent).

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Re: Not-so-secret Secret Project
which part of "SHUT THE **** UP ALREADY!" didnt you idiots understand?
As valathil said already, no soft shadows, no penumbra bull**** etc. performance comes first.
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Re: Not-so-secret Secret Project
If you want to discuss soft shadows, do it here. Valathil already said to cut out the off-topic stuff, as he is not going to be implementing soft shadows.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Re: Not-so-secret Secret Project
Perhaps the relevant posts could be moved there, for clarity.

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Re: Not-so-secret Secret Project
Is it possible to adjust:

   vec3 offset[8]; float off = 1.0/2048.0;

to try and get some performance, without vastly ****ing up the rest of the code?

Possibly...you could just try it and find out. It was previously 4096. (and before that, even larger). But I'm pretty sure that it will just possibly cause issues, since the actual resolution is currently encoded in the engine.
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

 
Re: Re: Not-so-secret Secret Project
Well I wasn't expecting the soft shadow thing to get out of hand like that. Frankly its a good thing it was moved into another topic, really poisons the source topic which in all fairness is all about getting this to work. Videos look amazing though, I'm going to try this out sometime. I've got a hefty laptop so it could be interesting to see how well the thing handles shadows on mobile hardware.
I have created a masterpiece.

 

Offline torc

  • 210
  • Diaspora SFX engineer
Re: Re: Not-so-secret Secret Project
WTF are you talkin'about?

If you haven't noticed we have shadows on FS2... Please,should you be happy at least for 15 minutes before asking new staff like soft shadows?

Great job Valathil ,and thanks to all the people that help him in this feature implementation.
indossare una divisa può avere un prezzo alto...ma a volte...è troppo alto!!! Bill Adama

 

Offline Luis Dias

  • 211
Re: Re: Not-so-secret Secret Project
OMG OMG SOFT SHADOWS WTFBBQFBIBRB!!!!!1!!!!

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Re: Not-so-secret Secret Project
Valathil, you know, if you keep this up, they will expect you to fulfill their every dream... it can't last forever, you know... :lol:  But, seriously, awesome job!  :)