Campbell Barton
eb6fe5fa94
Cleanup: indentation
2018-04-16 18:13:48 +02:00
Campbell Barton
85de548e03
Cleanup: indentation
2018-04-16 17:08:27 +02:00
Campbell Barton
bb0e8f1c55
Cleanup: remove unused function
2017-06-27 18:05:44 +10:00
Gaia Clary
1c053c6a12
Collada: Exporter now only exports either 'Materials' or 'UV Textures as Materials'. This makes the user interface more streight
2017-06-25 22:06:42 +02:00
Gaia Clary
ddabe465b5
collada: export UV Textures as materials. Note: the reimport of the exported collada files will have materials assigned instead of UV Face Textures! This is expected behavior
2017-06-24 22:16:47 +02:00
Gaia Clary
a2a301bdb9
collada: change image export: export either UV Textures or Materials. This
...
avoids wrong texture data when multiple objects are exported. Note: This
commit might possiblyt not work fully. The full feature is added with the
next commit)
2017-06-24 22:16:47 +02:00
Gaia Clary
27641b51e7
Collada: changed specification of material alpha from using transparency to using transparent with opaque=A_ONE
2016-07-15 16:14:51 +02:00
Gaia Clary
37d7b2d3b6
Revert "COLLADA - support for shadeless material (SHADER_CONSTANT)"
...
This reverts commit 04b0a9f4b8 .
2015-03-05 19:44:23 +01:00
Gaia Clary
04b0a9f4b8
COLLADA - support for shadeless material (SHADER_CONSTANT)
...
This patch make it possible to export and import shadeless material.
Reviewers: sergey, sauraedron
Subscribers: sergey
Projects: #collada
Differential Revision: https://developer.blender.org/D1094
2015-03-05 18:44:04 +01:00
Gaia Clary
a78a17bad5
Fix T43366 export/import materials inconsistent
2015-02-04 19:07:28 +01:00
Campbell Barton
6d78936c43
cleanup: style
2015-01-24 01:59:09 +11:00
Bastien Montagne
b5acd1aa87
Fix T40829: Collada Export with 'Include Material Textures' selected crashes.
...
Code would not check a texture did have a valid image pointer...
2014-06-28 22:13:04 +02:00
Nathan Letwory
cd14dcbe91
Don't write all uv textures, but only active uv layer.
...
Fix T39922
2014-05-22 12:34:47 +03:00
Gaia Clary
86ff11fe47
Collada: Added ngon support to Vertex Color exporter
2013-03-04 13:12:56 +00:00
Campbell Barton
d599b643b7
style cleanup: bge, switch statements mostly.
...
also left bmesh decimator on in previous commit.
2012-10-21 07:58:38 +00:00
Campbell Barton
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
Gaia Clary
417e99df22
Collada: fixed export when 'active UV Layer only' was selected
2012-08-15 22:08:22 +00:00
Gaia Clary
10004d4a42
fixed: [ #32240 ] Collada import when nodes share geometry but not material
2012-08-12 17:13:07 +00:00
Campbell Barton
75a5eab8d1
code cleanup
2012-07-08 21:37:59 +00:00
Gaia Clary
8ef4c4762b
Added option for exporting material based textures. Cleaned up header files due to a bug in osx
2012-06-23 22:03:31 +00:00
Gaia Clary
adf3a5e332
Collada: (Export) Added export of surface textures, and control over exported uv layers
2012-06-22 16:16:58 +00:00
Campbell Barton
2e8a2f7668
style cleanup
2012-06-12 22:05:33 +00:00
Gaia Clary
36ed4818e5
patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset()
2012-06-12 21:25:29 +00:00
Campbell Barton
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
Campbell Barton
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
Campbell Barton
07065b27b8
style cleanup
2012-03-28 05:03:24 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Campbell Barton
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
97c78e25f0
fix for opencollada crash with r40164, missing NULL check.
2011-09-12 13:59:23 +00:00
Nathan Letwory
1dcf9c636c
Fix [ #28614 ] Collada Exporter does not export Ambient term
...
reported by Steiner Bernhard
ma->ambX is calculated only on a render, so instead of relying on those values compute them manually.
2011-09-12 13:20:24 +00:00
Nathan Letwory
3dc0ee19c4
Introduce struct for export settings in COLLADA export code. This will make it easier to
...
add new options without having to change function signatures all over the place.
2011-09-07 18:23:30 +00:00
Sukhitha Prabhath Jayathilake
6b6c2bd17f
Set material Sid addressing.
2011-07-17 16:39:19 +00:00
Nathan Letwory
cf43e48fc7
Apply patch 4636051. COLLADA: Export selection.
...
Original patch by Jan Diederich, adapted by Pelle Johnsen. Review assistance by Daniel Tavares.
This patch adds an option to export only the selection.
2011-07-04 08:59:28 +00:00
Campbell Barton
8f89e7a309
incorrectly had CMake storing directory names as filepaths
...
also correct compiler warning for collada and remove print from own last commit.
2011-06-29 13:16:11 +00:00
Nathan Letwory
05b54bec3b
Apply [ #27477 ] COLLADA export support for textures mapped to COLSPEC
...
Patch provided by Pelle Johnsen
2011-06-08 13:00:25 +00:00
Nathan Letwory
ee99cf5aa5
Wrong extension tag: show_double_sided -> double_sided
2011-03-23 00:03:52 +00:00
Nathan Letwory
60b94886c8
Small tweak to material export: only export as <lambert> when spec intensity is 0.0 and diffuse shader is set to Lambert. Other cases will be handled in due time, until then phong.
2011-03-22 22:00:26 +00:00
Nathan Letwory
f78e11dc38
[ #26476 ] <specular> and <shininess> missing from Colada
...
reported by Juan Linietsky
Export <specular> for <phong> and <blinn> shaders, <shininess> was already being written for these.
<lambert> shader doesn't have <shininess>.
Right now we write <phong> when blender spec is phong, <blinn> when blender spec is blinn. When spec is
any other shader, and diffuse shader set to lambert, we export as <lambert>. Any other combination defaults
right now to <phong>. This will change when Blender specific profiles have been created for the shader
combinations in Blender.
2011-03-22 15:28:56 +00:00
Nathan Letwory
7e53769d09
COLLADA conformance: don't write empty libraries for effect, image and animation
2011-03-18 14:06:13 +00:00
Nathan Letwory
caf9fb6cce
doxygen: blender/collada tagged.
2011-02-27 20:30:35 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Guillermo S. Romero
c9453b1357
SVN maintenance.
2010-10-07 01:20:59 +00:00
Nathan Letwory
c139faf171
COLLADA: Split EffectsExporter into separate files.
2010-10-07 00:24:42 +00:00