POV-Ray : Newsgroups : povray.bugreports : Sinus Cosinus doesn't work *scene added* Server Time
2 Jun 2024 02:08:26 EDT (-0400)
  Sinus Cosinus doesn't work *scene added* (Message 1 to 2 of 2)  
From: Psi
Subject: Sinus Cosinus doesn't work *scene added*
Date: 31 Jan 1999 19:33:48
Message: <34D3C2E9.54B6E24D@hotmail.com>
[Image]
The radius of this circle is 1. With sinus and cosinus is it possible to
get every coordinate of this or another circle. I tried to do so in my
scene. In the Center of the circle is a red big sphere and a smaller
blue sphere should do its circles around it (render scene to see what i
mean!). My problem is that the calculated coordinates (see pic 1) are
not the same as those i calculated myself (see pic 2). I need this
procedure so please try the scene out and write me what went wrong as a
mail (psi### [at] hotmailcom) with a solution perhaps.

Pic1:
[Image]type in calculator 90 then sin the correct number is one as shown
in pic2. do the same for cosinus.
Pic2:
[Image]
I have added the scene files in a zip.
Thanks for help in advance.


Post a reply to this message


Attachments:
Download 'us-ascii' (2 KB) Download 'd:\temp\nsmail7f.jpeg.jpg' (28 KB) Download 'd:\temp\nsmailso.jpeg.jpg' (22 KB) Download 'd:\temp\nsmailfh.jpeg.jpg' (23 KB)

Preview of image 'd:\temp\nsmail7f.jpeg.jpg'
d:\temp\nsmail7f.jpeg.jpg

Preview of image 'd:\temp\nsmailso.jpeg.jpg'
d:\temp\nsmailso.jpeg.jpg

Preview of image 'd:\temp\nsmailfh.jpeg.jpg'
d:\temp\nsmailfh.jpeg.jpg


 

From: Anthony Bennett
Subject: Did you convert to radians first?
Date: 31 Jan 1999 21:40:06
Message: <36B51528.BCFF393B@panama.phoenix.net>
sin(radians(A))                cos(radians(A))

The title says it all. This is a common mistake. I made it a couple
dozen times.


Post a reply to this message

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