Author Topic: Shadows in FSOpen: NewNew Alpha (17. Oct)  (Read 75978 times)

0 Members and 1 Guest are viewing this topic.

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: Shadows in FSOpen: NewNew Alpha (17. Oct)
it will cast a shadow from the most intense beam or point light per ship + 1 sun but i cannot do more efficiently till we bump up the opengl version on the engine which is a project in itself
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
So... :nervous: Valathil, do you have a twin?  More specifically, one that would be interested in coding said bump in opengl version for FSO?  If not, how do you feel about cloning?... what?  :warp:

 

Offline Kolgena

  • 211
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
Yes. Right now shadows are only being based on sun light sources. We want them to be cast by beams too. Shadows from explosions would be cool too, now that I think of it...

... and of lasers, and exhaust plumes, and glowpoints, and everything! Start saving for the new rig that's gonna handle it :P

We don't even have lights for plumes or glowpoints yet lol

Also, I thought this thread was supposed to be only about the current build and its testing, not about random stuff? :P

 

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: Shadows in FSOpen: NewNew Alpha (17. Oct)
yeah tell me about it
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline redsniper

  • 211
  • Aim for the Top!
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
Erk, sorry. :o
"Think about nice things not unhappy things.
The future makes happy, if you make it yourself.
No war; think about happy things."   -WouterSmitssm

Hard Light Productions:
"...this conversation is pointlessly confrontational."

 

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: Shadows in FSOpen: NewNew Alpha (17. Oct)
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
 :yes: :yes: :yes:
The Trivial Psychic Strikes Again!

 

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: Shadows in FSOpen: NewNew Alpha (17. Oct)
After carefully thinkin it through i probably wont do self shadowing for point and beam lights cause they are not so apparent but i can do all 7 lights and other objects casting shadows on ships instead which in my mind would be more efficient use of the memory and processing power

EDIT: Spoke too soon cant do my idea cause of stuff in the same position overwriting each other Maybe it DOES work have to think about it. Instead of a depth map using normal color texture and  render shadowers additive to red with the light num as a bitshift in a normal integer texture  and then checking in the shadow lookup if it has that bit set.
« Last Edit: November 05, 2011, 10:40:35 pm by Valathil »
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Nemesis6

  • 28
  • Tongs
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
Maybe it DOES work have to think about it. Instead of a depth map using normal color texture and  render shadowers additive to red with the light num as a bitshift in a normal integer texture  and then checking in the shadow lookup if it has that bit set.





Anyway, I've been playing around with the build a lot, and the only thing I've noticed other than what I've already reported is just the performance loss thing. If it means anything, it seems to manifest itself more when looking at very big objects like a Hecate class warship. The loss isn't permanent, which is to say that if I look away, my FPS will become normal. It doesn't seem to matter if I've close to the object or very far away. If I'm looking in the general direction of the ship that causes the lag, well, yeah you get the point. That's really all I can report. Not sure if there's anything new there, but I figured I'd just type it out anyway.

 

Offline Deadly in a Shadow

  • 29
  • Buntu!
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
So bad that there's only an SSE 2 build. My comp can't run SSE2 :nervous:
"Ka-BOOOOOOOOM!!!!"
"Uh, Sir we can hear the explosion."
"No you can't, there is no air in space. Sound can't travel through a vacuum!"

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
If you don't have at least SSE2, you might not be able to run shadows at a playable FPS at all.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
I guess that answers the question of whether I should ever try to run one of these builds on my Athlon XP 3200+... :warp:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
Given that the XP 3200+ can do SSE2 I really don't see how.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Luis Dias

  • 211
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
Well.... it *is* an old rig...

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
For you folks being unsure of the SSE2 support in your cpu, if you have an AMD CPU thats older than Athlon 64's or Intel's Pentium 4's, you dont have SSE2. EVERYTHING ELSE HAS IT.
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
I did not know that. I thought all the older athlons supported it too. Guess I was wrong there.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
I did not know that. I thought all the older athlons supported it too. Guess I was wrong there.
i'm going from whats written here: http://en.wikipedia.org/wiki/SSE2#Notable_IA-32_CPUs_not_supporting_SSE2


its about as accurate as anything else.
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 Fineus

  • ...But you *have* heard of me.
  • Administrator
  • 212
    • Hard Light Productions
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
I've got ahead and split the topic after this point into a new thread of its own to discuss hardware issues. Please keep this on the original topic (shadows in FSO, bug reporting, play testing, showing off awesome screenshots of it in action etc.)

Let me know if anything got accidentally mixed up, otherwise, enjoy and carry on folks :)

 

Offline Mad Bomber

  • Booooom
  • 210
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
From a discussion with a friend on skype, on this subject:

[10:46:44 AM] Suralin: And they say fan projects can't match modern graphics. :D
[10:49:46 AM] (friend): never under estimate the power of fans
[10:50:08 AM] (friend): I'm sure they'd make giant cheese obelisks of this game too
[10:50:21 AM] (friend): if challenged
[10:50:47 AM] Suralin: Crap. I think we have to do that now.
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Re: Shadows in FSOpen: NewNew Alpha (17. Oct)
I'll start working on it right away!  :lol: