DRAFT SHATTERUNG GLASS PROJECT

Cad Animation Part II

In the last class I posed this question: 

"How do you animate something that doesn't exist?

The thought behind the question was to get you the student to break
out of the normal everyday way of thinking and begin to really create
your own world.

Consider for a moment the notion that in a CAD animation environment
you can actually create anything working under any set of physics you
can think of!

It is true.  The real problem is getting animators to realize this is
actually true.  And this brings us to our simple glass breaking
project.

We know of course that everything we see on our monitor actually
exists as a series of files containing numbers which represent points
in a theoretical three dimentional space.  We also considered the idea
that if numbers represented objects then wherever there was no object
the number representing that point in space would be zero. 

We also were presented with the problem  that if a crack in an object
(in this case a piece of glass) was the space between two objects,
then how could we animate this space considering that it was being
described in the computer as a series of files containing all zeros.

So now we'll solve that problem.  First download the file 
GLASS3D.3D2, then load it into your CAD program and take a look at 
the object.  What do you see?

OK have you doped out the answer?  You saw the individual  pieces,
you saw the unbroken piece and the rock. but there are three  more
files.....!  Crack...Crack2.....Crack3.....!

The answer to our problem is obvious yet elusive.  It is plain that
zeros can't be animated as zeros and that there have to be some
numbers to represent the cracks that will appear in the glass and grow
from the point of impact to the edge of the original unbroken piece.

The answer resolves itself into our finding a way to build the
cracks as solid objects and animating them in such a way that when
they reach the edge of the original piece of glass they will exactly
match the pre-made broken segments.

OK, let's do this now.  As we all know, the smallest solid object 
possible in a CAD modeler is the face.  This is a triangle.  Three 
points connected by three line segments.  Our triangle can be any 
shape.  We can drag any of its points in any direction along its X,Y,Z
axis.  We will use this simplest of all CAD objects to build our ever
growing cracks.

Face = Crack:  To create a crack, first align all three points in a
stright line.  Now look at the face from Top, Bottom and Right views! 
Is it a straight line?  If not then adjust the points until it is.

We now have a face that will always render as a line, no  matter
which angle we view it from.  The next step is to drag this  face to
the point of impact and drag the points close together so that they
appear as just a spot.

Now by dragging just one point away from the point of impact,
leaving the other two undisturbed, you can create a second object file
with the crack part way from the original point of impact to the edge
of the glass.

The next step is to drag the same point to the edge of the glass. 
Now we have a visible crack from the point of impact to the edge of
the glass.

If we now place all three crack files along with the rock and the
unbroken glass object into a CAD animation program, we can make a few
frames and morph the crack file from crack  file to crack3.  The
result, depending on how many frames you used, is the crack zipping
across the glass.

You can download GLASS5.3D2 and try this simple glass  breaking
animation.  Once you understand how this works, try  breaking the glass
in to three pieces, then four, then in what  looks like a random
breaking pattern.


End part II

