WIP Beta released Blender Collada CDAE (&DAE) Plugin

Discussion in 'Utilities and programming' started by Grille, Jul 3, 2025.

  1. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    Since we now have cdae specifications and built in Collada support in blender will probably be dropped soon, I thought a dedicated addon to export models to BeamNG could be useful.

    The focus of this addon is exporting, but it contains a cdae importer for debugging purposes. I don’t plan to include a dae importer for now.

    It’s still in development and will probably take a while until it becomes really useful.
    But if you want to test it out and give feedback that would be great! ^^

    Source Code: https://github.com/Grille/Blender_BeamNG_CDAE
    Downloads: https://github.com/Grille/Blender_BeamNG_CDAE/releases
     
    #1 Grille, Jul 3, 2025
    Last edited: Jul 11, 2025 at 9:39 PM
    • Like Like x 6
  2. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    524
    Do you think that cdae will be a useful fileformat for modeling without the base dae files?

    But thanks for hinting me to the definition. I always wanted to be able to read the materialnames from a cdae for my shrinker tool. Now I can do it.
     
    • Like Like x 1
  3. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    If you export to dae or cdae doesn’t makes much difference for the modder.
    Except that cdae aren’t browsable from BeamNG yet, something the Dev’s hopefully change.
    Maybe I also add dae support in the future, generating the text format isn’t hard once I’m able to build the binary one.

    What’s more interesting is to have a plugin that is tailored to beamng’s needs and not a generic format.
    Being able to generate material.json from blender materials or, to autogenerate the scene tree are some of the possibilities.
     
    • Agree Agree x 2
    • Like Like x 1
  4. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    Screenshot46.png
    suzanne after export and import
     
    • Like Like x 1
  5. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    524
  6. fillman86

    fillman86
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    187
    this is fantastic! well done. I looked at doing this myself, and instantly had a case of the "oh, I have no idea what I'm doing"
     
    • Like Like x 3
  7. Neverless

    Neverless
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    239
    Thank you very much for this mate, this is awesome work!
     
    • Like Like x 1
  8. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    Thanks, Thankfully I already have some experience serializing/deserializing mesh data, so I knew what mess I was getting into xD
     
    • Like Like x 1
  9. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    20250709135601_1.jpg
    finally...
     
    • Like Like x 1
    • Agree Agree x 1
  10. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    _Unsaved-Blender4401007202509_27_56.png
    I find building the BeamNG scene tree before export quite tiresome, so alternatively it can be now handled over custom properties.


    The plugin now also contains a dae exporter making use of BeamNG specific features.
    That one is probably more useful than the cdae one until the dev add better support for using cdae directly.
     
  11. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    524
    nice! I use this blender plugin almost always for exporting to BeamNG.
    https://www.beamng.com/threads/beamng-easy-export-for-blender.85294/
     
    • Like Like x 1
  12. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    matexpo.png

    Any ideas for conventions on how I parse blender materials?

    I need some node structure I can expect.
     
  13. Brokenbraincells

    Brokenbraincells
    Expand Collapse

    Joined:
    Dec 27, 2023
    Messages:
    72
    I got material importing working and applying it correctly to the mesh but just the material names
     
  14. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    58
    I have my own Collada importer/exporter for blender 5.0+ I'm gonna release soon, just some minor things to fix before release
     
    • Like Like x 1
  15. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    221
    In what context?

    Nice!
    Specifically, for BeamNG or general purpose?
     
  16. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    58
    General Importer/exporter, but wanna include some extra stuff that helps with beamng dae files on top.

     
    #16 Blenux, Jul 12, 2025 at 11:32 AM
    Last edited: Jul 12, 2025 at 11:41 AM
  17. Brokenbraincells

    Brokenbraincells
    Expand Collapse

    Joined:
    Dec 27, 2023
    Messages:
    72
    --- Post updated ---
     

    Attached Files:

  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