Panda3d Gltf Versions Save

glTF utilities for Panda3D

v1.2.0

1 month ago
  • converter: Re-sample animations on import instead of assuming one data value per frame (note: CUBICSPLINE is not supported yet)
  • converter: Allow non-standard absolute paths in image URIs

v1.1.0

5 months ago
  • converter: Fix urllib.parse import
  • converter: Save space when storing animation data when all frames for a channel have the same value

v1.0.1

7 months ago

Converter

  • Fix skinned meshes with a transformed root node

v1.0.0

9 months ago

Converter

  • Fix error when a collision shape's bounding box contains a zero dimension
  • Fix loading textures with spaces in the file path

CLI

  • Fix paths when copying textures
  • Make dst option (use src with .bam extension as the default)
  • Remove deprecated --physics-engine flag

Other

  • Re-add Python 3.8 support
  • gltf.converter and gltf.loader are now explicitly marked private

v0.15.0

1 year ago

Converter

  • Do a better job combining associated GeomNodes under Characters
  • Fix loading textures from cache (fixes #118)

CLI

  • Fix paths on Windows

v0.14

1 year ago

Converter

  • Stop using load_prc_file_data() (fixes #109)
  • Make GltfSettings a mutable dataclass
  • Remove gltf.patch_loader()
  • Support KHR_materials_ior, set default refractive index to 1.5
  • Make inverseBindMatrices optional on skins (fixes #111)
  • Remove convert() function
  • Rename GltfSettings.animations to GltfSettings.skip_animations (defaults to False)
  • Remove writing_bam/copy_lights hack (we no longer support the older Panda3D versions that required these)
  • Stop using model-path to find/load textures (fixes #115)
  • Stop writing embedded textures to disk (this was in addition to being embedded in the BAM file)
  • Remove outdir and replace indir with filepath/filedir
  • Add flatten_nodes option that attempts to flatten the output node hierarchy (fixes #101)
  • Handle case where glTF extras is not an object/dict (fixes #112)
  • Put morph targets on separate GeomVertexArray (fixes #117)

Loader

  • Stop using an intermediate BAM file (fixes #116)
  • Load settings from ConfigVars and remove GltfLoader.global_settings

CLI

  • Show defaults in help/usage text
  • Add --collision-shapes option to replace --physics-engine, which is now deprecated (fixes #100)
  • Convert src and dst to absolute paths

Other

  • Move load_model() from converter to loader (still available as gltf.load_model())

v0.13

2 years ago

Converter

  • Reparent GeomNodes to physics nodes
  • Generate quad CollisionPolygons where possible
  • Use correct array type for AnimChannelScalarTable.set_table()
  • Allow for byteOffset to be optional in accessor and bufferView
  • Set correct contents on transform_weight/_index columns
  • Fix import of padded vertex columns
  • Support application/gltf-buffer for uri
  • Force normalization of joint weights
  • Fix morph targets when mesh does not specify default weights
  • Fix morph targets when neither weights nor targetNames is given
  • Use new Panda3D 1.10.8 M_emission mode
  • Make sure texture modes are set for all textures

v0.12

3 years ago

Converter

  • Fix objects without emission texture being invisible with alpha on
  • Fix punctual light direction in Y-up scenes (#81)
  • Support KHR_texture_transform
  • Generate flat normals when no normals are present
  • Support spotlight falloff
  • Fix emission not working without emissiveTexture in simplepbr

Viewer

  • Don't create a PointLight if the model already has a light
  • When parenting lights to render, maintain absolute transform

v0.11

3 years ago

Converter

  • Add option to save animations to separate files
    • This is can be accessed via the CLI using --animations separate

v0.10

3 years ago

Converter

  • Disable back-face culling on double-sided materials
    • Note: Blender materials are double-sided by default, so this may break some currently working setups
  • Fix black objects when using fix-function pipeline or auto-shader along with PBR materials
  • Allow empty scenes without Geoms
  • Fix component sizes in mesh data buffers