|
|
Hi. Sorry, I'm not a math major, but working POV (and computer graphics in
general) I sure as hell wish I was!!!
I want to rotate a cube around an axis that passes through two opposites
corners.
I've tried this code but it doesn't work.
box {
<-1, -1, -1> <1, 1, 1>
rotate 45*y
rotate 35.2644*x
rotate clock*360*y
rotate -35.2644*x
rotate -45*y
}
I'm expecting the rotation axis to be s(-1, -1, -1), e(1, 1, 1).
Any help greatly appreciated!
Dave.
Post a reply to this message
|
|
|
|
On Wed, 09 Feb 2000 20:19:18 GMT, spa### [at] junkmailcom (David Curtis)
wrote:
>Hi. Sorry, I'm not a math major, but working POV (and computer graphics in
>general) I sure as hell wish I was!!!
>
>I want to rotate a cube around an axis that passes through two opposites
>corners.
Try John VanSickle's Throroughly Useful Macros. They should be linked
from the links section on povray.org and also included in the macro
package Ken has made available on his site.
Peter Popov
pet### [at] usanet
ICQ: 15002700
Post a reply to this message
|
|