September 4, 2015, 15:06 (GMT) |
Cycles: Fix wrong check for zero-sized triangles Initial idea was to optimize calculation a bit by skipping calculation of actual triangle edges and use vector from ray origin to triangles. In practice this optimization didn't quite work in cases when origin point is too close to the triangle. Let's do 2.76 with a bit more complicated calculation, still looking into exact reasons why watertight intersections fails in certain cases, but actual fix might bit be ready so soon. This fixes wrong eyes on the lady from T46013. |
September 4, 2015, 14:50 (GMT) |
Fix T46010: Bone offset between Rest Pose and Edit mode. That one was hairy... To summarize: * We were setting Bone.head/tail (aka **local** rest location of bone) from EditBone data, using **EditBone's parent computed armature space**. * We use those local head/tail to define Bone's restpose (in `BKE_armature_where_is_bone()`), using **Bone's parent armature space** (aka parent's arm_mat). * Because of bone's roll nightmare, the two above parent's matrices will often not be the same. In an ideal world, this should not affect locations (head/tail), but in real world of float it does - noticeably, in some extreme cases. So! This commit cleans up things a bit (`fix_bonelist_roll()` was already doing much more than just fixing roll mess, has been renamed to `armature_finalize_restpose()`), and ensures we do use (final!) parent's arm_mat local space to compute children's local head/tail as well. This allows us to avoid too much imprecision here. Checked the patch also with a complete Victor's rig from Gooseberry, seems to have no nasty side effects - fingers crossed! |
September 4, 2015, 14:50 (GMT) |
Cleanup: Better to assert over bad condition (which shall never happen anyway), than just return with un-initialized mat... |
September 4, 2015, 12:29 (GMT) |
Fix for isect_tri_tri_epsilon_v3 w/ small faces tris with ~1e-05 edge lengths would fail |
September 4, 2015, 12:13 (GMT) |
Math Lib: Use plane intersect from graphics-gems |
September 4, 2015, 12:06 (GMT) |
Math Lib: avoid sqrt w/ triangle intersection |
September 4, 2015, 12:06 (GMT) |
Correct own error in line_point_factor Passing zero epsilon allowed divide by zero. |
September 4, 2015, 10:26 (GMT) |
Armature: Cheap edit-to-object mode speedup. `fix_bonelist_roll()` is already recursive, and was calling recursive `BKE_armature_where_is_bone()` twice! Changed `BKE_armature_where_is_bone()` to controll whether we recurse over children or not. With full Victor's rig, we gain 16% in `ED_armature_from_edit()` (from 31ms to 26ms). With a dummy test-case 100 bones chain, we gain 80% in `ED_armature_from_edit()` (from 1.25ms to 0.25ms). Not crucial, but still worth it. ;) |
September 4, 2015, 10:19 (GMT) |
Fix T45019: Cycles wrong render of motion blur mesh The issue was caused by wrong detection whether number of verticies changed or not. Basically, it wasn't working correct in cases when number of verticies is increasing compared to the current frame. |
September 4, 2015, 04:40 (GMT) |
Partial revert of warning cleanup These warnings are false-positives |
September 3, 2015, 23:04 (GMT) |
Quiet warnings We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P |
September 3, 2015, 21:21 (GMT) |
just removed some typos |
September 3, 2015, 18:23 (GMT) |
View-Selected: use custom bones boundbox Support using custom pose-bone transform and object when calculating view bounds. |
September 3, 2015, 15:59 (GMT) |
Small tri intersect fails when not normalized Logic was ok, but would run into precision issues. |
Revision a77cd3e by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 3, 2015, 15:56 (GMT) |
Fix 3DView and others not updating after ID remapping. Notifiers usage could really use a good cleanup imho... |
September 3, 2015, 15:11 (GMT) |
Cleanup: minor RST edits |
September 3, 2015, 14:42 (GMT) |
Check for no-op edge separates to quiet asserts when inset individual. This causes no change in behavior, since code was alreadying doing a no-op in bmesh_edge_separate if the edge is a boundary. But it tripped an assert, annoying in debug builds. We want to leave assert in bmesh_edge_separate in case callers expect there to be separate loops after this always. So putting test in caller. (Same worry about bmesh_urmv_loop? I checked callers and they appear OK to me - they deal with the no-op return.) |
Revision 3f22fbf by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 3, 2015, 14:16 (GMT) |
Merge branch 'master' into id-remap |
Revision 65a108c by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, missing-libs) September 3, 2015, 14:16 (GMT) |
Merge branch 'master' into missing-libs |
September 3, 2015, 13:54 (GMT) |
Fix T45937: Cycles hair not rendered if children count set to zero |
|
|
|


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