Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26257] Colored UV-Map on export

Date:
2011-03-01 12:35
Priority:
3
State:
Closed
Submitted by:
Wolfgang Faehnle (mib2berlin)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Image & Movie I/O
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Colored UV-Map on export
Detailed description
Blender Rev: 35277
Opensuse Linux 11.3/64

If you export an uv-mat as .png or .svg the exported picture is colored.
The .eps picture is grey and overlapping meshes are scrambled.
I work with gimp.

Cheers, mib

Followup

Message
  • Date: 2011-03-01 13:05
  • Sender: Campbell Barton
  • Not sure if this is a bug, IIRC EPS doesn't do alpha at all, assigning to Matt since he added EPS support.
  • Date: 2011-03-01 14:06
  • Sender: Ton Roosendaal
  • The image has alpha, and blender allows to save premul-alpha in png. Maybe it's that?
    Inspect the image in Blender to check it.

    However, also in Blender the image shows with color... I further don't understand the report. If an eps export went wrong, why don't you attach this, and a .blend file to show what the real error is?
  • Date: 2011-03-01 14:47
  • Sender: Wolfgang Faehnle
  • I mean, the png has alpha but the mesh is black and the faces are orange (R 169 G 136 B 90).
    In 2.49 (tga export) the mesh is black and the background is white, only two clicks in gimp to make white transparent.
    As I put the uv-map over my diffuse texture, and I think others do it in the same way, it make sense to have the mesh black and background/faces tranparent.

    Nothing wrong with .eps export, but not usefull for texturing, you have to change two "colors" to transparent (white and grey).

    Not necessary to attach a .blend, I think, all uv-maps export the same.
    I hope it is more clear now, and it is not a real bug but a change from 2.49 that makes no sense, work flow wise.

    I am sorry if I bother the bugtracker with this. It is better to do on mail list? I try on IRC but no respose.
    You could close the thread if it works like it should be, I could live with oranje faces. :)
    Cheers, mib2berlin
    (eps, tga attached)

  • Date: 2011-03-01 15:08
  • Sender: Ton Roosendaal
  • Sorry, but I cannot follow this report... what's the problem?

    Is it just: In 2.5 the "UV export" saves with different colors than in 2.4?
  • Date: 2011-03-01 15:59
  • Sender: Wolfgang Faehnle
  • Yes, thats all, I expected a black mesh on a transparent background and no other colors.
    But again, I am sorry to take your time for such a small thingy.

    Cheers, mib2berlin
  • Date: 2011-03-01 16:24
  • Sender: Nathan Letwory
  • IIRC the uv export code renders the uv mesh with an alphaed material.
  • Date: 2011-03-01 16:26
  • Sender: Nathan Letwory
  • Meh, too soon pressed "save changes". So the uv mesh is generated as a temporary mesh in a temporary scene with camera being manipulated to get the end result. The temporary uv mesh is assigned this material with color/alpha in it.
  • Date: 2011-03-01 17:04
  • Sender: Campbell Barton
  • Hi Wolfgang, This code is different from 2.4x so some changes are expected, I did SVG and PNG, Matt did EPS support

    I read through the comments but am still not sure what you mean.
    From what I can gather you want the script to behave differently? - use different colors, or no colors?

    Please try to be clear:
    * The output for PNG is "..." but I expect "..." which is wrong because "..."
    * SVG does "..." but EPS does "..." which is wrong because "..."
  • Date: 2011-03-01 17:07
  • Sender: Campbell Barton
  • @Wolfgang, would an export option to have no color filling work as you are requesting?
  • Date: 2011-03-01 18:26
  • Sender: Campbell Barton
  • from the commit log. r35287, 35288.
    - EPS now exports material colors and face fill doesn't overwrite edges (draw in 2 passes).
    - added opacity option for EPS/SVG/PNG

    closing.
 

Attached Files:

Name Date Download
beiboot_eps.png 2011-03-01 12:35 Download
beiboot_uv.png 2011-03-01 12:35 Download
beiboot_uv_beiboot.tga 2011-03-01 14:47 Download
beiboot.eps 2011-03-01 14:47 Download

Changes:

Field Old Value Date By
status_idOpen2011-03-01 18:26campbellbarton
close_dateNone2011-03-01 18:26campbellbarton
StatusInvestigate2011-03-01 18:26campbellbarton
assigned_tobroken2011-03-01 15:08ton
File Added15189: beiboot.eps2011-03-01 14:47mib2berlin
File Added15190: beiboot_uv_beiboot.tga2011-03-01 14:47mib2berlin
assigned_tonone2011-03-01 13:05campbellbarton
StatusNew2011-03-01 13:05campbellbarton
File Added15187: beiboot_uv.png2011-03-01 12:35mib2berlin
File Added15188: beiboot_eps.png2011-03-01 12:35mib2berlin