December 4, 2014, 12:52 (GMT) |
Depsgraph: Update armatures when leaving edit mode The idea is to have proper operation nodes after editing the armature. This isn't so trivial as it sounds to be, because: - Dependency graph is being built from the pose channels, which means adding/deleting bones are not visible to the depsgraph because those operations doesn't rebuild pose. - Updating pose after every topology change is rather costy and better to be avoid. Currently experimenting with rebuilding dependency graph when leaving edit mode. This way i can work on partial graph rebuild which would be really handy for such relations edits. For now this partial update is rather a place holder and it invokes full dependency graph rebuild. Actual partial rebuild brains would be implemented as one of the next steps. However all this work unleashed rather fundamental questions: - it is already known that dependency graph uses pose channels for building. - Pose channels are being passed to the callback functions as arguments. - One of operation nodes rebuilds the pose when it's missing or when it's tagged for update. - Hrm, ok. Now, what if the pose is tagged for update and some topology changed? This could change some pose channel pointers leading to the bad memory access in the callback. How do we solve this? - A bit easier question: What should operations do if armature is edit mode? Simplest answer would be to copy matricies from bones, skipping pose rebuild, eval init, pose callbacks and eval flush callbacks. |
December 4, 2014, 11:59 (GMT) |
Cycles: Fix compilation error after recent logging changes Forbid OSL from polluting current conext with obscure stuff from windows.h, it's not useful and unhealthy anyway. Maybe we sohuld also forbid using abbreviated Glog constants as well tho. |
Revision f2a7c2f by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 4, 2014, 11:48 (GMT) |
Merge branch 'master' into gooseberry |
December 4, 2014, 11:46 (GMT) |
Cleanup and fix for uninitialized output buffer of the sunbeams node. Buffers should actually be cleared before running operations on them, but this doesn't work for some reason. Note also that the sunbeams node can show some creases and hard aliasing when the source point is close to a bright area with strong gradient. To fix this a better filtering algorithm, dithering or ray sampling would need to be implemented. In the meantime simply blurring the sunbeams result a bit should help (or simply avoid putting the source on a bright spot). |
December 4, 2014, 11:15 (GMT) |
Depsgraph: Add check for whether graph was properly tagged for rebuild Currently it's more like a preliminary check to catch obvious errors based on comparing number of operations in current depsgraph and correct one. Ideally relations and nodes themselves should be checked deeper,but that's NP-complex problem which probably doesn't worth solving for now. This check is commented out by default, uncomment it in BKE_scene_update_tagged if needed. |
December 4, 2014, 10:19 (GMT) |
Merge branch 'master' into asset-experiments |
December 4, 2014, 10:18 (GMT) |
Cleanup: minor int->bool cleanup. |
December 4, 2014, 10:11 (GMT) |
Merge branch 'master' into asset-experiments |
December 4, 2014, 10:04 (GMT) |
December 4, 2014, 10:04 (GMT) |
December 4, 2014, 10:03 (GMT) |
tweaks for writing startup.blend - always calloc - don't write id-properties this is to make sure addon settings aren't written by accident, any new data starts out zero'd (no junk bytes) |
December 4, 2014, 09:23 (GMT) |
Fix T42797: -Werror=sign-conversion Triggered in blf_glyph.c Very minor, but since it was reported... |
December 4, 2014, 08:55 (GMT) |
Fix building on OSX when OMP is enabled. Reported by sebastian_k over IRC, thanks! |
December 4, 2014, 03:41 (GMT) |
Fix for typo |
December 4, 2014, 03:41 (GMT) |
Drivers and their relationships are now included in the depsgraph * Each driver now gets added as a separate opnode * ID-block targets (e.g. object ref for Transform Channel/Location Diff/Rot Diff) now get included when building the links (TODO: local space vs world space may be able to benefit from getting special exceptions for depending on intermediate results instead) * Added temporary hook from "parameters" component (where drivers live) to "transform" component, as is done for animation now. This will need to change, to have greater granularity for bones, but at least this works now. * Copied over the logic for evaluating drivers in full from the animsys code. (This stuff should eventually go back into blenkernel though) |
December 3, 2014, 23:21 (GMT) |
Use just a single combined blackbox opnode for Action + NLA |
Revision 3aacb01 by Dalai Felinto December 3, 2014, 20:00 (GMT) |
Revert " BGE: test for vr-related changes (custom projection matrices and" This reverts commit 7fb7e4c3d8d90d4daa3d7d6e20c287779b21a43a. |
Revision 7fb7e4c by Dalai Felinto December 3, 2014, 19:59 (GMT) |
BGE: test for vr-related changes (custom projection matrices and syncing (now after the fixes in master spotted thanks to the previous builds ;) |
Revision d662064 by Dalai Felinto December 3, 2014, 19:58 (GMT) |
Merge remote-tracking branch 'origin/master' into experimental-build |
December 3, 2014, 19:56 (GMT) |
GPU: code cleanup, no fundamental changes |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021