POV-Ray : Newsgroups : povray.binaries.animations : MegaPovPlus Particle example Server Time
2 Nov 2024 09:21:25 EDT (-0400)
  MegaPovPlus Particle example (Message 1 to 2 of 2)  
From: JRG
Subject: MegaPovPlus Particle example
Date: 20 Jan 2002 04:17:49
Message: <3c4a8b3d@news.povray.org>
I just animated a demo file coming with MegaPovPlus, a patched version of POV-Ray
based on MegaPov 0.5 with many addictions by Chris Huff
(http://homepage.mac.com/chrishuff/povpatch.html). It's the only patch, as far as I
know, coming with a built in particle system. The parsing time was very fast indeed
(even without I/O). In this animation the camera is placed above, with the blue plane
being the ground.
I tried to make it more interesting rotating the red boxes, but since it's not an I/O
based particle system, the simulation starts from the beginning every frame and the
final animation looked, well, weird, but I have to admit that (having downloaded
MegaPov+ just yesterday) I didn't even read the documentation, so, please Chris tell
me if I'm missing something obvious. There's also support for inter particle forces,
but I couldn't make it work, in that the syntax has probably changed and I should
definitely have a look at the docs.

--
#local j=text{ttf"arial""JRG".2,0}#local J=0;#while(J<10)#local R=0;#while
(R<2)#local G=0;#while(G<1)#if(inside(j<R,G.1>))object{j scale.025translate
<R-1G-J/20J/-40+2>pigment{rgb<9J>}}#debug"O"#else#debug" "#end#local G=G+
.025;#end#local R=R+.05;#debug"\n"#end#local J=J+1;#end// JRG

Home: http://digilander.iol.it/jrgpov  //New: Kitchen scene WIP


Post a reply to this message


Attachments:
Download 'CJHPART.MPG' (526 KB)

From: Rune
Subject: Re: MegaPovPlus Particle example
Date: 21 Jan 2002 12:46:25
Message: <3c4c53f1@news.povray.org>
"JRG" wrote:
> I tried to make it more interesting rotating the red
> boxes, but since it's not an I/O based particle system,
> the simulation starts from the beginning every frame
> and the final animation looked, well, weird

> please Chris tell me if I'm missing something obvious.

Well, I'm not Chris, but I might know the reason.

I think Chris' particle system has no support for moving objects, so if you
move them anyway you get strange results. For each new frame the entire
history of the particles is recalculated with the boxes aligned as they are
in the current frame. Of course history (or "the past") should be
consistent, so a history that changes with time looks very weird.

I don't recall if his system supports a moving emitter point, but I suspect
it's the same problem.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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