POV-Ray : Newsgroups : povray.unofficial.patches : Simulation in MegaPov : Re: Simulation in MegaPov Server Time
17 Apr 2024 20:21:07 EDT (-0400)
  Re: Simulation in MegaPov  
From: clipka
Date: 25 Aug 2011 16:02:37
Message: <4e56aa5d$1@news.povray.org>
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)


Post a reply to this message

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