POV-Ray : Newsgroups : povray.advanced-users : hello all can some one help me simplify a formula : Re: hello all can some one help me simplify a formula Server Time
29 Jul 2024 18:26:04 EDT (-0400)
  Re: hello all can some one help me simplify a formula  
From: Thorsten Froehlich
Date: 14 Apr 2001 23:22:16
Message: <3ad913e8@news.povray.org>
For starters, try:

atemp = a*(2*pi)/360
btemp = b*(2*pi)/360
ctemp = c*(2*pi)/360

m = (cos(ctemp) * (cos(btemp) * x + sin(btemp) * (cos(atemp) * z +
  sin(atemp) * y)) - sin(ctemp) * ((cos(atemp) * y - sin(atemp) * z)))

n = (cos(ctemp) * ((cos(atemp) * y - sin(atemp) * z)) + sin(ctemp) *
  (cos(btemp) * x + sin(btemp) * (cos(atemp) * z + sin(atemp) * y)))

o = (cos(btemp) * (cos(atemp) * z + sin(atemp) * y) - sin (btemp) * x)


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.