FBX export: Embedding textures does not work #40303
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#40303
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?
furniture.blend
The attached blend file has a packed texture. If I try to use the Embed Texture option, the exporter try's to call open on it's path (textures\mohogany_light.jpg) instead of grabbing the packed data from bpy. If you unpack the data, the path is still wrong since the "" for a relative path is a Blender thing that Python doesn't recognized. In other words, the Embed Texture isn't using a cleaned path for the open() call. And, in the warning, "embeding" should be "embedding."
Changed status to: 'Open'
Added subscriber: @Moguri
Committed changes in
db6e3acd34
.Still needs to be really tested, not quite sure this is working (my VM with Unity is kind of broken again, and FBX Converter seems to ignore our embedded textures :/).
Will disable this (optional) feature before release in case I can’t get it working in time.
The option works when exporting to Unity, but UDK doesn't seem to work to well with it. But, I'll just blame that on UDK. Packed texture still don't work, I get the following error when I try:
Here is a simplified file (the texture should be packed):
embed_tex_export.blend
Okay, looks like UDK works if I embed a texture with an image format it likes.
Hu, 'data' is a whole new prop I had to add to PackedFile today, so you’ll have to test it with current master (blender/blender@7ab602b730 or newer). ;)
Okay, I'll test it when the build bot next updates (I don't have build tools setup on this machine).
Changed status from 'Open' to: 'Resolved'
Would assume this one is fixed for now (99.99% sure it is :P), we can always reopen if not.
Fixed by
db6e3acd34
, btw.Just confirming that the Embed Texture option works with packed textures with a new enough build.