1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

BeamNG Ray Tracing

Discussion in 'General Discussion' started by Stampylongnose1234, Jan 14, 2020.

?

Would you like to see Ray Tracing in BeamNG?

  1. Yes!

    61.7%
  2. Nah.

    25.5%
  3. Maybe...

    12.8%
  1. boogerslop

    boogerslop
    Expand Collapse

    Joined:
    Dec 20, 2016
    Messages:
    110
    don't rant on it if u dont know what it is....
     
  2. bendervdb06

    bendervdb06
    Expand Collapse

    Joined:
    May 29, 2014
    Messages:
    152
    Essayez la dernière vertion de l outils de post-traitement de gta V
    enb series
    Il doit y avoir les filtres qui t intersse
    Pour les carte rtx
    Essayez la dernière version de la série enb des outils de post-traitement gta V Il doit y avoir des filtres qui se croisent Pour les cartes rtx
     
    • Informative Informative x 1
  3. FrameKixrr

    FrameKixrr
    Expand Collapse

    Joined:
    Dec 28, 2015
    Messages:
    22
    [REDACTED]
     
    #23 FrameKixrr, Mar 2, 2020
    Last edited: Nov 3, 2020
  4. HeepXJ40

    HeepXJ40
    Expand Collapse

    Joined:
    Feb 6, 2020
    Messages:
    283
    Would be cool. Thankfully a reshade effect can now add raytracing to almost any game, including BeamNG.


     
    • Like Like x 5
  5. Cutlass

    Cutlass
    Expand Collapse

    Joined:
    Apr 30, 2017
    Messages:
    3,125
    what shader is that
     
  6. Sixtyfirst

    Sixtyfirst
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    10
    Gameplay is more important than useless graphics
     
    • Agree Agree x 1
  7. knz0

    knz0
    Expand Collapse

    Joined:
    Mar 3, 2020
    Messages:
    1
    bruh

    screen space reflections are not even close to what RTX ray-tracing implementations do in games like Metro, Quake II RTX and BF5.
     
  8. HeepXJ40

    HeepXJ40
    Expand Collapse

    Joined:
    Feb 6, 2020
    Messages:
    283
    Yea obviously but the lightng itself already looks decent with raytracing, if you ignore reflections
    --- Post updated ---
    Honestly I agree, but to a certain point that just becomes a shitty excuse for having really bad graphics.
     
    • Agree Agree x 1
  9. boogerslop

    boogerslop
    Expand Collapse

    Joined:
    Dec 20, 2016
    Messages:
    110
    yes
     
  10. MrJavelin

    MrJavelin
    Expand Collapse

    Joined:
    Apr 21, 2019
    Messages:
    660
    Y'all ever heard of ray marching
     
  11. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    1,381
    I literally thought that was a joke
     
    • Agree Agree x 1
  12. HeepXJ40

    HeepXJ40
    Expand Collapse

    Joined:
    Feb 6, 2020
    Messages:
    283
    Now I have, but no idea what it actually is or what the difference is.
     
  13. MrJavelin

    MrJavelin
    Expand Collapse

    Joined:
    Apr 21, 2019
    Messages:
    660
    It really sucks that no one's heard of ray marching. It's probably the most elegant of the bunch. There was a game made with it. I can get 60fps on it with my charger plugged in. I can't explain ray marching because we'd be here all day, and one time I read a post so long it made my eyes hurt. CodeParade, on the other hand, explains it in under 8 minutes. Check it out if you have time.
     
  14. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    Not gonna lie, I thought that was a joke as well... I am surprised I have never heard of this before! It seems shockingly elegant while, at the same time, seeming rather computationally minimalistic. From what I can tell, as long as you have your equation defined correctly, you can basically display unlimited detail with a very minimal hit to the rendering engine... that is just awesome. I mean... these guys are using it to render real time fractals in 3D... doesn't get much more detailed than that. Plus that video you linked did a great job of explaining it. I also found this video which also does a fantastic job of explaining it as well.



    While I think this would be a solid method to use... unfortunately, at this point, this would require an entire rendering engine rewrite.... Forget Torque 3D, and nevermind all the modifications to it that the Beam Team have made over the years... I feel like you would have to straight up scrap everything and start from the bottom to actually get it to work. Ray tracing I feel like could be modified in as it still uses the same idea for mesh's and how to define them, but this ray marching method... it doesn't appear to run in the same way.

    I could be 100% wrong about this, but I don't see a single ray marching demo that uses any sort of mesh in its system. Every one that I see uses a mathematically defined shape. So basically a box? Easily defined with math, so that works great. Triangle? Same deal. Even a Fractal is essentially easily defined by a couple of equations, so they are easy for Ray Marchers. Again, point cloud data is also something that could easily be done with this. A mesh on the other hand? That doesn't appear to be quite as easy for Ray Marchers.

    As far as I can tell, we would need to have the shapes of our vehicles defined by mathematical formulas rather than just a bunch of points, lines, and surfaces like regular meshes are right now. I have NO idea how we would do that... is there any kind of modeler that just exports mathematical equations for surfaces? If there is I am completely unaware of it. But on top of that, everything in the game would need to be rebuilt for it (not the JBeams, but every mesh... also who knows how textures work with this as well)

    The easiest way I could imagine this working would be to turn every mesh into a point cloud. That would work, but then once you zoom in, everything would look grainy... i dunno how I would like that...

    I know how to define up to 9 points in space and create a surface equation from that... but much more than 9 and the equation gets so nuts that I have no idea how you would go about defining it.

    I would love to see something like this work, but I have no idea how you would get over some of these hurdles...

    Edit: So I just realized that NURBS work like this... basically a set bunch of points that mathematically define a surface. That could be the way this could be done, but again, this would mean that you either have to directly remodel everything with Nurbs, or convert everything to Nurbs... then there is the mess of trying to figure out what the distance formula for a Nurbs surface would be... who knows... and then what do you do about textures? Again, who knows... you could technically mathematically add surface texture very easily, but adding specific color would possibly be very difficult to do.
     
    #34 atv_123, Mar 4, 2020
    Last edited: Mar 4, 2020
    • Like Like x 2
    • Informative Informative x 1
  15. G-Farce

    G-Farce
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    585
    Ray tracing, for what purpose?
    Graphics? No
    Sound? Maybe.
    Physics? Maybe.
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice