gaiaclary
89a846df51
Add compatibility for older Collada files
...
The Fix in 273 creates a backward incompatibility:
Collada files that have been created with an older Blender version
will contain the spotlight_size in Radians where Collada wants
this value to be in DEGREE.
This fix adds a check for the Blender Version that was used to create the
Collada file. If the Collada file was made by an older version of Blender
then the importer will assume that spotlight_size is specified in RADIANS.
Reviewers: campbellbarton, sauraedron
Reviewed By: sauraedron
CC: jesterking
Differential Revision: https://developer.blender.org/D279
2014-02-03 13:04:51 +01:00
Campbell Barton
1777a69818
misc minor edits.
...
- pass string size to BLI_timestr() to avoid possible buffer overrun.
- quiet warning for mingw.
- include guards for windows utf conversion funcs.
- fix for mistage in edge-angle-selection check.
- some style cleanup.
2013-03-29 06:25:22 +00:00
Campbell Barton
bc8f602601
style cleanup
2012-10-20 18:46:57 +00:00
Gaia Clary
f8a68d50f7
COLLADA: report #32237 fixed Camera exporter and Importer to use correct camera animation data
2012-08-05 21:35:09 +00:00
Gaia Clary
021dd5fb40
COLLADA: added initial support for ymag and yfov in importer. fixes issue #32237
2012-08-04 21:25:19 +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
Brecht Van Lommel
203a4d42ca
Fix #31089 : collada file crashing on importing file with unknown/unsupported animation data.
2012-05-02 18:11:09 +00:00
Campbell Barton
6327c9aae1
style cleanup: whitespace, braces
2012-05-01 20:08:23 +00:00
Nathan Letwory
7cb037db86
Apply patch [ #31179 ] COLLADA IMPORT instanced geometry improvement
...
from Martijn Berger
This patch improves importing instanced geometry consisting of multiple nodes.
2012-04-30 23:51:09 +00:00
Campbell Barton
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Arystanbek Dyussenov
f3bef40b0c
#collada animation import, bugfix #29082
...
Fix skeletal animation import for <rotation>, <scale> and <translate> transform types.
Tested for correctness visually using Seymouranim2.dae from http://collada.org/owl and animated creatures from DKGamesModels folder (from private section of the same site). The results match the results in FXComposer-2.5.
Since this is a fix towards correct reading of collada, it shouldn't break existing compatibility with Second Life.
2012-02-18 06:22:20 +00:00
Campbell Barton
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +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
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
Brecht Van Lommel
a6d9a5a972
Code cleanup: warning fixes.
2011-09-05 19:27:21 +00:00
Nathan Letwory
1764f2135d
Some whitespace changes
2011-09-04 00:15:59 +00:00
Sukhitha Prabhath Jayathilake
e86e922f5b
Armature importer code cleanup.
2011-08-17 18:29:01 +00:00
Sukhitha Prabhath Jayathilake
f04fb5b6ea
Finalizing.
2011-08-16 16:03:37 +00:00
Sukhitha Prabhath Jayathilake
e93444f816
Matrix transformation animation import for other objects under the new system.
2011-08-14 16:14:32 +00:00
Sukhitha Prabhath Jayathilake
286a6d39c7
import only transform matrix animation method ( in progress )
2011-08-10 19:43:40 +00:00
Sukhitha Prabhath Jayathilake
c095397c98
Armature bake animation export ( not as pose matrices. Still needs fixing )
2011-08-07 18:15:40 +00:00
Sukhitha Prabhath Jayathilake
f3c867c3db
Camera Clipping animation COLLADA support fix.
2011-07-31 05:04:12 +00:00
Sukhitha Prabhath Jayathilake
90b64737f1
Material Diffuse Color animation COLLADA import.
2011-07-27 19:08:18 +00:00
Sukhitha Prabhath Jayathilake
41216990dc
Material Specular Color Animation import.
2011-07-27 17:43:32 +00:00
Sukhitha Prabhath Jayathilake
2fb7dbd60c
Material Specular Hardness Animation import (ongoing)
2011-07-18 19:32:51 +00:00
Sukhitha Prabhath Jayathilake
a6e2fba994
Identifying Animation List for Material shininess.
2011-07-18 18:31:01 +00:00
Sukhitha Prabhath Jayathilake
daddbc62df
2011-07-09 19:33:02 +00:00
Sukhitha Prabhath Jayathilake
eb452225ce
Improvements to import system. Ability to include more parameters.
2011-07-09 15:15:17 +00:00
Sukhitha Prabhath Jayathilake
be918954bd
Fixed Camera Ortho scale animation import
2011-07-07 16:56:56 +00:00
Sukhitha Prabhath Jayathilake
6c88a16b3a
Camera lens animation Identifying
2011-07-06 18:09:36 +00:00
Sukhitha Prabhath Jayathilake
9fca591c2b
Spot Light spot_blend animation im/export.
2011-07-05 18:02:08 +00:00
Sukhitha Prabhath Jayathilake
fa6d80c13b
2011-07-04 19:41:33 +00:00
Sukhitha Prabhath Jayathilake
af5d852857
Light(spot) spot_size (fall of angle in COLLADA) animation support completed.
2011-07-04 19:30:58 +00:00
Sukhitha Prabhath Jayathilake
1f4fca3654
Light Color Animation Import Complete.
2011-07-03 17:26:02 +00:00
Sukhitha Prabhath Jayathilake
aa295bb551
AnimationType flag. AnimationType Enum update.
2011-07-03 13:01:52 +00:00
Sukhitha Prabhath Jayathilake
9f99e5cc1e
AnimationType Enum.
2011-07-03 12:33:52 +00:00
Sukhitha Prabhath Jayathilake
c922b41374
find_frames() calls removed.
2011-07-03 11:28:40 +00:00
Sukhitha Prabhath Jayathilake
a632091176
Light Animation Identification.
2011-07-03 11:07:34 +00:00
Sukhitha Prabhath Jayathilake
d240733ae2
Reverted Exporter unit conversion modifications.
...
Animation Importer Code Cleanup.
2011-06-16 19:25:21 +00:00
Sukhitha Prabhath Jayathilake
f3f3bcc45e
New Animation Import system. Only Mesh object animation import support implemented for now.
2011-06-14 20:42:01 +00:00
Nathan Letwory
bcec824299
doxygen: COLLADA entry
2011-02-21 08:38:53 +00:00
Guillermo S. Romero
9f3d203acb
SVN maintenance.
2010-10-05 00:49:39 +00:00
Nathan Letwory
82209cdc86
Reorganisation of COLLADA import code. Classes have been split into their own files.
...
No functional changes.
Where necessary extern "C" {} blocks have been added.
2010-10-05 00:05:14 +00:00