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:21:47 EDT (-0400)
  Re: hello all can some one help me simplify a formula  
From: Anton Sherwood
Date: 12 May 2001 20:58:27
Message: <3AFDDC69.B46F084A@pobox.com>
Adam Gibbons wrote:
> i know that this dose not have much to do with povray, as it is
> a maths question. but i have posed help up on many math message
> boards and i get on reply.

Like where?

> basically i would like the following formulas simplified.
> that is if they can be simplified.

Ask rather whether they can be further complicated.

>  can some one please simplify the following equations for me.
> 
> m = ( cos (c*(2*pi)/360) * ( cos (b*(2*pi)/360) * x + sin
> (b*(2*pi)/360) * ( cos (a*(2*pi)/360) * z + sin (a*(2*pi)/360)*y)) -
> sin (c*(2*pi)/360) * (( cos (a*(2*pi)/360) * y - sin
> (a*(2*pi)/360)*z)))

etc.

For a start, (2*pi)/360 = pi/180.
And next, *if* you're using povray, consider the degrees() function.

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message

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