December 24, 2014, 21:50 (GMT) |
Cycles: Implement watertight ray/triangle intersection Using this paper: Sven Woop, Watertight Ray/Triangle Intersection http://jcgt.org/published/0002/01/05/paper.pdf This change is expected to address quite reasonable amount of reports from the bug tracker, plus it might help reducing the noise in some scenes. Unfortunately, it's currently about 7% slower than the previous solution with pre-computed triangle plane equations, but maybe with some smart tweaks to the code (tests reshuffle, using SIMD in a nice way or so) we can avoid the speed regression. But perhaps smartest thing to do here would be to change single triangle / ray intersection with multiple triangles / ray intersections. That's how Embree does this and it's watertight single ray intersection is not any faster that this. Currently only triangle intersection is modified accordingly to the paper, in the future we would also want to modify the node / ray intersection. Reviewers: brecht, juicyfruit Subscribers: dingto, ton Differential Revision: https://developer.blender.org/D819 |
December 24, 2014, 21:50 (GMT) |
Cycles: Optimize storage of QBVH node by one float4 The idea is to store visibility flags for leaf nodes only since visibility check for inner nodes costs too much for QBVH hence it is not optimal to perform. Leaf QBVH nodes have plenty of space to store all sort of flags, so we can make nodes one element smaller, saving noticeable amount of memory. |
December 24, 2014, 21:50 (GMT) |
Cycles; Code cleanup, make it more obvious what #endif belongs to |
December 24, 2014, 21:50 (GMT) |
Cycles: Make it more clear offsets in BVH construction Previously offsets were calculated based on the BVH node size, which is wrong and real PITA in cases when some extra data is to be added into (or removed from) the node. Now use offsets which are not calculated form the node size. |
December 24, 2014, 21:50 (GMT) |
Cycles: Replace magic constant in the code with actual node size |
December 24, 2014, 21:50 (GMT) |
Cycles: Avoid over-allocation in packing BVH instances This solves quite an over-allocation in BVH instances packing code, unfortunately, it's not a magic bullet to solve memory bump caused by the recent QBVH changes. For that we'll likely need to decouple storage for leaf and inner nodes. However, it's not really clear for now if it's something important since that'd still be just a fraction of memory comparing to all the hi-res textures. |
December 24, 2014, 21:50 (GMT) |
Cycles: Implement refit_nodes for QBVH Title says it all, quite straightforward implementation. Would only mention that there's a bit of code duplication around packing node into pack.nodes. Trying to de-duplicate it ends up in quite hairy code (like functions with loads of arguments some of which could be NULL in certain circumstances etc..). Leaving solving this duplication for later. |
December 24, 2014, 21:50 (GMT) |
Cycles: Use proper node counter to allocate QBVH nodes Before all the nodes were counted and allocated, leading to situations when bunch of allocated memory is not used because reasonable amount of nodes are simply ignored. |
December 24, 2014, 21:50 (GMT) |
Cycles: Don't do node visibility check in subsurface and volume traversal Visibility flags are set to all visibility anyway, So there was no reason to perform that test. TODO: We need to investigate if having primitive intersection functions which doesn't do visibility check gives any speedup here as well. |
December 24, 2014, 21:50 (GMT) |
Cycles: Move triangle intersection functions into own file This way extending intersection routines with some pre-calculation step wouldn't explode the single file size, hopefully keeping them all in a nice maintainable state. |
December 24, 2014, 21:45 (GMT) |
Cycles: Optimize vector math node without links to single values. |
December 24, 2014, 18:51 (GMT) |
Fix T42879: File Browser - disable selecting ".." entry (Parent Directory) |
December 24, 2014, 18:35 (GMT) |
Ref T42873: Print "Camera Pano" for panoramic camera view onto viewport |
December 24, 2014, 15:33 (GMT) |
Master branch is now alpha cycle of 2.74 release |
Revision 5ae4451 by Julian Eisel December 24, 2014, 14:10 (GMT) |
Revert "Sticky keys branch squashed commit" This reverts commit d3a3e4a52cab4a9ff4d444f0788dcd6e4e62aecd. |
Revision d3a3e4a by Julian Eisel December 24, 2014, 14:09 (GMT) |
Sticky keys branch squashed commit |
Revision 4f60b8b by Julian Eisel December 24, 2014, 14:02 (GMT) |
Merge remote-tracking branch 'origin/master' into experimental-build |
December 24, 2014, 13:54 (GMT) |
December 24, 2014, 13:42 (GMT) |
Vertex painting PBVH refactor: Refactor PBVH off SculptSession and in a separate PaintSession struct Entering Vertex painting will generate a PBVH and vertex painting now draws using PBVH. Add stub vertex painting operator that will use PBVH. |
December 24, 2014, 09:46 (GMT) |
Depsgraph: Implement real node layers flush It's not optimal at this moment, to optimize such a traversal we'd need to have some ID level dependencies, so we can query much faster which IDs depends on which else IDs. |
|
|
|


Master Commits
MiikaHweb | 2003-2021