|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Just Another Person Attempting Particle Systems
Inspired by fantastic animations by others (Rune, JPG etc.) I decided I would
try to write my own particle system in POV. I started in early October, and after
a period of inactivity, decided to get it to a workable stage. Here is an attempt
at particle interaction that looks to be going in the direction I want it to.
There are 500 particles here. They attract and repel each other, and you can
see this behaviour in some parts of the simulation, as globs form. As this is not
a final product, and because I like to have an indication of what the little
blighters are doing during the simulation, the particles are represented with
spheres and cones (cones showing the velocity vector). It's crude, but helps me
spot errors.
Any comments welcome.
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
Attachments:
Download 'wramp1.mpg' (467 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That is very nice - love the cones :)
--
Rick
Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Mark James Lewin" wrote:
> Here is an attempt at particle interaction that looks
> to be going in the direction I want it to.
It's a nice start for a particle system, but I must admit I can't spot the
particle interaction. I don't see the repulsion and attraction. May just be
me though.
It also seems like a lot of your particles are falling through the object. I
had the same problem while designing the collision detection in my system...
Anyway, keep up the good work, and don't hesitate to ask if you have any
questions!
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you! I hope to get a better version posted soon.
MJL
"Rick [Kitty5]" wrote:
> That is very nice - love the cones :)
>
> --
>
> Rick
>
> Kitty5 WebDesign - http://Kitty5.com
> POV-Ray News & Resources - http://Povray.co.uk
> TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037
>
> PGP Public Key
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
--
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
Attachments:
Download 'us-ascii' (2 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you for the comments Rune. I will post a later version soon which shows the
interactions more. If you look at the particles that missed the ramp, some are
drawn to each other near the end of the animation. I am looking into the
particles falling through at the moment...
MJL
Rune wrote:
> "Mark James Lewin" wrote:
> > Here is an attempt at particle interaction that looks
> > to be going in the direction I want it to.
>
> It's a nice start for a particle system, but I must admit I can't spot the
> particle interaction. I don't see the repulsion and attraction. May just be
> me though.
>
> It also seems like a lot of your particles are falling through the object. I
> had the same problem while designing the collision detection in my system...
>
> Anyway, keep up the good work, and don't hesitate to ask if you have any
> questions!
>
> Rune
> --
> 3D images and anims, include files, tutorials and more:
> Rune's World: http://rsj.mobilixnet.dk (updated Nov 5)
> POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
> POV-Ray Webring: http://webring.povray.co.uk
--
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
|
|
| |
| |
|
|
|
|
| |
|
|