Author Topic: Stencil Shadows  (Read 2750 times)

0 Members and 1 Guest are viewing this topic.

Offline Luis Dias

  • 211
Recurring theme, but still, I wonder what are the current drawbacks to the implementation of basic stencil shadowing techniques?

Even a simple self-shadowing effect only affecting capital ships would massively improve Freespace graphics, and *then* we could say that the graphics were up to date. With no shadows, however, the game is getting dated and dated, albeit the impressiveness of the new colossus, sathanas, typhoon...

So I ask ye, what is holding back the development of this feature, and whether if it will ever be possible to overcome it?

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
So I ask ye, what is holding back the development of this feature,
Time.
Quote
and whether if it will ever be possible to overcome it?
In due time.




Spoiler:
i am not a coder, nor do i work on this at all, so this is just my opinion
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 The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
What is holding it back? Coder time and ability, mostly. We have, at this time, no dedicated graphics coder.

However, I have been reading articles on the web about it (this one, especially) and once I understand that, and find a way to integrate it into FSO's rendering architecture, it will be done.

BTW, stencil shadowing? Why use that? Shadow volumes are a much better approach for FSO IMHO.
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 Luis Dias

  • 211
What is holding it back? Coder time and ability, mostly. We have, at this time, no dedicated graphics coder.

Aw. I wished I could help, but I am an illiterate at code. I do understand geometry *very* well, but without the grammar, I feel an imbecile.

Quote
However, I have been reading articles on the web about it (this one, especially) and once I understand that, and find a way to integrate it into FSO's rendering architecture, it will be done.

BTW, stencil shadowing? Why use that? Shadow volumes are a much better approach for FSO IMHO.

I thought that stencil shadowing used shadow volumes' technique, but I might have confused the terminology. I appreciate your effort, btw. Now that we are entering full speed in the second decade of the century, I think that computers are beggining to be able to take the performance hit of these things, even if they aren't properly streamlined...


 

Offline Luis Dias

  • 211
Btw, thanks for the link, it was a good read (I like to read these articles, while skimming the code parts). I can confirm that I was confused about the terminology, for I had in mind precisely the whole shenanigans about Z-pass and Z-fail in my head.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
I am sorry, you are right. Stencil shadowing is a different term for the shadow volume technique.

Now, I would like to ask one thing of you. Do not bring this up again*. We've answered your questions regarding shadows back when you brought it up earlier, and nothing has changed since then. If it had, you'd have noticed it. If there's one thing I have an aversion to, it's answering the same questions over and over again, especially if it's the same person asking the questions.
It's a bit like kids in the backseat asking "Are we there yet?" over and over again.


*unless you can provide code that does do all the shadow magic, of course.
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 Luis Dias

  • 211
Sorry, I don't want to spam you. I'll shut up about this. I tried to find the relevant thread, but my searching abilities failed me.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
No problem, "necroing" old threads isn't prefered here.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
*unless you can provide code that does do all the shadow magic, of course.

I believe I posted code that does this ages ago, not that it was really usable, but it could serve as a guide.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
I see you posted builds, but I can't seem to find any code.

Ah, never mind, found it
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 Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
*unless you can provide code that does do all the shadow magic, of course.

I believe I posted code that does this ages ago, not that it was really usable, but it could serve as a guide.

wasnt that a d3d implementation though?
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yes, but most of the important stuff was not D3D specific, and the parts that were would be trivial to convert to OGL. not that any of it is directly usable, even at the time I knew it was a hack proof of concept implementation.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together