POV-Ray : Newsgroups : povray.binaries.images : something to share... Server Time
2 Oct 2024 04:23:31 EDT (-0400)
  something to share... (Message 11 to 18 of 18)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Jamie Davison
Subject: Re: something to share...
Date: 6 Jul 2000 19:59:34
Message: <MPG.13cee44d91e1e70989729@news.stmuc.com>
On Wed, 05 Jul 2000 21:20:20 -0500, David Fontaine wrote...
> Jamie Davison wrote:
> 
> > <grin>
> >
> > Oh, and I figured it out using a pencil, paper and calculator, and the
> > rotations I came out with were <45.0,0.0,35.26439>.  This was using
> > nothing more complicated than basic trigonometry and Pythagoras' theorem.
> 
> <grin>
> *cough cough*
> I will not tolerate imperfection! Rotate <45,0,asin(1/sqrt(3))> ;-)

Nope, I came to it through Rotate <45.0, 0.0, atan(1/sqrt(2))>  :)

Or you could have used Rotate <45.0, 0.0, acos(sqrt(2)/sqrt(3))  But 
that's just silly.

They all give you the same result, so who cares <grin>

Using the (admittedly crap) windows calculator, the following came out of 
the two simpler methods:

asin(1/sqrt(3)) = 35.2643896827546543153770003300188
atan(1/sqrt(2)) = 35.2643896827546543153770003300188

Is that perfect enough?  Or do you require anally retentive levels of 
precision?  ;)

Bye for now,
     Jamie.


Post a reply to this message

From: Jamie Davison
Subject: Re: something to share...
Date: 6 Jul 2000 19:59:37
Message: <MPG.13cee5927eb494c498972b@news.stmuc.com>
On Thu, 6 Jul 2000 21:32:47 +1200, Ian Witham wrote...
> > Oh, and I figured it out using a pencil, paper and calculator, and the
> > rotations I came out with were <45.0,0.0,35.26439>.  This was using
> > nothing more complicated than basic trigonometry and Pythagoras' theorem.
> 
> 
> okay okay.. as so many of you have pointed out it isn't all that tricky
> after all <hangs his head in shame> :-(

It wasn't too easy either...  I took me a sheet of paper and a fair 
amount of cursing before I remembered enough of my maths to figure it 
out.  It's just too easy to sound glib and self satisfied when you've got 
the answer sitting in front of you while you compose the posting to the 
NG :)

Having a copy of Moray to display and verify the transformations didn't 
hurt either <grin>

Oh, and I did a quick scene with 3200 cubes rotated at .1 degree 
intervals, but got bored waiting for it to render :)

Bye for now,
     Jamie.


Post a reply to this message

From: Mark Wagner
Subject: Re: something to share...
Date: 7 Jul 2000 03:58:49
Message: <39658db9@news.povray.org>
David Fontaine wrote in message <3964C951.BCF19E94@faricy.net>...
>Wait, wait, I have a *really* hard one! What would it look like if you took
a
>regular octahedron, aligned opposite points on the y-axis, and spun it?
Only
>kidding, of course... (not to self--shut up)


Or how about a regular hexahedron?  :-)

Mark


Post a reply to this message

From: David Fontaine
Subject: Re: something to share...
Date: 7 Jul 2000 14:43:03
Message: <39662311.4FB6DFFD@faricy.net>
Of course, it really should be written as asin(sqrt(3)/3)...

Jamie Davison wrote:

> Nope, I came to it through Rotate <45.0, 0.0, atan(1/sqrt(2))>  :)
>
> Or you could have used Rotate <45.0, 0.0, acos(sqrt(2)/sqrt(3))  But
> that's just silly.
>
> They all give you the same result, so who cares <grin>
>
> Using the (admittedly crap) windows calculator, the following came out of
> the two simpler methods:
>
> asin(1/sqrt(3)) = 35.2643896827546543153770003300188
> atan(1/sqrt(2)) = 35.2643896827546543153770003300188
>
> Is that perfect enough?  Or do you require anally retentive levels of
> precision?  ;)

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

From: David Fontaine
Subject: Re: something to share...
Date: 7 Jul 2000 14:45:18
Message: <39662398.E66B2AB1@faricy.net>
Mark Wagner wrote:

> David Fontaine wrote in message <3964C951.BCF19E94@faricy.net>...
> >Wait, wait, I have a *really* hard one! What would it look like if you took
> a
> >regular octahedron, aligned opposite points on the y-axis, and spun it?
> Only
> >kidding, of course... (not to self--shut up)
>
> Or how about a regular hexahedron?  :-)
>
> Mark

Oops, should be NOTE to self (missed the 'e')
Did you know that any four non-consecutive points on a cube define a regular
tetrahedron? :) Of course, there's only two ways to do that on a cube.

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

From: Jamie Davison
Subject: Re: something to share...
Date: 7 Jul 2000 17:57:51
Message: <MPG.13d06093c0d16c39989731@news.stmuc.com>
On Fri, 07 Jul 2000 13:36:02 -0500, David Fontaine wrote...
> Of course, it really should be written as asin(sqrt(3)/3)...

Why?  It all comes out the same in the end, so use the syntax you like 
and can understand.

Or am I missing something here?  Admittedly, my mathematics goes up to 
about halfway through 'A' Level, when we hit the more complex end of 
calculus and statisitcs, whereupon my brain fell over, so I could easily 
be missing something.

Bye for now,
     Jamie.


Post a reply to this message

From: Peter Popov
Subject: Re: something to share...
Date: 8 Jul 2000 00:16:48
Message: <98mams4f58mj2tm6973cpovlr95ol61jri@4ax.com>
On Fri, 7 Jul 2000 22:51:16 +0100, jam### [at] dh70qdu-netcom (Jamie
Davison) wrote:

>On Fri, 07 Jul 2000 13:36:02 -0500, David Fontaine wrote...
>> Of course, it really should be written as asin(sqrt(3)/3)...
>
>Why?  It all comes out the same in the end, so use the syntax you like 
>and can understand.

Well, 1/sqrt(3) = sqrt(3)/3
It's just that the latter is the rationalized, more acceptable form of
it.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Jamie Davison
Subject: Re: something to share...
Date: 8 Jul 2000 10:39:34
Message: <MPG.13d11f78e2c31b11989732@news.stmuc.com>
On Fri, 07 Jul 2000 07:14:47 +0300, Peter Popov wrote...
> >> Of course, it really should be written as asin(sqrt(3)/3)...
> >
> >Why?  It all comes out the same in the end, so use the syntax you like 
> >and can understand.
> 
> Well, 1/sqrt(3) = sqrt(3)/3
> It's just that the latter is the rationalized, more acceptable form of
> it.

OK, so I *was* missing something :)

I think I'll stick to the incorrect syntax myself, as if nothing else, it 
helps me remember where in the calculations I got the value from. (if you 
could see the average page of scribbling and trigonometry, you'd 
understand why I need help remembering such things <grin>)

Bye for now,
     Jamie.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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