Embed normal map in collada #54068

Open
opened 2018-02-14 08:38:40 +01:00 by Abdou · 17 comments

System Information
Windows10, Linux Mint 19

Blender Version
Broken: 2.76, 2.78, 2.79 (first report)
Broken: 2.82 (updated report)

Short description of error
Can't embed texture maps in collada file except diffuse.

Exact steps for others to reproduce the error

  • Open the test.blend file, the material uses a basic node setting (texture ccordinate>mapping>image texture and a 'normal map' node for the normal texture), with textures assigned to diffuse, specular and normal
  • open the export to collada window,
  • make sure "copy" is checked in the textures options,
  • export the file
  • import the collada,
  • the model has only the diffuse texture map.

Tried exporting to fbx I was able to embed textures for diffuse, roughness, specular and normal.

{F8345349}screenshots.7z

**System Information** Windows10, Linux Mint 19 **Blender Version** Broken: 2.76, 2.78, 2.79 (first report) Broken: 2.82 (updated report) **Short description of error** Can't embed texture maps in collada file except diffuse. **Exact steps for others to reproduce the error** * Open the test.blend file, the material uses a basic node setting (texture ccordinate>mapping>image texture and a 'normal map' node for the normal texture), with textures assigned to diffuse, specular and normal * open the export to collada window, * make sure "copy" is checked in the textures options, * export the file * import the collada, * the model has only the diffuse texture map. Tried exporting to fbx I was able to embed textures for diffuse, roughness, specular and normal. {[F8345349](https://archive.blender.org/developer/F8345349/test.blend)}[screenshots.7z](https://archive.blender.org/developer/F8345353/screenshots.7z)
Author

Added subscriber: @AbdouCher

Added subscriber: @AbdouCher

Added subscribers: @GaiaClary, @Sergey

Added subscribers: @GaiaClary, @Sergey
Gaia Clary was assigned by Sergey Sharybin 2018-03-06 16:00:06 +01:00

@GaiaClary , something for you to look into?

@GaiaClary , something for you to look into?
Gaia Clary was unassigned by Dalai Felinto 2019-12-23 16:36:20 +01:00

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

@AbdouCher Please check this with the latest Blender build from https://builder.blender.org/ to see if you can still reproduce it. If you can, please attach a blend file with the relevant images packed in there, so that developers can easily reproduce the issue as well.

@AbdouCher Please check this with the latest Blender build from https://builder.blender.org/ to see if you can still reproduce it. If you can, please attach a blend file with the relevant images packed in there, so that developers can easily reproduce the issue as well.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Jacques Lucke self-assigned this 2020-02-12 11:44:58 +01:00
Member

Will close this for now. @AbdouCher, if you are still able to reproduce the issue in the latest build, you can reopen this report. Make sure to provide the additional information @dr.sybren asked for in the task description. Thanks.

Will close this for now. @AbdouCher, if you are still able to reproduce the issue in the latest build, you can reopen this report. Make sure to provide the additional information @dr.sybren asked for in the task description. Thanks.
Author

Hi,
Sorry for answering thia late.
First of all, since blender internal is no longer available in newer versions of blender I'll be using cycles as now it supports texture embedding when exporting.

System Information
Windows10, Linux Mint 19

Blender Version
Broken: (2.82)

Short description of error
Can't embed texture maps in collada file except diffuse.

Exact steps for others to reproduce the error
Open the test.blend file, the material uses a basic node setting (texture ccordinate>mapping>image texture and a 'normal map' node for the normal texture), with textures assigned to diffuse, specular and normal, open the export to collada window, make sure "copy" is checked in the textures options, export the file then import the collada, the model has only the diffuse texture map.
Tried exporting to fbx I was able to embed textures for diffuse, roughness, specular and normal.
Thank you

{F8345349}screenshots.7z

Hi, Sorry for answering thia late. First of all, since blender internal is no longer available in newer versions of blender I'll be using cycles as now it supports texture embedding when exporting. **System Information** Windows10, Linux Mint 19 **Blender Version** Broken: (2.82) **Short description of error** Can't embed texture maps in collada file except diffuse. **Exact steps for others to reproduce the error** Open the test.blend file, the material uses a basic node setting (texture ccordinate>mapping>image texture and a 'normal map' node for the normal texture), with textures assigned to diffuse, specular and normal, open the export to collada window, make sure "copy" is checked in the textures options, export the file then import the collada, the model has only the diffuse texture map. Tried exporting to fbx I was able to embed textures for diffuse, roughness, specular and normal. Thank you {[F8345349](https://archive.blender.org/developer/F8345349/test.blend)}[screenshots.7z](https://archive.blender.org/developer/F8345353/screenshots.7z)

Changed status from 'Archived' to: 'Needs Triage'

Changed status from 'Archived' to: 'Needs Triage'

Added subscriber: @timjoyce

Added subscriber: @timjoyce

Abdou,

I am experiencing the same problem. I will need to switch to Maya unless I can find a workaround.

can you explain what you mean by this:

" I'll be using cycles as now it supports texture embedding when exporting."

how are you using cycles to export collada files with normal or specular maps?

thanks

tim

Abdou, I am experiencing the same problem. I will need to switch to Maya unless I can find a workaround. can you explain what you mean by this: " I'll be using cycles as now it supports texture embedding when exporting." how are you using cycles to export collada files with normal or specular maps? thanks tim
Author

Tim,

The problem was originally reported in blender 2.79 and earlier using blender internal renderer because back then cycles didn't support embedding textures at all, what I meant is, since BI in so longer resent in version 2.8 I am using cycles as now, in theory, it supports embedding textures.

Sorry for the misunderstanding.

Tim, The problem was originally reported in blender 2.79 and earlier using blender internal renderer because back then cycles didn't support embedding textures at all, what I meant is, since BI in so longer resent in version 2.8 I am using cycles as now, in theory, it supports embedding textures. Sorry for the misunderstanding.

Abdou,

thanks for the update. do let me know if you find any way to support exporting specular and normal textures to collada.

tim

Abdou, thanks for the update. do let me know if you find any way to support exporting specular and normal textures to collada. tim
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Jacques Lucke was unassigned by Aaron Carlisle 2020-05-24 23:18:44 +02:00
Member

I am not sure how we could get the data out of the node system in a general way. I mean those textures and maps can be located anywhere in the node tree... And as far as i understand we have no way to extract this data from an arbitrary node tree, unless we make assumptions... And that won't work nicely.

So the only way to go would probably be to bake the material (if that is the correct term in this case) and then extract the data from the baked material. However i am not sure if we can do this programmatically in a convenient way.

Maybe we need a function "get rendered data for export" which could allow to get ready made textures and maps ?

I am not sure how we could get the data out of the node system in a general way. I mean those textures and maps can be located anywhere in the node tree... And as far as i understand we have no way to extract this data from an arbitrary node tree, unless we make assumptions... And that won't work nicely. So the only way to go would probably be to bake the material (if that is the correct term in this case) and then extract the data from the baked material. However i am not sure if we can do this programmatically in a convenient way. Maybe we need a function "get rendered data for export" which could allow to get ready made textures and maps ?
Philipp Oeser removed the
Interest
Pipeline, Assets & IO
label 2023-02-10 08:54:24 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54068
No description provided.