POV-Ray : Newsgroups : povray.programming : Particles (again...still) : Re: Particles (again...still) Server Time
28 Jul 2024 14:20:52 EDT (-0400)
  Re: Particles (again...still)  
From: Peter Popov
Date: 14 Jun 2000 18:21:54
Message: <g01gksg35enoaev88ckuq3in8t1jfbgib5@4ax.com>
On Wed, 14 Jun 2000 09:15:30 -0700, "Matt Savard" <msa### [at] rainorg>
wrote:

>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! :)

Just use vector math, it's so much easier.


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


Post a reply to this message

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