POV-Ray : Newsgroups : povray.binaries.animations : Particle Algorithms : Re: Particle Algorithms Server Time
20 Jul 2024 07:20:39 EDT (-0400)
  Re: Particle Algorithms  
From: Mark James Lewin
Date: 10 Dec 2001 16:30:27
Message: <3C1525DE.4AEF8F54@yahoo.com.au>
Rune wrote:

> "Tim Nikias" wrote:
> > If you have the direction the particle is heading,
> > why don't you do a "axis-check"?
>
> > On the other hand, that might become pretty
> > parsing-intensive...
>
> Yes, and even so, it's not very precise. That's why I don't like it.
>
> And in most of the simulations I do, it won't make a difference anyway.
> Remember that solid objects is just one out of many uses. For liquids, fire,
> smoke, sparks etc. it doesn't matter at all.

Sigh. I bit the bullet too, and decided that precise testing involved too much
trace testing, and was probably not worth the effort. The centre is all that
matters in my system :-(

MJL


--
light_source{12*(y-z)rgb 2fade_distance 9fade_power 2area_light x,z,5,5}#macro A
(H,B,R,T)prism{0,1H+4,0u*9,9v*9,0#local I=1;#while(I<H)#local V=asc(substr(B,I,1
))-33;<div(V,10)mod(V,10)>#local I=I+1;#end pigment{red 1}rotate-<90,R>translate
-T}#end A(16"/.@VZno=<PLA89/"0,5*x)A(14",6;MWmhryXN3,"60<15,0,8>)camera{location
25*(y-z)look_at 0}A(8"6hiAG=6"-60,-10*x)box{-99(x+z)*99 pigment{rgb 1}}   // MJL


Post a reply to this message

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