Format issue with material image export during GLTF export #105141
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105141
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
In version 4.0.1, when exporting the model, after selecting the export format as GLTF 2.0, in the operation preset, select the format as GLTF separation (. gltf+. bin+texture), and in Data=>Material=>Image=>Select JPEG format. The final export result of the material is in. png format.
在^4.0.1版本中,导出模型时,选择导出格式为 GLTF 2.0后,在操作预设中,选择格式为gltf分离(.gltf+.bin+纹理),在数据=》材质=》图像=》选择JPEG格式。最后材质的导出结果却为.png格式。
GLTF导出时,材质图像导出格式问题to Format issue with material image export during GLTF export.(GLTF导出时,材质图像导出格式问题)Hi, thanks for the report. Image is exported in selected format (checked in 4.1)
Can you check in recent 4.1 buildbot build: https://builder.blender.org/download/daily/
Yes, the problem still exists. It was not found in the previous months, and I discovered it in my previous version after upgrading to 4.0.1
是的,依旧存在该问题,该问题在前几个月还没有,我是在我之前的版本中发现的该问题 升级至4.0.1之后 发现问题依旧存在的
It seems like I can't watch the video.
I have checked in version 4.1 and the issue still exists. @PratikPB2123
Format issue with material image export during GLTF export.(GLTF导出时,材质图像导出格式问题)to Format issue with material image export during GLTF exportYes, video is not visible. Can you reupload?
Also share simple .blend file where the problem is visible after exporting.
https://projects.blender.org/Wu_Yi_Bin/issue @PratikPB2123
Please provide your .blend file
jpeg file does not have alpha management, so depending on your node setup, we may not be able to export texture has jpeg.
Without the .blend, as requested in issue template, we can't investigate.
The .blend file is too large, and when I tried to upload it, I was prompted with an upload failure. I uploaded a .glb file and a .gltf+. bin+texture file in the repository. @JulienDuroure
The repository address is as follows:https://projects.blender.org/Wu_Yi_Bin/issueModel
outputs is not really useful to investigate.
As far as I can see in your file, you probably (once again, can't be sure without your .blend file or any other simple .blend file that shows the issue), have some alpha that prevent exporting to jpeg, forcing to png to be able to manage alpha data
Okay, I need to coordinate with other departments regarding the source files. Currently, I only have the output files in my possession and will need to wait for a few days before I can continue uploading them. @JulienDuroure
I have currently extracted two models from my colleagues and created two cases, one is the source texture material in. jpg format and the other is in. png format. After outputting these two models in. gltf format, I found that the output material is still in. png format. I have tried versions 3.2.2 and 4.1.0, but the issue remains the same.
Modeling links as https://projects.blender.org/Wu_Yi_Bin/issueModel
The models mentioned above are located in the model jpg and model png folders respectively.
I'm not sure if this operation is correct. I am a front-end development engineer, and my understanding of Blender is limited to networking. I am not very clear about the basic operations of 3D model modeling. If it is caused by incorrect operation, can you provide me with the correct operation process? Facilitate me to provide feedback to colleagues. @JulienDuroure
Disconnect the Image Texture Alpha <-> Principled Node Alpha link in the Shader Editor.
Confirmed what I said: You try to export alpha, so exporter automatically switch to png, as jpeg can't handle it.
As said by Scurest, remove alpha linked will solve your issue.
Closing this ticket, as there is no bug.
I opened an enhancement ticket on upstream repository. A possible enhancement is to check if texture is jpeg, in order to ignore the alpha link: https://github.com/KhronosGroup/glTF-Blender-IO/issues/2126