Project

General

Profile

Bug #18

DISTORT effect: disappearing triangles

Added by Leszek Koltunski over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Start date:
07/16/2016
Due date:
% Done:

100%

Estimated time:

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

#1

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.

#2

Updated by Distorted Admin over 8 years ago

  • Status changed from New to Closed
  • Assignee set to Leszek Koltunski
#3

Updated by Distorted Admin over 6 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF