Collada: Export problem when activating transparency #27161

Closed
opened 2011-04-24 20:57:16 +02:00 by Marcos Gomez · 17 comments

%%%This problem occurs in every 2.57 compilation 32 & 64 bit (os windows 7),

when a collada file exported with these builds has transparency activated and it is imported into other program, normals dont work properly or the transparency is completly lost.

See the difference using the same simple mesh (transparency on) and default settings exported under 2.56 vs 2.57 in the attached files.%%%

%%%This problem occurs in every 2.57 compilation 32 & 64 bit (os windows 7), when a collada file exported with these builds has transparency activated and it is imported into other program, normals dont work properly or the transparency is completly lost. See the difference using the same simple mesh (transparency on) and default settings exported under 2.56 vs 2.57 in the attached files.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Does this mean that 2.56 still had proper export?%%%

%%%Does this mean that 2.56 still had proper export?%%%
Member

%%%hep, accidently pressed save changes after all, already noted from the attached files.%%%

%%%hep, accidently pressed save changes after all, already noted from the attached files.%%%
Author

%%%to the first question, yep, I'm using the 2.56 version to export every collada files (if they got transparency objects) and importing them in other programs, augmented reality... without any problem.%%%

%%%to the first question, yep, I'm using the 2.56 version to export every collada files (if they got transparency objects) and importing them in other programs, augmented reality... without any problem.%%%
Author

%%%"Update"

Still don't working on the 2.58 release.%%%

%%%"Update" Still don't working on the 2.58 release.%%%
Member

%%%Ok, finally dove inside the .dae files, and I think the shaders here are the ones causing the problems.

In the 2.56 dae the material is a , but in 2.57 dae this is a . There was a change regarding the export of materials between 2.56 and 2.57. For COLLADA lambert cannot have specular, so the change was to see if a material has specular set. Only when specular is off a lambert shader would be exported as a lambert shader.

Please try disabling specular for your material and re-export. Your file will probably behave better then.

Thanks.%%%

%%%Ok, finally dove inside the .dae files, and I think the shaders here are the ones causing the problems. In the 2.56 dae the material is a <lambert>, but in 2.57 dae this is a <phong>. There was a change regarding the export of materials between 2.56 and 2.57. For COLLADA lambert cannot have specular, so the change was to see if a material has specular set. Only when specular is off a lambert shader would be exported as a lambert shader. Please try disabling specular for your material and re-export. Your file will probably behave better then. Thanks.%%%
Member

%%%Any response?%%%

%%%Any response?%%%
Author

%%%Hi, sorry for the delay, I have been trying to export in other formats, .obj -- .fbx and I think the bug apply to many other formats, so maybe it's the way blender is exporting models with transparency activated since 2.57 version. I can attach a simple example, I have been using blender for developing 3D content to import in augmented reality software, but I still need to export the models with transparency on using the 2.56 version due to the extrange things that occurs in those surfaces.

  • Files attached: .blend + .dae + .obj + fbx + jpg's<--
    Thanks!%%%

%%%Hi, sorry for the delay, I have been trying to export in other formats, .obj -- .fbx and I think the bug apply to many other formats, so maybe it's the way blender is exporting models with transparency activated since 2.57 version. I can attach a simple example, I have been using blender for developing 3D content to import in augmented reality software, but I still need to export the models with transparency on using the 2.56 version due to the extrange things that occurs in those surfaces. - > Files attached: .blend + .dae + .obj + fbx + jpg's<-- Thanks!%%%
Member

%%%I'm renaming to general export problem with transp, since this is not anymore COLLADA specific.%%%

%%%I'm renaming to general export problem with transp, since this is not anymore COLLADA specific.%%%

%%%This report should be split up so each format can be dealt with separately, to say "transparency fails with dae / fbx / obj"

fw('\n\t\t\tProperty: "TransparencyFactor", "double", "",%.4f' % (1.0 - mat_alpha))

... which shows up in you're file as:

Property: "TransparencyFactor", "double", "",0.6000

In you're MTL file there is "d 0.400000" which means dissolve, which OBJ uses for alpha.

So to me it seems that the augmented reality software just isnt reading values from blenders OBJ / FBX files.

renaming report again :)%%%

%%%This report should be split up so each format can be dealt with separately, to say "transparency fails with dae / fbx / obj" fw('\n\t\t\tProperty: "TransparencyFactor", "double", "",%.4f' % (1.0 - mat_alpha)) ... which shows up in you're file as: ``` Property: "TransparencyFactor", "double", "",0.6000 ``` In you're MTL file there is "d 0.400000" which means dissolve, which OBJ uses for alpha. So to me it seems that the augmented reality software just isnt reading values from blenders OBJ / FBX files. renaming report again :)%%%
Author

%%%The strange thing is that all these issues occurs after 2.56 build, not only in the agumented reality software, you can do a simple test, export a geometry using blender 2.56 into other 3D program, i.e. Sketchup, and see the difference with newest builds. You can see the result in the attached file "No_transparency.jpg".
%%%

%%%The strange thing is that all these issues occurs after 2.56 build, not only in the agumented reality software, you can do a simple test, export a geometry using blender 2.56 into other 3D program, i.e. Sketchup, and see the difference with newest builds. You can see the result in the attached file "No_transparency.jpg". %%%

%%%Collada bugs are not being handled well so far,

for this reason they are all being set as 'TODO' and linked from our wiki page.

http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#OpenCollada

This tracker item can still be updated with useful info and closed (removed from the page above) when fixed.%%%

%%%Collada bugs are not being handled well so far, for this reason they are all being set as \'TODO\' and linked from our wiki page. http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Import_Export#OpenCollada This tracker item can still be updated with useful info and closed (removed from the page above) when fixed.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

%%%From what i read here this is not necessarily a Collada Issue but a general issue maybe related to materials ?%%%

%%%From what i read here this is not necessarily a Collada Issue but a general issue maybe related to materials ?%%%

%%%Hi all,
I have been running through this very same problem of exporting COLLADA from Blender with transparency and loading to other softs where transparency is lost.
My knowledge of Blender is low but I am on Mac and I can tell you that transparency is fine when reading the exported COLLADA file with the "basic" Preview (OS10.6.8).
Quite surprising to me.
Maybe that can give you some hints to solve this problem ?%%%

%%%Hi all, I have been running through this very same problem of exporting COLLADA from Blender with transparency and loading to other softs where transparency is lost. My knowledge of Blender is low but I am on Mac and I can tell you that transparency is fine when reading the exported COLLADA file with the "basic" Preview (OS10.6.8). Quite surprising to me. Maybe that can give you some hints to solve this problem ?%%%

Added subscriber: @duststorm

Added subscriber: @duststorm

We at MakeHuman.org are also hitting against the issue of transparency property in DAE files not being respected by the importer.
Cross reference: http://bugtracker.makehuman.org/issues/679

Having a fix for this issue would benefit both Blender and MakeHuman a lot.

We at MakeHuman.org are also hitting against the issue of transparency property in DAE files not being respected by the importer. Cross reference: http://bugtracker.makehuman.org/issues/679 Having a fix for this issue would benefit both Blender and MakeHuman a lot.
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
6 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#27161
No description provided.