CompuServe Thread

#All angles.

3 messages in this thread
#152228From: Peter M. GruhnFeb 10, 1995 12:14 PM
I have an object. It has a front and a back and an up. I want to get a picture of it from every angle with every rotation. I did have an animation set up with it turning around and around and around while slowly tipping forward until it swings all the way through upside down and back up again. This was good, because I could set it up and then go away and come back later and have 700+ images waiting for me. But this doesn't take into account all rotations. Whenever the object appears face on, it is always rightside up (though maybe leaning forward) Can somebody come up with a way to animate this. My brain keeps choking when ever I try to add that one last bit of complexity. – gruhn
#152231From: Jonas Ruikis [ADESK]Feb 10, 1995 12:32 PM
Hi Peter, << I have an object. It has a front and a back and an up. I want to get a picture of it from every angle with every rotation. ….But this doesn't take into account all rotations. >> Is it fair to say that you are looking for a way to create uniformly distributed random rotations? If so, I found an a program by Ken Shoemake in Graphic Gems III ISBN 0-12-409673-5, pg 124 that describes it. jonas[adesk]
#152682From: James Coulter[Mindscape]Feb 12, 1995 10:45 PM
> I want to get a picture of it from every angle with every rotation. < That poses an interesting problem. I'm sure that a script could be written to accomplish this, but consider the following. 1) From every angle . . . To get every camera angle in a uniformly distrubuted fashion, you would have to consider the shape of a regular polyhedra, such as a dodecahedron: Where the center of the object is your camera target, and the center of each face of the dodecahedron is the location of your camera. OK, so now you have 20 camera angles (a twenty sided polyhedron contains the most faces possible in the class regular polyhedra, to my knowledge). To get more camera angles, you would have to move to a class of irregular polyhedra. If you chose this, you could use a GSphere or LSphere from 3DS as your model. 2) . . . with every rotation. Now you need each possible rotation about each camera angle. Say you do 360 degree increments. Thats 360×20 images = 7200 images (with a 20 sided regular polyhedra.) I know I didn't directly solve your poblem, but maybe this will help you decide a path of action, or maybe to reconsider your goal. — James — Choreo Motion —