Maniphest T87515

hex color
Closed, Duplicate

Assigned To
None
Authored By
Emanuele Tomasi (E_Toma)
Apr 15 2021, 11:21 AM
Tags
  • Add-ons (Community)
Subscribers
Emanuele Tomasi (E_Toma)
Robert Guetzkow (rjg)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.72

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f
Worked: (optional)

Addon Information
Name: FBX format (4, 20, 2)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier

Short description of error
[wrong hex color material export]

Exact steps for others to reproduce the error
[any fbx exported with te plug-in have a material with the wrong hex color code]

Event Timeline

Emanuele Tomasi (E_Toma) created this task.Apr 15 2021, 11:21 AM
Robert Guetzkow (rjg) changed the task status from Needs Triage to Needs Information from User.EditedApr 19 2021, 10:09 PM
Robert Guetzkow (rjg) added a subscriber: Robert Guetzkow (rjg).
  • Could you please explain in what sense the color in wrong and what you're comparing it to?
  • What are the steps to reproduce this issue? Is the color when you export different from when it is imported again?
  • Have you checked if this works properly in Blender 2.92 or 2.83.12?
Emanuele Tomasi (E_Toma) added a comment.Apr 20 2021, 10:15 AM

_open Blender 2.92.2
_click on the Cube (default scene)
_open Shading viewport
_in Principled BSDF > Base Color > insert directly exe code 8000ff for example
_export fbx from dropdown file
_then clic Export FBX with default settings

now open exported.fbx object in 3D visualizer default app on Windows 10
you should see some thing like this attached file

the color you see is different
seem Blender export a material with the Linear hex Code 3700FF
but i need to see and export sRGB hex Code 8000ff

other 3D program like unity and c4d the same

Robert Guetzkow (rjg) changed the task status from Needs Information from User to Needs Triage.Apr 20 2021, 10:20 AM
Emanuele Tomasi (E_Toma) added a comment.May 18 2021, 12:49 PM

some news about hex code , fbx exporter?

Robert Guetzkow (rjg) added a comment.EditedMay 23 2021, 12:20 AM

I've taken a quick look and it seems that the FBX SDK documentation doesn't specify a color space for the property. Blender treats it as scene linear, whereas Microsoft's 3D-Viewer appears to interpret the value as sRGB. Unless there is some information that I'm not aware of, this doesn't seem to be properly specified so it is unclear what the proper approach is.

Emanuele Tomasi (E_Toma) added a comment.May 24 2021, 11:51 AM

but i entered the srgb hexe code in blender and i see it correctly _ we should also understand why exporter tipically works with other software.

Omar Emara (OmarSquircleArt) closed this task as a duplicate of T93174: Exported FBX file has incorrect albedo colors (linear/gamma issue).Mar 22 2022, 10:27 AM