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:25:36 EDT (-0400)
  Re: hello all can some one help me simplify a formula  
From: Thorsten Froehlich
Date: 14 Apr 2001 23:32:54
Message: <3ad91666@news.povray.org>
And then do:

d = a*(2*pi)/360
e = b*(2*pi)/360
f = c*(2*pi)/360

sd = sin(d)
cd = cos(d)
se = sin(e)
ce = cos(e)
sf = sin(f)
cf = cos(f)

m = (cf * ce * x + se * (cd * z + sd * y)) - sf * (cd * y - sd * z)))

n = (cf * ((cd * y - sd) + sf * (ce * x + se * (cd * z + sd))

o = (ce * (cd * z + sd * y) - se * 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.