gltf exporter does not export non-byte color and non-face-corner vertex colors in 3.3 alpha #99005
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#99005
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Version
3.3.0-alpha+master.6ad9d8e2247d-windows.amd64-release
Short description of error
Exact steps for others to reproduce the error
Opening the gltf you can see that the attributes are:
COLOR_0 is missing
test_vertex.blend
2022-07-07 10-12-27.mp4
Added subscriber: @nothke
#99509 was marked as duplicate of this issue
Added subscriber: @scurest
What kind of color attribute layer? The exporter still only supports pre-3.2 style vertex colors, ie. Face Corner + Byte Color.
Added subscriber: @PratikPB2123
Added subscriber: @JulienDuroure
Changed status from 'Needs Triage' to: 'Needs User Info'
Oh, that's true, it's still possible to export only with face corner + byte color, it's not a regression then. I managed to transfer vertices to corners via Geometry Nodes and export like that.
Aaaanyway, the reason why I wanted to export vertex-based and not face-corner based color was just so vertex color bakes would look better, but it turned out that this was not the issue with color domain, but with baking and denoising.
Regression: gltf exporter does not export vertex colors in 3.3 alphato gltf exporter does not export non-byte color and non-face-corner vertex colors in 3.3 alphaIt's technically straightforward to add support for this. Main considerations:
I will take care of that. Hoping for 3.3
Added subscriber: @1029910278
Changed status from 'Needs User Info' to: 'Confirmed'
A PR is under review here:
https://github.com/KhronosGroup/glTF-Blender-IO/pull/1678
Changed status from 'Confirmed' to: 'Resolved'
Fixed by
2fcac97522
Added subscriber: @tomjk
I'm still having an issue exporting color-type vertex colors with gltf in blender 3.3.0 official release for linux.
steps (basically same as in original post):
Vertex colors don't appear in exported file.
example for an exported plane (edited for clarity):
@tomjk Confirmed. Seems there was some change in API between this fix and final release. Will check, and fix. This should be included in 3.3.x release (trying 3.3.1)
Fixed in
4feb92043c