Bug #18
DISTORT effect: disappearing triangles
100%
Description
Fire up the 'Vertex3D' app
Choose a DistortedCubes object
Add a Distort Effect
move the 'x' (or 'y') slider so that it distorts the center point exactly to the edge of the Cubes object
Near the distorted center, some triangles will disappear. Only happens with DistortedCubes, not Bitmap.
History
Updated by Distorted Admin over 8 years ago
This is because when we are dragging the center exactly to the edge and current vertex is on this edge, then
1) the degree 'd' of the current vertax is 0
2) Vector of force w = -ps
3) ps!=0 thus dt=dot(ps,ps)>0.0
and then in the 'distort' function there is the denominator which becomes 0:
(dt + (1.0-d)*dot(w,ps) + (sign(dt)-1.0) ) = dot(ps,ps) + (1.0-0.0)*dot(-ps,ps) + 1.0-1.0 = dot(ps,ps) + dot(-ps,ps) = 0.0
and the whole thing explodes.
Updated by Distorted Admin over 8 years ago
- Status changed from New to Closed
- Assignee set to Leszek Koltunski
Fixed in library|30925500