April 13, 2014, 10:37 (GMT) |
Split Normals I (4/5): Add support of split normals to BI renderer. Note that this commit completely replaces old behavior of the auto_smooth feature in BI. Also note that split normals are only handled when no "advanced geometry post-processing" is used (something like Displace will obviously break it, since it has to re-compute normals after displacement...). Reviewers: brecht Reviewed By: brecht CC: campbellbarton Differential Revision: https://developer.blender.org/D368 |
April 13, 2014, 10:34 (GMT) |
Split Normals I (3/5): Add 3Dview shading support of split normals. Mostly monkey coding in gpu ("modern" VBO drawing) and DM variants ("legacy" drawing) code... Reviewers: brecht Reviewed By: brecht CC: campbellbarton Differential Revision: https://developer.blender.org/D367 |
April 13, 2014, 10:30 (GMT) |
Depsgraph graphviz debugging: Replaced plain FILE pointer with an internal context struct. This allows passing along several options, flags, etc. without too many parameters in all the functions, and possibly tweaking the common fprintf calls. |
April 13, 2014, 10:25 (GMT) |
Split Normals I (2/5): Add basic BMesh support of split normals. * Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366 |
April 13, 2014, 10:19 (GMT) |
Split Normals I (1/5): basis for split normals (nearly nothing user-visible here): * Add a new calcLoopNormals function to DerivedMesh struct, and implement it for CDDM and CCGDM (subsurf). EditDerivedBMesh (edit mode DM) only gets a dummy one in this commit. * Add a tessellated version of CD_LOOPNORMAL layer (CD_TESSLOOPNORMAL), with relevant code to handle it (tessellation, rna access, etc.). * Change auto_smooth options of Mesh (angle now in radian internaly, and toggle is now used to enable/disable split normals in DM creation process). Note BI render code is not touched here, hence its behavior regarding this option is now incoherent, will be addressed in a separate commit. Reviewers: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D365 |
April 13, 2014, 10:15 (GMT) |
Revert "Fix T39484: Time line: highlighted area for frame range one frame too short." This reverts own commit e9d733a8bd9ebf803d4afac419670974792a3c0d. Turns out there is no consensus here, better to open a design task. :/ |
April 13, 2014, 10:12 (GMT) |
LinkList stack macros to swap and pop into a separate stack. |
April 13, 2014, 10:04 (GMT) |
Cleanup: moved functions in depsgraph.cpp. |
April 13, 2014, 10:00 (GMT) |
Fix for Depsgraph destructor: double freeing of IDDepsNodes. |
April 13, 2014, 09:50 (GMT) |
Finally removed the get_node and add_new_node methods from Depsgraph. These are replaced entirely by equivalent functions in the actual container nodes now. NOTE: Operation nodes are currently not collected in the `all_opnodes` list. This should happen as a single step after the actual node hierarchy is built, but currently is not really used anyway. |
April 13, 2014, 08:44 (GMT) |
Fix for recent cleanup name change in master (rB3216e4b202195ed88455d1b43b348a2cf8f40d77) |
April 13, 2014, 08:36 (GMT) |
Merge branch 'master' into depsgraph_refactor |
April 13, 2014, 08:32 (GMT) |
Removed the `remove_from_graph` callbacks from DepsNode and the generic `remove_node` function in Depsgraph. These were currently unused anyway. In future for removing a node the respective remove_xxx methods in the actual container should be called. This is more consistent with the hierarchical data structure and the actual ownership of nodes. Might add convenience methods for this sort of thing later, but the raw Depsgraph node container is cleaner this way. |
April 13, 2014, 01:26 (GMT) |
Code cleanup: quiet warnings & style |
April 12, 2014, 18:12 (GMT) |
Code cleanup: RAS_ILightObject is class, not a struct. Patch by John Pavel. Differential Revision: https://developer.blender.org/D459 |
April 12, 2014, 16:33 (GMT) |
Slight modification to previous color wheel tweak. Do not use compat version, we do not have a valid previous value really to use here. |
April 12, 2014, 15:01 (GMT) |
Removed the add_to_graph virtual function from nodes. All functionality implemented in these functions is now in the respective owner node types when using one of the explicit `add` methods such as id_node->add_component, comp_node->add_operation, etc. There are a few loose ends here, in particular for subgraphs and time source nodes, but these existed before and have to be looked at later. |
April 12, 2014, 10:49 (GMT) |
Removed 'add_operation' from Depsgraph. This is now always done in the respective component node directly. |
April 12, 2014, 10:38 (GMT) |
Removed unused method declarations for component/operation finding directly from the graph. The graph should rather not require such deep lookup wrappers. The use cases for such functionality are all in the build procedure, so it makes sense to keep the graph as a simple container with raw access only to the root node types and id nodes. Builder classes can then provide wrappers for detailed lookup in the respective subnodes. |
April 12, 2014, 08:41 (GMT) |
Removed unused RNA-based get_node variants (from_pointer, from_rna_path). Only the find_node variants are needed (for tagging), build functions for RNA paths have their own implementation in the builder classes. |
|
|
|


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