Is it possible to export a mesh/asset in MuJoCo?

Discussion in 'Modeling' started by Amir, Sep 4, 2018.

  1. Hi. I wonder if it's possible to export a mesh/asset in MuJoCo? I need to use a MuJoCo asset in another 3D software but I haven't been able to figure out whether it's possible to export a mesh in MuJoCo.
     
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    The mesh data is in mjModel. You can write code that exports it... but given that you imported it in MuJoCo in the first place, presumably you already have the STL file, so I am not sure why you would want to export it.
     
  3. Hi Amir,
    I believe you're asking about deformed skins, rather than meshes.
    You can read the values from the mjvScene, in the skinXXX fields.
    Of course you'd need to convert these yourself to your favourite mesh format, but that's easy.