DirectX Ray-Tracing [DXR]

Discussion in 'Rendering Technology and APIs' started by BRiT, Mar 19, 2018.

  1. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    No idea if this is accurate or not, but basically it is claiming RTX doesn't need Tensor Cores for it's operation:

    "Denoising for real time applications is using an algorithm (cross-bilateral filtered denoising) and not AI (like NVIDIA's OptiX Ray Tracing Engine does). This sounds like tensor cores are not required for RTX and therefore tensor cores are definitely not required in the upcoming GeForce line?

    Full presentation: https://www.gdcvault.com/play/1024813/

    If you got excited about Nvidia's Star Wars demo for real time ray tracing elements (Reflections, Shadows, AO) during GTC 18, here is the full technical story. Watching the presentation is absolutely worth it. The dedicated RTX hardware provides optimized implementations of:

    • Acceleration structure build/update
    • Traversal and scheduling of ray tracing and shading
    Summary for the whole presentation:

    • Split-sum approximation used for cross-bilateral filtered denoising (for visibility term only). No Monte Carlo or holistic solution for the rendering equation
    • Only incoming radiance is denoised. BRDF integrals are pre-integrated, so there's no need to denoise them (as they don't produce any noise)
    • Minimum of 2spp necessary for contact shadows/close region AO in order to get reasonably close to ground truth (for now)
    • 1 area light source per pass for best results (you could do more in one pass, but you'd lose the benefit of efficiency for real-time use)
    • Not so good results for overlapping penumbrae of two or more occluders of very different distances away from the shadow receiver
    • The greater the roughness of the material, the further away the results are from the ground truth
    • NVIDIA is still experimenting with deep learning solutions for denoising in the future
    • In-engine Path Tracer for reference and fine tuning materials
    • Instant Lightmap Baking feature only focuses on lightmap texels contributing to current image instead of full scene in order to update in real-time
    • API support for the Data Acceleration Structures necessary for ray tracing does not appear to have any special optimizations. Developers will need to figure this out on their own (not easy for dynamic scenes)
    • Tessellation does not work well with NVIDIA's solution. More work to be done resolving this issue in the future
    • Demo was presented in real-time with the computer on stage, not pre-recorded before the presentation"
     
    Jawed, Lightman, OCASM and 1 other person like this.
  2. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,101
    Even if denoising did use AI, wouldn't the tensors only be necessary on developer side? I thought tensors were just meant to speed up training. Am I wrong?
     
  3. pharma

    Veteran

    Joined:
    Mar 29, 2004
    Messages:
    4,887
    Likes Received:
    4,534
    Nvidia's Tomasi interview .... 19 March 2018
    https://www.pcgamesn.com/nvidia-rtx-microsoft-dxr-raytracing

    Edit: URL correction.
     
    #163 pharma, May 30, 2018
    Last edited: May 30, 2018
  4. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,104
    Likes Received:
    16,896
    Location:
    Under my bridge
    If your game needs players to own a >$1000 GPU to run a feature, you are going to have a very small market. More likely such a feature won't be used in games as too niche. RTX will be used for professional industries. Unless RTX can run well enough without the Volta specifics, in which case it's marketing speak. ;)
     
    hoom and BRiT like this.
  5. Jupiter

    Veteran

    Joined:
    Feb 24, 2015
    Messages:
    1,583
    Likes Received:
    1,198
    It would probably be rash at this point to push the graphics schedule back in order to leverage technology that isn't even out yet but if developers want to adopt a raytracing approach it is very likely it would be a drop-in replacement for some feature they already have but done better, rather than a new feature.
     
    #165 Jupiter, May 30, 2018
    Last edited: May 30, 2018
  6. iroboto

    iroboto Daft Funk
    Legend Subscriber

    Joined:
    Mar 6, 2014
    Messages:
    14,833
    Likes Received:
    18,633
    Location:
    The North
    i guess that's why APIs are both good and bad. APIs are separated from the implementation. So today it might be only Volta, but later on, it could be another method to implement.
     
  7. CSI PC

    Veteran

    Joined:
    Sep 2, 2015
    Messages:
    2,050
    Likes Received:
    844
    I thought it would be post processing with regards to the raytracing pipeline, by default I think Nvidia provides one trained model.

    I am pretty sure RTX is a bit like Optix which is more than just a rendering engine these days but an "API"/framework as well that can use the Tensor Cores and also benefits with Volta from the changed pipeline/optimised HW code-compiler beyond those cores.
    So I am pretty sure one does not need Tensor cores just like you do not for Optix, but there are performance reasons for it to exist potentially even for gaming but how soon and do we need another GPU arch/API evolution, also Nvidia is still developing additional libraries and integration.
    That said even the presentation the reddit links clearly defines:
    - Real-time ray tracing with RTX
    - GameWorks Ray Tracing Denoising Modules.

    That last point looks to reinforce my point that the denoising and focus so far on Tensor cores is just a post-processing function, but then RTX-GameWorks also includes libraries for Area Shadows,Glossy Reflections, Ambient Occlusion under "Volta" architecture, and worth noting it is a development in progress project that will continue to expand just as Nvidia do with regards to CUDA libraries-functions using the Tensor Cores from a Tesla perspective; although that development regarding ray tracing related libraries does not necessarily mean just Tensor cores integration.

    Question is how efficient are these libraries even with the new pipeline/Volta specific optimised compiler without the Tensor cores denoising, this will be further exacerbated by the GPC-TPC limitations as the the architecture is scaled down from the full 6 GPCs to 3 or more likely 4 GPCs (lowest I could imagine it on myself).
    And is it cost/R&D-logistical effective for Nvidia to create multiple Gx104/Gx102 with/without the Tensor cores across Geforce-Quadro and more distinct from them Tesla.

    As Shifty Geezer suggests, this may end up being as niche for now as the FP16 introduced with a few games actively engaged by AMD for Vega.
     
  8. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    Several developers (and NVIDIA) have stated that RTX will be used in several games this year and the next, chief among them is Metro Exodus and quite possible Shadow Of Tomb Raider and/or Battlefield V, also possibly the next game from Remedy.
     
    pharma likes this.
  9. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,104
    Likes Received:
    16,896
    Location:
    Under my bridge
    I'm talking about nVidia's acceleration hardware. Whatever feature that accelerates won't be used (unless it's automatic in the API) because the number of gamers who'll benefit is infinitesimally small. As a game developer, you don't integrate a feature <0.1% of owners at best will benefit from. They can't design their games around this feature.

    What you might see, perhaps, is raytracing at one level of quality on normal hardware, and automagically enhanced to higher quality on Volta hardware. But that would make these remarks PR bluster.

    "For the RTX goodies though you’re going to have to be a card-carrying GeForce gamer. And, as it’s only accessible via the Volta architecture, that means you’ve got to spend at least $3,000 on a Titan V card."
    If the RTX goodies work on non-$3000 cards, this statement is bogus. If this statement is true, no game is going to going to implement those 'RTX Goodies', whatever they are.
     
    pharma likes this.
  10. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    The statement is from the editor though, NVIDIA alluded that the next Geforce product will accelerate RTX.
     
    pharma likes this.
  11. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,101
    They'll probably those kinds of nvidia developed "they way its meant to be played" sort of feature.
     
  12. CSI PC

    Veteran

    Joined:
    Sep 2, 2015
    Messages:
    2,050
    Likes Received:
    844
    RTX with Volta has a changed Ray Tracing pipeline along with a more optimised compiler for ray tracing functions specific for the architecture, it is one of the benefits for Optix on Volta beyond the Tensor cores and the post processing denoising; point is acceleration is happening even without the Tensor cores with Volta and can assume whatever follows.
    That said I still think it is quite possible for Tensor cores to appear on the Gx104 Geforce models, but that needs to be weighed against quite a lot of factors, and I am curious how this further develops (Nvidia are still working on more libraries) and what else Nvidia might be able to do to utilise efficiently the Tensor cores in this context.
     
  13. Jawed

    Legend

    Joined:
    Oct 2, 2004
    Messages:
    11,708
    Likes Received:
    2,132
    Location:
    London
  14. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,101
    well, each shadow is an extra ray.
     
  15. imerso

    imerso Guest

    The way I see RTX, it's somewhat revolutionary mostly because it signs that the industry is now seeing ray-tracing as a viable path, and also opens the way to near future improvements not only by the big players (Microsoft, NVidia and AMD) but also by other people who will start using the API to experiment and find new optimizations.

    In terms of visual quality, it's not there yet, but it's a nice start. We can clearly see that for now the underlying implementation uses a mix of rasterization hacks with true ray-tracing techniques, so it is still behind pure path-tracing, but hey, that is still very nice.

    I foresee huge improvements in the next years, in part because of RTX, and that is quite a nice thing.
     
    OCASM likes this.
  16. Ike Turner

    Veteran

    Joined:
    Jul 30, 2005
    Messages:
    2,110
    Likes Received:
    2,304
    RTX≠DXR

    RTX is simply Nvidia's proprietary CUDA extensions to DirectX Ray-Tracing (and Vulkan) which is currently HW accelerated only on Volta GPUs and is only in in used to denoise in real-time. It's nothing different than AMD's Radeon Rays (which also AFAIK supports exactly the same features). The only "thing" is that they were able to have the denoiser running in real-time on Volta thanks to its tensor cores...but every other RT feature should work on any DX12 compatible GPU...
     
    Lightman and Silent_Buddha like this.
  17. imerso

    imerso Guest

    Omg you're absolutely right, and I wanted to write DXR but for some reason I wrote RTX, sorry. I stand corrected.
     
  18. CSI PC

    Veteran

    Joined:
    Sep 2, 2015
    Messages:
    2,050
    Likes Received:
    844
    Seems it also involves changes to the pipeline and also compiler, there could be other aspects still not presented yet, it is more than denoise in real-time which is the post processing function.
    Also worth noting they have only presented 3 primary-core libraries so far and others are in development.
     
  19. Ike Turner

    Veteran

    Joined:
    Jul 30, 2005
    Messages:
    2,110
    Likes Received:
    2,304
    Yup but as of today (and after having personally talked face to face with UE4 engineers from Epic who worked on it) it has only been used for de-noising in all of the publicly displayed demos (ILMxLabs/Epic, Seed and Remedy's demos). Nvidia has only made DXR drivers available for Volta that's also why all the demos are using them..it's a "marketing" thing (same for the DGX-1 workstations..which where overkill..).. BTW UE4 won't support DXR before Q2/Q3 2019 at the earliest (meaning out of beta etc).
     
    #179 Ike Turner, Jun 7, 2018
    Last edited: Jun 7, 2018
  20. pharma

    Veteran

    Joined:
    Mar 29, 2004
    Messages:
    4,887
    Likes Received:
    4,534
    May 21, 2018
    https://www.unrealengine.com/en-US/...peek-real-time-ray-tracing-with-unreal-engine

    Edit: Removed video as already posted.
     
    #180 pharma, Jun 8, 2018
    Last edited: Jun 8, 2018
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...