This is preview!
Click on Join Now to Sign Up
I am now looking for an alternative method for creating a movie of the response of the structure. What I want is a very lightweight solution, where I can just bring in the block model which I have and then produce the animation by feeding in the location and the three principal axis of each block at regular intervals to produce the animation on the fly.
vertex(x, y, z); or vertex(x, y, z, u, v);
how to read in the object displacement/rotation data at each time interval and actually transform each of the blocks to get a movie.
Furthermore, the analysis program (at least the current version) can only write image filesThat is a problem. If you don't have access to calculated results .. you've got nothing to use the program for. Does it give an output of the block-position at time t, or are the block-data a one-time input only? If you get position data then you can calculate what happened between t1 & t2.
Flip the model. I guess processing flips the coordinate system about the y axis. I haven't found any method of setting the coordinate system. I am hoping I don't have to reverse all the y-coordinates to get this workingOk, here goes the long explanation: Vertices are vectors (position and sometimes orientation). Vectors are changed by matrices. Every change is infront or behind the screen performed by matrices. A whole set of matrices are added and multiplied together into one matrix that then is set to work on the vector/vertex once for each frame (frame-of-reference .. I think the term was born in this kind of thinking).
A tree of the model blocks (possibly separated into regions)I cannot tell weather such an object is available (like a linked list). I figured that you might need it if you have to deal with boundary-conditions for each block. If you venture into writing your own, then ... once it gets messy, remember: CODING IS FUN!
The program can give me the location of the centroid and the orientation of the principal axes at each stepWell .. that's really something. That IS the info you need, except that it's the vector-properties after matrix-manipulation where it's the matrix we want. It's an object-matrix in the sense of my writing above. Each block only differs from each other by the individual properties of this matrix. Does individual blocks deform? If not, you can reconstruct the matrix.
beginCamera(); camera(); rotateX(-PI/6); endCamera();
|angleBetween()||Calculates the angle between two vectors|