POV-Ray : Newsgroups : povray.general : Re: turbulence translation (was: Flames using 5D dimensions) Server Time
16 Nov 2024 23:19:16 EST (-0500)
  Re: turbulence translation (was: Flames using 5D dimensions) (Message 1 to 1 of 1)  
From: Tristan Wibberley
Subject: Re: turbulence translation (was: Flames using 5D dimensions)
Date: 10 Feb 1970 13:45:16
Message: <01bd364b$52181900$181657a8@W_tristan.gb.tandem.com>
You are I think partly right, warp would do exactly what we've been looking
for, but it is not implemented in halos.

Another solution - since turbulence uses a randeom walk algorithm (as
stated in the docs) a keyword can be added to the turbulence syntax (along
with the usual octaves, etc...) called turb_seed or some such - this can be
used to seed the pseudo-randem numbers differently.

Currently turbulence is always seeded with the same number so a halo always
looks very similar, and if you have the turb_seed keyword you can select a
different turbulence each frame.

This would give a very realistic fire for small fires where it looks like
it just flickers and changes randeomly (a big fire like when an oil rig
goes kaboom animates much slower so the details of how fire works becomes
important).

I am working on an include file that will give a realistic fire, I'm nearly
there (just a little tweaking to do before I release an example animation,
then developing the include files capabilities and ease of use before
releasing it for general use.

-- 
Tristan Wibberley

(Remove the '.NO_LUNCHEON_MEAT' from my
email address to reply.)



Matthew Corey Brown <mbr### [at] sprycom> wrote in article
<34B### [at] sprynetcom>...
| here is an idea to help speed up the process.
| Forget about 5D noise all together (mind you this is just
| to speed the flames up and get what you want)
| Just translate the turbulence. This may be possible with warps
| already. but i haven't played with warps too much so i can't recall off
| hand. So instead of:
| 
| apply turbulence to point
| 
| you would
| 
| 1) translate point
| 2) apply trubulence (noise) to translated point
| 3) translate turbulated point in the reverse direction
| 
| given that translations are much faster then noise calls
| this would speed things up and give you a loop (if you rotate the
| translation vector with vrotate in the scene source)
| 
| the only place i would see use for this is halos cause with other
| things that use noise you can already translate to give the same effect.
| And so this being the case will completly change with 3.1 removal
| of halos and addition of media. 
| 
| -- 
| Matthew Corey Brown          | "Wanna take a ride?"
| tal### [at] sprynetcom
|


Post a reply to this message

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