1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice

New debug mode lag.

Discussion in 'General Discussion' started by Again_Dejavu, Apr 1, 2015.

  1. Again_Dejavu

    Again_Dejavu
    Expand Collapse

    Joined:
    Dec 26, 2013
    Messages:
    717
    So I was getting some lag whenever I enabled the stress view. Turns out, every beam is drawn as a high poly cylinder. While extremely pretty, it runs like crap.
    2015-04-01_00003.jpg
    2015-04-01_00004.jpg
    Images don't quite show it, just look at them in game to see the insane level of detail.
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    It's not because the cylinder, but because there are about 400 beamng changing colour simultaneously (same happens if you use the node debug on an object with lot of nodes). It's a T3D limitation at the moment, maybe in the future there will be a way to speed it up
     
  3. Miura

    Miura
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    311
    Beam stress debug adds about 700000 polygons with T75, so I think the cylinders are at least part of the problem. Beam highlighting uses similar cylinders and it's also slow if you highlight every beam. Seems like that feature is broken now, though.
     
  4. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,685
    Cylinder drawing is semi (non intended pun to the above post) slow. I used it ages ago and reverted because it was too slow for me.
     
  5. LuisAntonRebollo

    LuisAntonRebollo
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Feb 25, 2014
    Messages:
    117
    Currrent debug render is WIP and very unoptimized... sorry for that.

    Try debug in simple levels for try avoid lag.
     
  6. Goosah

    Goosah
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 30, 2013
    Messages:
    790
    Beam stress and deformation is better looked at in slow mo anyways :p
     
  7. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    LMAO....damn good point Goosah.
     
  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