November 25, 2015, 15:23 (GMT) |
Cycles: Create proper sockets for OSL script nodes Previously render nodes will be always created with just a VECTOR socket type and then those sockets will try to be set as all point, vector and normal to work around lack of such a subtype distinguishing in blender. This change makes it so subtype is being queried from OSL itself and proper subtupe is being used for socket. It's still not in use for the official builds because it requires changes applied recently on the 1.7 branch of OSL: https://github.com/imageworks/OpenShadingLanguage/commit/f70e58f This solves artists confusion reported in T46117. Reviewers: #cycles, juicyfruit Reviewed By: #cycles, juicyfruit Subscribers: juicyfruit Differential Revision: https://developer.blender.org/D1627 |
Revision d35d728 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) November 25, 2015, 15:23 (GMT) |
Merge branch 'master' into id-remap |
November 25, 2015, 15:22 (GMT) |
Fix bplayer (c) |
November 25, 2015, 15:15 (GMT) |
Cycles: Whitespace cleanup from the recent changes |
November 25, 2015, 15:14 (GMT) |
Cycles: Fix crash in constant folding introduced by recent commit Graph::disconnect() actually modifies links, needs to create a copy to iterate if disconnect happens form inside the loop. Question tho whether we can control this somehow.. Reported by BzztPloink in IRC, thanks! |
Revision b47b035 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) November 25, 2015, 14:16 (GMT) |
Merge branch 'master' into id-remap |
November 25, 2015, 13:15 (GMT) |
Sequencer: nested scene strip support (like metas) This makes it possible to use scenes as a kind of multi-user meta-strip (with their own time). Currently this supports rendering & drawing nested strips, but no convenient way to tab-enter into a scene strip. |
November 25, 2015, 13:10 (GMT) |
install_deps.sh: Updated official boost version (grrr). |
November 25, 2015, 12:59 (GMT) |
Accept non-existing files from the CLI When a user tries to load a non-existing blend file from the CLI, the path is set and Blender acts as if it is loaded. This allows the user to create a new file by typing 'blender filename.blend' and then saving. This behaviour is common in other tooling, such as vim and Mypaint. Blender's current behaviour (print an error message and open the default scene) doesn't make much sense. It ignores the filename passed on the CLI, whereas with this patch that filename is actually remembered, and used when saving. Reviewers: campbellbarton, sergey, mont29 |
November 25, 2015, 12:57 (GMT) |
Cycles: Refactor of constant fold. * Move constant folding from nodes to the shader graph. This way it's part of our (later) 4-step optimization process. * Instead of only doing a one level constant fold, we can now do a recursive constant fold, allowing us to simplify shaders much further. Constant folding is implemented for Blackbody, Math and VectorMath nodes. Example (the highlighted nodes are removed before rendering): Before: http://archive.dingto.org/2015/blender/code/one_level_constant_fold.jpg Now: http://archive.dingto.org/2015/blender/code/multi_level_constant_fold.jpg Thanks to Sergey and Brecht for Review! Differential Revision: https://developer.blender.org/D1626 |
November 25, 2015, 12:55 (GMT) |
Distinguish 'function' and 'kernel' node types. Only kernel nodes will be allowed to have function inputs. This is necessary because any kernel node will define the boundaries of node subtrees used for function inputs. |
November 25, 2015, 12:54 (GMT) |
Fix T46867: Face-Mask hiding failed on mode switch Since GPU refactor, hidden faces are cached. However this needs to be re-calculated when state of hidden faces changes. |
November 25, 2015, 12:54 (GMT) |
Cleanup: use correct name in prints |
November 25, 2015, 12:43 (GMT) |
Fix T46646: Point Cloud Density crashes on real time rendering The issue was caused by possible use of object->derivedFinal from the render thread, The patch tries to eliminate (or at least minimize, huh) amount of access to the derivedFinal of a source object. It's still possible that in the case of particle source derived mesh will be still unsafely used, but with the patch applied we can easily change runtime part of the code and cache derived mesh on the preparation stage. Some ideas for the future: - Check whether cache() was called on the point density node when calling calc(). - Cache derivedMesh in the runtime part of point density node to avoid possible remained thread conflicts. - NULL the runtime part of the node on .blend load Reviewers: campbellbarton, plasmasolutions Reviewed By: plasmasolutions Differential Revision: https://developer.blender.org/D1614 |
Revision 068d8c8 by Julian Eisel (temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, wiggly-widgets) November 25, 2015, 12:27 (GMT) |
Cleanup: Naming, unused function, comments, ... |
Revision bbfd0b9 by Julian Eisel (temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, wiggly-widgets) November 25, 2015, 12:01 (GMT) |
Use GHash for widget update-draw routine Helps to avoid some unnecessary loop-in-loops and calling wmWidgetGroupType->poll multiple times without changed context. Did some benchmarks but didn't measure a reliable difference in a scene with Franck rig, subsurf level 2 and 6 face-maps. It should help with some really big scenes though (we have to expect rigs with hundreds of face maps). |
Revision 0c161e2 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) November 25, 2015, 11:48 (GMT) |
Merge branch 'master' into id-remap |
November 25, 2015, 11:29 (GMT) |
Node inputs now have a 'value type' to specify how input connections are treated. VALUE_CONSTANT inputs can not have connections, their values are known at compile time. bvm stores these values directly in the instruction list. VALUE_VARIABLE inputs store values at evaluation time. bvm stores a stack index for them which is used to load and store from/to the evaluation stack. VALUE_FUNCTION inputs are passed to kernels to be called internally when needed. bvm stores an instruction index and allows a jump to this instruction (TODO). |
November 25, 2015, 11:05 (GMT) |
Cycles: Fix shader update bug introduced by recent commits Seems set_intersection() requires passing explicit comparator if non-default one is used for the sets. A bit weird, but can't really find another explanation here about whats' going on here. |
November 25, 2015, 10:58 (GMT) |
install_deps.sh: Updated official Python (to 3.5.0) and NumPy (to 1.10.1). |
|
|
|


Master Commits
MiikaHweb | 2003-2021