Any idea why this happens sometimes exporting DAEs from Blender to Game ?

Discussion in 'Content Creation' started by Artistterrymartin, Mar 31, 2022.

  1. Artistterrymartin

    Artistterrymartin
    Expand Collapse

    Joined:
    May 5, 2019
    Messages:
    832
    upload_2022-3-30_19-26-55.png upload_2022-3-30_19-27-27.png
    size -1? I noticed after installing Blender 3.1 from 3.0 I been having issues exporting DAE's. Where they are not showing up on map with that error above. But the Shape Editor sees it fine.
    upload_2022-3-30_19-28-27.png
    Just extract the folder and place in your levels art folder, so it has its own folder. Has it's own materials.json.
    Unless I am overlooking something obvious I have no clue.
     

    Attached Files:

  2. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    671
    https://documentation.beamng.com/modding/levels/export_dae/
    A few things to remember
    • Your objects must be parented to “start01”
    • “start01” must be parented to “base00”
    • The numbers at the end of the object name (“800”, “300” etc) is the size in pixels at which the object will swap to the next level of detail, the bigger the number the sooner it will drop to the next LOD
    • The LOD distance MUST be preceded by a letter or the import will fail:
      • "example_model_a800" will work
      • "example_model_800" will fail
    I changed bush_1 to bush_a100 (and to bush_a150 after updating 3.1) and it works without errors.
    screen_bush.png screenshot_2022-03-31_15-20-26.jpg
     
  3. Artistterrymartin

    Artistterrymartin
    Expand Collapse

    Joined:
    May 5, 2019
    Messages:
    832
    Ah, so the number was messing it up making the game think it was a LOD. Thanks, I had just named it with a _1 for reasons I thought bush was already taken lol. I had no plans to make a LOD for something so low detail. But that makes perfect sense ! Thanks ! Yeah, I made things before using LODS, and always use the _a300 for example. Did not even occur to me this was causing the problem. Appreciate that, man it was a head scratcher I kept telling myself, I should know this. Honestly I would have never put 2 and 2 together to figure that out. I would have went into Blender and assumed it had something to do with the way I extruded edges.
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,490
    That's why you read the documentation, it seems to me that you avoid reading it for some reason
     
    • Agree Agree x 1
  5. Artistterrymartin

    Artistterrymartin
    Expand Collapse

    Joined:
    May 5, 2019
    Messages:
    832
    Too funny... I am bad about reading stuff. I feel like I get narcolepsy from reading a lot of stuff. I once tried to read on LUA... Ever need a good nights sleep, read some LUA :D
     
  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