Jump to content
The Dark Mod Forums

Camera-Space Cubemap Faked AO


nbohr1more

Recommended Posts

Yes Legion. :)

 

By the way, I just found a nice presentation NVidia held on siggraph about "Horizon-Based Ambient Occlusion" (short: HBAO), where surface normals are computed from the sampled depths through atan. This is probably one of the newer approaches Rebb has been talking about and it is Sikkpin's newest project. We'll soon see how that compares to the default SSAO in Doom 3. :) I wonder whether he also used all the optimizations proposed in the respective paper in his SSAO implementation.

Link to comment
Share on other sites

Erm, Doom3 had SSAO? Not only AO? At least Doom3 does not appear on this list here.

 

I just installed Amnesia: The Dark Descent and noticed the SSAO-settings, meaning the Sample-setting. Though I have a descent system, the menu stutters, well the mouse movement does, when I chose the maximum with 128. Now I set it to 32 (resolution set to high) and I hope I won´t have stutter in the game, the menu works fine. I won´t start the game until I finished Penumbra Series. :rolleyes:

 

So, how much samples does Doom3/TDM use? Is it related to this: r_multiSamples "4" ?

-> Crisis of Capitalism

-> 9/11 Truth

->

(hard stuff), more
Link to comment
Share on other sites

Towards the end of the thread I believe there are links... But it may also be at filefront (haven't had a chance to check yet)...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

The 1st post D3W rar link works for me... Dont know if it has the newer SSAO though...

 

Edit:

 

This one?

 

http://sikkpin.fileave.com/sikkmod_test5-D3.rar

Edited by nbohr1more

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

 

Yes, that gives me: "Fehler: Verbindung fehlgeschlagen", that´s german for: jerks like you are not allowed, go home." ;)

 

Thanks for the RapidShare, now there I have the same trouble as with Baddgogs mission, I tried first with my download-plugin and it gives me the html-file. ARGH, now I can wait 15 minutes to try again and I hope that I won´t forget to just click 'Save target'...

-> Crisis of Capitalism

-> 9/11 Truth

->

(hard stuff), more
Link to comment
Share on other sites

Haha 128 Samples for AO calculation in Amnesia is overkill. I used 8 samples at high AO-resolution and the results as well as performance were fine.

 

The SSAO dependent settings in sikkmod start with r_SSAO. I can't remember the exact settings though and I am also not at my home computer to look them up. The multisample setting is for Anti Aliasing I believe.

Link to comment
Share on other sites

Hehe, I don´t have a clue what that samples are for anyway...

 

Yeah, I think you´re right about that it means AA, it´s the same value I chose.

 

And the download was finally a success. Hmm, I think it´ll turn out in a mess when I try to merge this into the DentonMod I already messed around with a lot. Ah, it can´t work because of the altered dll... <_<

 

For some reason I can´t get AA and my custom res enabled, what I need is r_mode=-1, but constantly I fall back to 640x480, oh well.

 

Also it looks really blurry, but I need to play around with the values.

 

But now I want to go to the bathroom and then I go into the forest from NHAT, that looks as stunning as SSAO, doesn´t it? :)

-> Crisis of Capitalism

-> 9/11 Truth

->

(hard stuff), more
Link to comment
Share on other sites

Hehe, I don´t have a clue what that samples are for anyway...

Normally the AO value would be computed with all the depthvalues surrounding the current pixel inside a certain range. This would be way too expensive computationally of course, so to reduce the calculations a random kernel is used to pick a reduced number of samplepixels arount the current pixel. You should generally choose a value of 16 Samples per calculation, as this is said to be a good value in numerous papers.

Link to comment
Share on other sites

Now that I've gotten this silly hack idea out of my system, I have tried to fathom some of Rebb's work in the ambient fix.

 

I see that the current implementation essentially looks for an RGB 01 value from any (?) projection image's alpha to essentally say "Don't paint ambient light here" (?)

 

I see that an experimental build is sampling two "Light Normalization" cubemaps. Which means that each face of the cubemap is the average inbound light to the player position?

 

Could this system be made to dynamically accept more detailed (pre-rendered) "scene" cubemaps that would be weighted against the normalization cubemap depending on the player position to the scene?

 

All the mapper would then have to do is collect an envshot (with lights added to simulate bounces) and plug the cubemaps and positions into "the system".

 

(Maybe you guys are already cooking-up something akin to this...)

 

(Probably missing some clue here anyway :laugh: )

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Clue found:

 

The Normalization Cubemap is a mathematical structure used to help bypass hardware limits for normal vector angle calculations.

 

(Therefore has no direct bearing on precomputed cubemap based "Image-Space Lighting" solution approaches... :blush: ...)

 

More studying...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...