Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glTF Export Phase 2 #260

Open
26 of 61 tasks
atteneder opened this issue Oct 26, 2021 · 3 comments
Open
26 of 61 tasks

glTF Export Phase 2 #260

atteneder opened this issue Oct 26, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request export Export of glTF files

Comments

@atteneder
Copy link
Owner

atteneder commented Oct 26, 2021

glTF Export has landed in 4.4.0. Now it's time get it out of experimental

TODO

  • Run-time export via API
    • Save to file
    • Save to stream
  • Interfaces
    • Editor context menu export of scene/objects
  • Documentation
  • Optimize output for size
    • node transform (skip default values)
    • Skip properties technically not required (like names)
    • (Option for) Minimized JSON
    • Precision rounding (e.g. 0.2 instead of 0.199999993)
  • Buffer layout
    • Separate (non-interleaved; required for meshopt and 2019 LTS support)
  • Materials
    • Shaders
      • BiRP Specular-Glossiness
      • URP Lit
      • URP Unlit
      • HDRP Lit
      • HDRP Unlit
    • Textures
      • Samplers
        • fix redundant glTF textures
      • Occlusion (ORM swizzle)
      • Emissive
      • MetallicRoughness (ORM swizzle)
  • Tests
    • ~80% code coverage
    • Validator Integration
  • Skinning (weights and joints)
  • Morph targets
  • Animation
  • Expose Export Settings
    • Texture compression (Auto/Always PNG)
    • Jpeg compression level
    • Separate .gltf/.bin or Binary
    • Active in hierarchy only

Long-Term Features

  • Async export
  • Mesh quantization
  • Sparse accessors
  • GPU instancing
  • Buffer layout
    • (Ideal) Unity layout
  • Compression
    • Draco mesh-level compression
    • meshopt bufferview-level compression
    • KTX2/BasisU texture compression
  • Custom data in extras property
  • XMP meta data
  • Materials
    • TransmissionFactor/Texture
    • Clear coat
    • Specular
    • Sheen
    • Volume
    • IOR
    • Specular/Glossiness workflow
    • Variants
  • Punctual lights
  • Camera
  • DOTS export entity hierarchies
@atteneder atteneder added the enhancement New feature or request label Oct 26, 2021
@atteneder atteneder added this to To do in glTFast development via automation Oct 26, 2021
@atteneder atteneder added this to the 4.5.0 milestone Oct 26, 2021
@atteneder atteneder moved this from To do to To do Export in glTFast development Dec 1, 2021
@atteneder atteneder added the export Export of glTF files label Dec 1, 2021
@atteneder atteneder self-assigned this Jan 24, 2022
@atteneder atteneder modified the milestones: 4.5.0, 4.6.0 Feb 7, 2022
@atteneder atteneder removed this from the 4.6.0 milestone Feb 23, 2022
@ROBYER1
Copy link

ROBYER1 commented Sep 6, 2022

Should I make an extra issue about GPU Instancing support? I want to use instanced meshes with an imported GLTF to save on file sizes.

@atteneder
Copy link
Owner Author

Should I make an extra issue about GPU Instancing support? I want to use instanced meshes with an imported GLTF to save on file sizes.

So you want the glTFast export to recognize Renderers with identical Meshes/Materials, so that it not only re-uses the Mesh, but adds a EXT_mesh_gpu_instancing extension, minimizing the instance overhead, right?

Yes, I'd suggest to make a dedicated issue, if it is of importance to you.

@ROBYER1
Copy link

ROBYER1 commented Sep 6, 2022

Yes, I'd suggest to make a dedicated issue, if it is of importance to you.

I've set one up here #461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request export Export of glTF files
Projects
Status: Export
Development

No branches or pull requests

2 participants