POV-Ray : Newsgroups : povray.unofficial.patches : Simulation in MegaPov : Re: Simulation in MegaPov Server Time
8 May 2024 13:47:20 EDT (-0400)
  Re: Simulation in MegaPov  
From: H  Karsten
Date: 26 Aug 2011 17:25:01
Message: <web.4e580e40bdff24b4a3bfeb720@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 25.08.2011 21:38, schrieb H. Karsten:
>
> > In the case, I'm gonna use PovRay instead of Megapov, I would need to code the
> > simulation-process on my own.
> > Or do you see any other option?
>
> It's actually much less work than trying to get Megapov's physics
> simulation do the job for you.
>
> I guess the formula will boil down to something like:
>
>      RelativeLoss = const[0..1)
>      AbsoluteLoss = const[0..1)
>      Frequency = const
>      MaxAmplitude = const
>
>      Energy[t] = max(0, (1-RelativeLoss)^t - AbsoluteLoss*t)
>      Amplitude[t] = Energy[t] * MaxAmplitude * sin(t*Frequency)

Ok, I'll give it a try :)
Tanx a lot!

Best rgds,
Holger


Post a reply to this message

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