2.8 Vertex Colors incorrect #60890
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#60890
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?
System Information
Operating system:Linux
Graphics card:AMD r580
Blender Version
Broken:
2.8
Worked: (optional) 2.79
Short description of error
Vertex colors of exported models are far to dark. Possibly sRGB/Linear issues in the exporter
Exact steps for others to reproduce the error
Apply vertex color to mesh.
Export.
Check it against a collada exported version in a game engine
Added subscriber: @DBAGibbz
Added subscriber: @JulienDuroure
Can you please provide a simple .blend test file with the problem, and how exactly you check it (What game engine, what collada exported, etc...) ?
Thanks
Sure, ill attach a zip file.
Ive included the blender 2.79 file so that you can also see that the vertex colors between blender versions displays very differently for some reason... Blender 2.8 vertex colors look washed out. They are fine in 2.79.
Using the built in exporters in 2.8. These files have already been included in the temp project folder for you.
Grab the godot 3.1 beta 3 download from here:
https://downloads.tuxfamily.org/godotengine/3.1/beta3/
I have included a project in the zip (temp folder). You will need to open the models from the bottom left panel. The on the right panel should be an option to apply a material. Click there and select load > and point to the included material.tres file. This is a unlit vertex color material.
From there you can switch between the dae and glb version of the asset and see the colors are displaying wrong on the glb version.
I have also put in comparison screenshots for you.
vertexcolor_bug.zip
Hello,
Thanks for the test file & info.
Note that discussion will continue on upstream issue tracker : https://github.com/KhronosGroup/glTF-Blender-IO/issues/261
Added subscriber: @donmccurdy
@DBAGibbz could you explain what the Blender screenshots mean? The 2.79 and 2.80 screenshots are after importing this GLB file into each version?
@JulienDuroure testing against latest Blender 2.80 beta, I think there's a bug when importing models with vertex colors - the vertex colors appear to be getting treated as though they were sRGB (glTF specifies vertex colors as linear), and will appear too dark in Blender. I don't know what color space COLLADA uses, or if it specifies.
When exporting, I'm not able to reproduce a problem - coloring the default cube as '4285f4' for example will give identical results in Blender, http:*gltf-viewer.donmccurdy.com, and https:*sandbox.babylonjs.com/. I'm not sure what it will give in Godot, it's also possible that Godot is expecting vertex colors to be sRGB and needs to convert.
The model was made in 2.79. So that is how it should look. The 2.80 file is how the .blender file looks when opening the file in 2.80.
Ill do more testing and create a model in 2.80 and see if it has the same issue. Maybe it is just an issue with 2.79 > 2.80...
Okay, after a bit more checking, its not an exporter issue, the issue is that the file going from 2.79 -> 2.80 the colors get dull. As per the screenshot.
However when I made a cube in 2.79 -> 2.80 it came through perfectly fine...
I also tried appending the train to a new scene in blender 2.79, then making it local, saving. Same issue with the colors, it must be something specific to the object...
Im not sure whats different in the object to make the issue arrise, but ill keep testing.
(Note: Is there a way to display the vertex color channel in the uv editor for checking the data is valid?)
Ive found a work around for now:
Open the file in blender 2.80, create a cube in the scene, select the 'broken' object, and join it to the cube.
After doing this, delete the cube from the mesh.
And the vertex colors are now correct.
2.8 GLTF/GLB Vertex Colors incorrectto 2.8 Vertex Colors incorrectChanged status from 'Open' to: 'Resolved'
bug fixed by
5bf477b14f