Next gen lighting technologies - voxelised, traced, and everything else *spawn*

Discussion in 'Rendering Technology and APIs' started by Scott_Arm, Aug 21, 2018.

  1. DieH@rd

    Legend

    Joined:
    Sep 20, 2006
    Messages:
    6,387
    Likes Received:
    2,411
    Just in time when rumors say that Navi will be less compute-oriented.
     
    Shoujoboy, Heinrich4 and mpg1 like this.
  2. chris1515

    Legend

    Joined:
    Jul 24, 2005
    Messages:
    7,158
    Likes Received:
    7,966
    Location:
    Barcelona Spain
    On a Vega 56, this is good too. :)
     
    Heinrich4 likes this.
  3. iroboto

    iroboto Daft Funk
    Legend Subscriber

    Joined:
    Mar 6, 2014
    Messages:
    14,834
    Likes Received:
    18,634
    Location:
    The North
    Really nice demo here, really happy with these results. Hoping to see if this can expand out further.
     
  4. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    hmmmm... maybe they link voxels to reflective shadow maps and get sharp details from there? With one more for the camera it would contain everything seen from a light and from the player. The rest could fall back to coarse voxels.
    Still i miss any expected artifacts, still puzzling... :)
     
  5. McHuj

    Veteran Subscriber

    Joined:
    Jul 1, 2005
    Messages:
    1,613
    Likes Received:
    869
    Location:
    Texas
    Do we know what the frame rate of this demo is? Is it realtime on Vega56 or rendered on Vega56 (then replayed at a decent frame rate)?
     
  6. London Geezer

    Legend Subscriber

    Joined:
    Apr 13, 2002
    Messages:
    24,151
    Likes Received:
    10,297
    Well that looks amazing. How is that possible?
     
  7. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    Why should they do such a misdirection?
    I expect it to be what next gen will look like.
    If i'm right, we have those costs:

    Voxelization (i assumed this to be very expensive earlier, but NV VXAO says it's 1-2 ms! Cryengine does it on CPU, usually?)
    Rendering reflective shadow maps (much more expensive than just depth, but shading happens there, so coherent rasterization perf! No bottleneck as in BFV). Surely timesliced... 3ms?
    Tracing the voxels - similar cost than regular voxel specular, heard 1-2ms as well
    Not sure if and how they link the voxel to a number of refractive shadow maps...
    Refining the voxel hitpoint in RSM should be similar than SSR, so another 1-2ms.

    Quite in the budget.
     
  8. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,102
    Yeah, but those reflections are showing a surprising amount of detail. If they are indeed voxel-based, I wonder what resolution or compression wizardry they are using.
     
  9. snc

    snc
    Veteran

    Joined:
    Mar 6, 2013
    Messages:
    2,119
    Likes Received:
    1,748

    How this is possible without rt ?
     
    Heinrich4 and BRiT like this.
  10. Shortbread

    Shortbread Island Hopper
    Legend

    Joined:
    Jul 1, 2013
    Messages:
    5,632
    Likes Received:
    4,921
    Looks good, however, there seems to be some weird issues with lighting and reflections between certain objects and surfaces in that video. Proper "RT" lighting, shadowing, and reflections aren't casting correctly with (or on) the police drone, and vice versa (and certain bullet casings as well). I'm not knocking the demo, it looks beautiful, but certain aspects of the demo looks quite buggy or wrong.
     
    #1410 Shortbread, Mar 15, 2019
    Last edited: Mar 16, 2019
  11. McHuj

    Veteran Subscriber

    Joined:
    Jul 1, 2005
    Messages:
    1,613
    Likes Received:
    869
    Location:
    Texas
    I’m not saying they’re necessarily being deceptive, but in today’s age when things aren’t explicitly spelled out, I put my bullshot glasses on.
     
    pharma likes this.
  12. Ike Turner

    Veteran

    Joined:
    Jul 30, 2005
    Messages:
    2,110
    Likes Received:
    2,304
    The demo is "rendered in real-time in-editor on an AMD Vega 56 GPU" (not pre-rendered and replayed afterwards like a cinematic). Crytek is going to post more details about it on their site next week during/after GDC.
     
  13. ultragpu

    Banned

    Joined:
    Apr 21, 2004
    Messages:
    6,242
    Likes Received:
    2,306
    Location:
    Australia
    What about the performance hit, what resolution was it on?
     
  14. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    In the Dreams paper shows a voxel renderer, which they called 'brick renderer' or something. It renders the 3 visible voxel faces with flat displacement maps, and finally the pixel shader processes those maps with a POM like method to get the details.
    This would work for tracing too: Ray hits voxel, refines hitpoint, and if it turns out it misses the geometry the ray could be further traced against the next voxel.
    To avoid divergence this POM step could be done within its own dispatch, followed by ray compaction. Likely after a fixed small number of misses the error from taking just the voxel hit becomes negligible, and voxels can be still large.
    This could be precalculated for the static scene. In case the shading can't be found in RSMs, it could be calculated on the fly.
    But may be all wrong - it all looks too good. I did not expect something could match RTX quailty but this does it seems. Can't spot any noise at all.
    At 0:25 there shows some blocky reflection of lights in a window on the left, but can't tell if it's voxels or RSM texels. (The door i mentioned earlier is opening automatically, so that's likely not switching algorithms)
     
  15. OCASM

    Regular

    Joined:
    Nov 12, 2016
    Messages:
    921
    Likes Received:
    874
    No info yet. Some people who worked on this said on twitter they'll post more detailed information next week or the week after.
     
    chris1515, Heinrich4 and ultragpu like this.
  16. Nemo

    Newcomer

    Joined:
    Sep 15, 2012
    Messages:
    126
    Likes Received:
    23
    Yeah. NVs RTX Demo has some artifacts too, some objects are blurred
     

    Attached Files:

  17. Dictator

    Regular

    Joined:
    Feb 11, 2011
    Messages:
    683
    Likes Received:
    3,975
    Not positive, but I think that may be the difference from contact hardening shadows?

    edit: Oh, I read that screen shot all wrong. Yeah, in the reflection itself the content looks different. Yep!
     
  18. Ike Turner

    Veteran

    Joined:
    Jul 30, 2005
    Messages:
    2,110
    Likes Received:
    2,304
    Given who's developed this (Vladimir Kajalin) it is safe to assume that it's not some half-assed solution (even though it may not be "perfect"). Vlad has been working on it for years. He's been Principal Rendering Programmer at Crytek for nearly 20 years years (3 years before Tiago Sousa joined him) and is frankly the most low key dev with this status in the industry. He literally invented SSAO among other things and has been pumping out crazy things since the Dino Island/X-isle tech demo (first time I heard his name was when Cevat & Faruk showed me the demo/benchmark during the Geforce 3 launch event in Feb 2001).
     
    #1418 Ike Turner, Mar 16, 2019
    Last edited: Mar 17, 2019
  19. Voxilla

    Regular

    Joined:
    Jun 23, 2007
    Messages:
    832
    Likes Received:
    505
    The reflections might be the result of ray-tracing objects represented as iso-surfaces and voxelized with marching cubes or some variant of it like explained here:
    https://medium.com/zeg-ai/voxel-to-mesh-conversion-marching-cube-algorithm-43dbb0801359 or
    https://www.boristhebrave.com/2018/04/15/marching-cubes-tutorial/
    Instead of cube faces more accurate polygonal approximations are possible like with the midpoint or interpolation method.
     
    #1419 Voxilla, Mar 16, 2019
    Last edited: Mar 16, 2019
    OCASM, pharma and Heinrich4 like this.
  20. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    Watching it again today i think it's more just classical raytrcing of a lower triangle LOD from the scene. Your idea would show more irregular tesselation considering the random orientation of the shells, and my ideas above would also show similar artifacts from the world space grid alignment.
    The mentioning of their Total Illumination maybe is just a bit misleading towards voxels. I think they use 'voxels' only for acceleration structure here, if at all.
    At distance there seems indeed a fallback to a voxel approximation, but there is only one spot in the video where i can see this. Otherwise it's too perfect.

    The missing noise also made me tend to think about alternative image based tech like VSM, but now i guess the reason is simply this:
    Instead of disturbing the ray directions with random angles for AA (as usual, causing noise), they use a globally equal angular offset for the whole frame (or just per normal direction, whatever).
    As a result, rays having the same normal (and that's common for smooth human made materials that show sharp reflections, also for water) will keep parallel and will traverse the same nodes in acceleration structure much more likely.
    Also instead noise you'd get this kind of banding / ghosting visible in the video.

    So the missing noise is no hint to any spectacular new tech either. It really seems triangle raytracing mostly?

    Maybe they limit themselves to only sharp reflections for now because coherent rays and no need for denoising, but the quality shown is better than needed, and more glossy reflections could be made by bilateral blur / falling back to voxels earlier?
    I'd be mostly interested in options to trade accuracy vs. performance. Video is 30fps and 2K - upscaling reflections could work to get a 4K game on next gen i guess.
     
    OCASM, Heinrich4 and pharma like this.
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...