Skip to content

Model IO

Saxon Landers edited this page Jan 20, 2024 · 13 revisions

Export

Blender

These settings are based on Blender 4.0. Older versions may have slightly different configuration or less options.

Click for visual example
  • Bone Dir
    "Temperance" provides best results. If your model is covered in large balls, you likely imported with "Blender" selected in this option.

Authoring

Attributes

Import

Blender

These settings are based on Blender 4.0. Older versions may have slightly different configuration or less options.

Click for visual example
  • Format
    All options should work correctly, however "glTF Seperate" is recommended if providing files for debugging purposes.
  • Include 🡒 Data 🡒 Custom Properties
    Enable if using custom properties to author attributes.
  • Mesh 🡒 Tangents
    Typically should be enabled. While Penumbra can calculate tangents, it's recommended that you leave that up to blender unless receiving errors.
  • Shape Keys 🡒 Optimize Shape Keys -> Use Sparse Accessor if better
    Must be disabled, or imports will likely fail.

Changelog

1.0.0.2

  • import will calculate main model bounding box
  • import will copy element ids from the model it is replacing
  • import will generate a white (1, 1, 1, 1) vertex colour attribute if none exists in the source file
  • fixes for export path resolution when using file swaps

1.0.0.0

  • we're public babyyyyyyyy
  • import will now correctly calculate bitangents
  • import will now attempt to calculate tangents (to use for bitangents) if they're missing

0.8.3.6

  • export will now try to compose materials and textures

0.8.3.5

  • materials and attributes are now exported and imported from gltf
  • you can now instruct import to maintain existing materials and attributes already in penumbra
  • errors during export and import are now reported correctly, in a nicer ui

0.8.3.4

  • rudimentary .mdl↔.gltf import and export is now available in the models advanced editing tab!

Clone this wiki locally