How do I change an object's render distance?

Discussion in 'Content Creation' started by Uanpis, May 25, 2018.

  1. Uanpis

    Uanpis
    Expand Collapse

    Joined:
    Mar 11, 2018
    Messages:
    57
    I would like my objects to disappear at a larger distance, is there a way to do that?
     

    Attached Files:

    • ezgifcom-gif-maker.gif
  2. Cael233Niall

    Cael233Niall
    Expand Collapse

    Joined:
    Mar 13, 2016
    Messages:
    422
    I remember falefee showed how to do this in one of his twitch livestreams, but i don't remember what exactly it was.
     
  3. Uanpis

    Uanpis
    Expand Collapse

    Joined:
    Mar 11, 2018
    Messages:
    57
    At least I know it's possible C:
     
    • Agree Agree x 1
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    LODs:
    https://wiki.beamng.com/Exporting_static_objects#Export_layout

    a130, a420, etc. are the various lods. Those numbers represent the amount of pixels on screen for that lod to be used.
    a130 means the object must take around 130 pixels on screen before that lod is used (it would be small, that lod is very likely a low poly model).
    Bigger numbers means the pixel take more space on screen, means that's the model that is used when the player is close to them.

    If you want to make your object disappear, make an empty lod basically.



    Another way around that is using billboards. It can be done directly in-game (shape editor).
    I use that on my simple_map level to hide the 'skycurve' track when you are far from it. I basically set up the billboards so they would not generated, so when the game switches to them, it's just invisible.
     
    • Informative Informative x 2
  5. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    How are the materials handled with LOD's??
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    Not differently as if you have different object.
    Just assign the material and UV map your LODs and voilĂ  (LODs are self-made by you, not automatically generated).
    Billboards are automatically generated, and you can tune the parameters from the shape editor (resolution, steps, distance, etc.)
     
    • Informative Informative x 1
  7. Uanpis

    Uanpis
    Expand Collapse

    Joined:
    Mar 11, 2018
    Messages:
    57
    I changed the LODs to a single object and it works fine, but it doesn't seem to apply to forest elements
     
  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