This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you guys could answer this the way that I am asking.. I would love you...
Arithmetic is needed for this operation, I once had all the geometry formulas for calculating areas of various shapes completely memorized. I top out at advanced algebra at best. This operation is probably best for trig.. Again nothing I have not heard of. Point is not too complicated to go over these things again. I use algebra in my algorithms for timing using double precision variables all the time. This is easy for me.
Trying to draw a rolling cube using that is 3d and rolls on its access as well. I can almost do this as is. I want it to be able to roll away from me on the z axis as well as a linear roll. This means drawing oblong 2DRect's that re-shape themselves with the repaint method. Totally not impossible for me to do. But the arithmetic is complicated as one rect narrows and another expands to give it a solid 3 dimensional looking roll.
I am not wanting to install new framework to simply draw the cube and roll it. Question is best answered by providing a link to explain the arithmetic of the roll. I know how to do the deltas and everything else. Just need to know arithmetic for calculating the area of the rectangle as it is rolling away or towards the screen. Not in a linear fashion but away from or towards the viewer in a 3D fashion.
In your travels have you ever came across a web-site that provides calculations to give coordinates for a rolling cube? My math is good and I use it in my programs for timing and coordination of x and y axis all the time. I understand I am asking a mouthful but do your best if you can.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com