Blender Git Commits

Blender Git "master" branch commits.

Page: 1445 / 5574

Revision 397272e by Gaia Clary
November 23, 2018, 18:21 (GMT)
fix: Collada: use reference to BezTriple instead of copy
Revision 7eb9091 by Gaia Clary
November 23, 2018, 17:38 (GMT)
fix: compiler errors on mac_x86_64_10_9
Revision b9b50c0 by Gaia Clary
November 23, 2018, 17:38 (GMT)
cleanup: Collada: remove unused variables
November 23, 2018, 17:13 (GMT)
Pass viewport to BASE_ related tests, for viewport view/select restrictions

Note: functions like select all are still not respecting that.
I will fix this as part of the local view commit though.
November 23, 2018, 17:03 (GMT)
DRW: Make non Mesh object wire show in edit mode
November 23, 2018, 17:03 (GMT)
DRW: Support Wireframe for metaball objects
November 23, 2018, 16:34 (GMT)
GP: Avoid crash when adding new layer
November 23, 2018, 16:12 (GMT)
Icons: add Select tool icon.
November 23, 2018, 16:12 (GMT)
Keymaps: fix broken LMB select and transform tweak in 2D editors.
Revision 322cf89 by Gaia Clary
November 23, 2018, 16:08 (GMT)
Partial rewrite of the Collada Module for Blender 2.8

Most important changes are in the Animation exporter and Animation Importer.
There is still some cleaning up to be done. But the Exporter/Importer basically
work within Blender 2.8

Some details:

User Interface:
The interface has been reorganized to look more like the FBX interface.

New options in user interface:

* keep_keyframes:
When sampling the distance between 2 keyframes is defined by
the sampling rate. Furthermore the keyframes defined in the
FCurves are not exported. However when this option is enabled
then also the defined keyframes will be added to the exported fcurves

* keep_smooth_curves:
When sampling we do not use FCurves. So we also have no Curve handles
for smooth exporting. However when this option is enabled, Blender
does its best to recreate the handles for export. This is a very
experimental feature and it is know to break when:

- the exported animated objects have parent inverse matrices
different from the unit matrix
- The exported objects have negative scaling

There may be many other situations when this feature breaks.
This needs to be further tested. It may be removed later or replaced
by something less wonky.

BlenderContext:
is a new class that contains the bridge to Blender. It contains
pointers to the current export/import context plus derived values
of Depsgraph, Scene, Main

Reporting:
I reorganized the output on the Blender Console to become more
informative and more readable

Preservation of Item names:
name attributes are now encoded with XML entities. This makes
sure that i can export/import names exactly defined in the tool.
This affects material names, bone names and object names.

Hierarchy export:
* Object and Bone Hierarchies are now exported correctly
by taking the Blender parent/child hierarchy into account
* Export also not selected intermediate objects

Problem:
When we export an Object Hierarchy, then we must export
all elements of the hierarchy to maintain the transforms. This
is especially important when exporting animated objects, because the
animation curves are exported as relative curves based on the
parent-child hierarchy. If an intermediate animated object is missing
then the exported animation breaks.

Solution:
If the "Selected" Optioon is enabled, then take care
to also export all objects which are not selected and hidden,
but which are parents of selected objects.

Node Based Material Importer (wip):
Added basic support for Materials with diffuse color and
diffuse textures. More properties (opacity, emission) need
changes in the used shader.
Note: Materials are all constructed by using the principled BSDF shader.

Animation Exporter:
* Massive optimization of the Animation Bake tool (Animation Sampler).
Instead of sampling each fcurve separately, i now sample all
exported fcurves simultaneously. So i avoid many (many!)
scene updates during animation export.
* Add support for Continuous Acceleration (Fcurve handles)
This allows us to create smoother FCurves during importing Collada
Animation curves. Possibly this should become an option ionstead of
a fixed import feature.
* Add support for sampling curves (to bake animations)
* The animation sampler now can be used for any animation curve.
Before the sampler only looked at curves which are supported by
Standard Collada 1.4. However the Collada exporter currently
ignores all animation curves which are not covered by the 1.4.1
Collada Standards. There is still some room for improvements
here (work in progres)

Known issues:

* Some exports do currently not work reliably, among those
are the camera animations, material animations and light animations
those animations will be added back next (work in progres)

* Exporting animation curves with keyframes (and tangents)
sometimes results in odd curves (when parent inverse matrix is involved)
This needs to be checked in more depth (probably it can not be solved).

* Export of "all animations in scene" is disabled because the
Collada Importer can not handle this reliably at the
moment (work in progres).

* Support for Animation Clip export
Added one extra level to the exported animations
such that now all scene animations are enclosed:

<Animation name="id_name(ob)_Action">
<Animation>...</Animation>
...
</Animation>

Animation Importer:
* Import of animations for objects with multiple materials
When importing multiple materials for one object,
the imported material animation curves have all been
assigned to the first material in the object.

Error handling (wip):
The Importer was a bit confused as it sometimes ignored fatal
parsing errors and continued to import. I did my best to
unconfuse it, but i believe that this needs to be tested more.

Refactoring:

update : move generation of effect id names into own function
update : adjust importer/exporter for no longer supported HEMI lights
cleanup: Removed no lopnger existing attribute from the exporter presets
cleanup: Removed not needed Context attribute from DocumentExporter
fix : Avoid duplicate deletion of temporary items
cleanup: fixed indentation and white space issues
update : Make BCAnimation class more self contained
cleanup: Renamed classes, updated comments for better reading
cleanup: Moved static class functions to collada_utils
cleanup: Moved typedefs to more intuitive locations
cleanup: indentation and class method declarations
cleanup: Removed no longer needed methods
update : Moved Classes into separate files
cleanup: Added comments
cleanup: take care of name conventions
... : many more small changes, not helpful to list them all
November 23, 2018, 16:03 (GMT)
Fix T57996: Crash - delete node with a driven parameter
November 23, 2018, 16:03 (GMT)
Tag relations for update when clip's animation changes
November 23, 2018, 16:03 (GMT)
Return truth when animation fix changed animation

This can be used to inform higher level modules that animation
is changed and that dependency graph likely requires relations
update now.
November 23, 2018, 15:44 (GMT)
DRW: Support Wireframe for cruve/surface/text objects
November 23, 2018, 15:37 (GMT)
Add missing COW updates when selection changes in paint modes.
November 23, 2018, 13:41 (GMT)
Merge branch 'master' into blender2.8
November 23, 2018, 13:40 (GMT)
Use default movie cache size of 4GiB
November 23, 2018, 12:47 (GMT)
Cycles: Fixed a warning.
November 23, 2018, 12:25 (GMT)
Cycles: Improved robustness of hair motion blur.

In some instances, the number of control vertices of a hair could change mid-frame.
Cycles would then be unable to calculate proper motion blur for those hairs. This adds
interpolated CVs to fill in for the missing data. While this will not necessarily result in
a fully accurate reconstruction of the guide hair, it preserves motion blur instead of disabling it.

Reviewers: #cycles, sergey

Reviewed By: #cycles, sergey

Subscribers: sergey, brecht, #cycles

Tags: #cycles

Differential Revision: https://developer.blender.org/D3695
November 23, 2018, 11:37 (GMT)
UI: swap wireframe/solid order in pie to match order in header.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021