Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-02Cleanup: spellingCampbell Barton
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-23fix: unreported: Collada using incompatible Enumeration types for compareGaia Clary
2019-07-22Incompatible usage of the Collada transparency valueGaia Clary
Some external tools seem to have issues with the definition of Collada <transparency> - a float value in range (0,1). However it is possible to use the <transparent> color as a container for the <transparency> value. This seems to be a more reliable method to export transparency values from Blender PBSDF Shaders. The relevant documentation is in the collada 1.14 reference manual, page 7-5 about the usage of transparent and transparency. This fix makes export and import of the <transparency> and <transparent> values more convenient and more reliable. Reviewers: brecht, jesterking Reviewed By: brecht Differential Revision: https://developer.blender.org/D5305
2019-07-16fix T66899: Collada: Shininess/Reflectivity not handled correctGaia Clary
Fixed: The Collada Exporter only supports export of Lambert Shaders. But Shininess is not supported with Lambert Shaders. The exporter must not add Shininess to the Shader data! Fixed: The Collada Importer adds an illegal value of -1 for reflectivity when this parameters is not defined in the imported collada data. Now reflectivity is only set when the import data contains a valid value. Discarded: The Collada Importer handles shininess in a dubious way. I have discarded import for now. This needs to be reworked carefully in 2.81. Differential Revision: https://developer.blender.org/D5262
2019-07-07Cleanup: spellingCampbell Barton
2019-07-02Cleanup: move comments onto own lines to avoid breaking linesCampbell Barton
2019-06-17Cleanup: comment, RNA spellingCampbell Barton
2019-06-17Cleanup: comment spellingCampbell Barton
2019-06-11fix T65576 collada exporter duplicates node tree when exported material ↵Gaia Clary
already uses nodes
2019-06-05fix T65480: Collada exporter did not export image texture for Base ColorGaia Clary
2019-06-05update Collada Importer: reworked export and import of MaterialsGaia Clary
- added import of transparency and emission into principled BSDF Shader - added support for importing all default collada material parameters * diffuse * emission * index_of_refraction * shininess (mapped to BSDF Roughness) * reflectivity (mapped to BSDF Metallic) * transparency + transparent mapped to BSDF Alpha) * ambient (creates unconnected texture node) * specular (creates unconnected texture node) * reflective(creates unconnected texture node) - added support for exporting collada material parameters: * diffuse * emission * index_of_refraction * shininess (mapped to BSDF Roughness) * reflectivity (mapped to BSDF Metallic) * transparency + transparent mapped to BSDF Alpha) - prepared support for exporting the following parameters but currently commented out: * ambient (creates unconnected texture node) * specular (creates unconnected texture node) * reflective(creates unconnected texture node) Problem: For now we only allow export of principled BSDF based materials. I am not sure from where to get ambient, specular and reflective as those values are not included in the principled BSDF Shader (wip).
2019-06-04Cleanup: Cleanup: style, use braces for collada (BCMath)Campbell Barton
2019-06-04Cleanup: clang-format, remove tabsCampbell Barton
2019-06-03fix collada: get Alpha and Emission from principled BSDF ShaderGaia Clary
2019-06-03Cleanup: Cleanup: style, use braces for colladaCampbell Barton
2019-06-03fix collada Importer: Set bone transformation type when importing unskinned ↵Gaia Clary
skeleton
2019-06-03feature collada: Allow export/import of skeletal animations as curvesGaia Clary
2019-06-03refactor collada: Added utility functions bc_string_before() and ↵Gaia Clary
bc_string_after()
2019-06-03fix T34062 Collada exporter: changed order of export for decomposed ↵Gaia Clary
transformation. 1.) The Blender order of applying transforms is: Scale Rotation Transformation Reasoning: This order ensures there is no shearing, which happens when you do scaling after rotation, see also: https://blender.stackexchange.com/questions/1806 The Collada exporter now exports in the order how the transforms need to be applied upon import. 2.) Also removed obsolete #if 0 lines
2019-06-03refactor: use Quat and BCQuat instead of float[4] arrays for Quaternions (wip)Gaia Clary
2019-06-03fix: enforce transform export as <matrix> when exporting animated armature"Gaia Clary
Currently we can not export Decompsed Transforms in combination with Armature asnimations. As a temporary workaround enforce export of transformations as Matrix for armature objects.
2019-06-03fix: add back changes after last pull from masterGaia Clary
2019-06-03refactor collada: replace bc_sanitize_mat() by static class method in BCMatrixGaia Clary
2019-06-03refactor Collada: rename BCMatrix.* class files to BCMath.*Gaia Clary
2019-06-03refactor Collada: Add new class Quat (wip)Gaia Clary
2019-06-03refactor collada: Moved BCMatrix to its own fileGaia Clary
2019-06-03refactor collada: Moved basic typedefs in own fileGaia Clary
2019-06-03refactor collada: reorganize class methods in fileGaia Clary
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-28Cleanup: clang formatCampbell Barton
2019-05-27cleanup: Collada exporter renamed 'transrotloc' to 'decomposed'Gaia Clary
The collada exporter allows to export transforms either as Matrix or as a decomposition of Translation, Rotation aand Scale. The decomposition option was falsely named "TransRotLoc". I renamed it to the much more descriptive word "Decomposed". The tooltip already contains sufficient information, so there is no need to change that.
2019-05-27fix: collada transformtype must be identical for animation export and object ↵Gaia Clary
export When exporting an object we can choose the transformation type 'Matrix' or 'trans/rot/scale' When exporting an animation we have the same choice regarding the used transformation type. However we must make sure that animations and objects use the same transformation type within one colleda export. The user interface is now reworked such that the correct settings are always guaranteed. I also reworked the tool tips
2019-05-27refactor collada: rename add_node_transform() to add_joint_transform()Gaia Clary
2019-05-23fix unreported Collada exporter Regression: Added back minimal support for ↵Gaia Clary
Maya bindpose
2019-05-23Collada exporter updateGaia Clary
Added new feature: Collada: global axis rotation upon export (UI) The new feature allows to specify the target rest coordinate system upon export. This allows for example to export a character that is in Blender orientation (Y forward) to match the Secondlife orientation where (-X forward) - Refactor:Added new utility methods to collada_utils Made BCMatrix class more powerfull moved Blender related structures into new BlenderContext class added class wrapper to encapsulate ExportSettings structure Added blender context getters to ExportSettings added access methods to BlenderContext into ExportSettings class Moved class BCMatrix into BlenderContext moved utility functions from collada_util into BlenderContext replace own function for parenting by a call to ED_object_parent_set() - Cleanup: removed obsolete parameters from methods renamed parameters for better understanding cleanup whitespace and indentation removed obsolete comments
2019-05-22fix T64873 collada export crashes Blender on MacGaia Clary
2019-05-18Fix use of deprecated DoF distance propertyBrecht Van Lommel
2019-05-18Mesh: remove Double Sided lighting option, it does nothing in the new viewportBrecht Van Lommel
This is legacy option from fixed-function graphics hardware, where per-vertex lighting meant this had a significant performance impact.
2019-05-14Cleanup: isolate image dirty flag access in functionsBrecht Van Lommel
2019-04-30Cleanup: comments (long lines) in colladaCampbell Barton
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Cleanup: line wrapping caused by commentsCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.