POV-Ray : Newsgroups : povray.programming : Particles (again...still) : Particles (again...still) Server Time
28 Jul 2024 14:19:06 EDT (-0400)
  Particles (again...still)  
From: Matt Savard
Date: 14 Jun 2000 12:12:55
Message: <3947af07@news.povray.org>
Hello all,

I am attempting to make a primitive particle generator in Visual Basic to
create scenes for POV. My math being a bit rusty, I only have it working in
2-D (x and y) I have all the write equations for making a particle travel in
2-D at a certain angle, but what is the formula for the Z direction? For
example, I know to travel at 30 degrees in 2-d, you take the
speed*Sin(angle_in_radians) for x and speed*Cos(angle_in_radians) for y.
What would Z be?

Any help would be, well, helpful! :)

Matt


Post a reply to this message

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