POV-Ray : Newsgroups : povray.text.tutorials : Basic Particle System. Server Time: 26 Jan 2020 11:22:43 GMT
  Basic Particle System. (Message 1 to 3 of 3)  
From: JRG
Subject: Basic Particle System.
Date: 10 Jan 2002 22:45:04
Message: <3c3e1970@news.povray.org>
I've written the basic particle system requested. Still have to write a little
example.
There's only one (quite serious I fear) problem. It always crashes with the present
beta (works fine with MegaPov). Surely a bug.
So, there are two options:

1) I could post the code 'as is', but it wouldn't be that useful without a little
explanation (though it's very simple), and you'd have to use MegaPov (no particular
MegaPov feature is used, as I said, it simply crashes with the present beta for
Windows.)

2) I could wait and write a little tutorial to explain how this simple system works.

Nothing prevents me to post the code first and to write the tutorial afterwards, if
you find it fine :)

Would you like the system to handle animations too?


--
#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

From: Dennis Milller
Subject: Re: Basic Particle System.
Date: 12 Jan 2002 03:40:12
Message: <3c3fb01c$1@news.povray.org>
I'm happy with a Mega version for now. Send it on over!
Thanks,
Dennis
"JRG" <jrg### [at] hotmailcom> wrote in message
news:3c3e1970@news.povray.org...
> I've written the basic particle system requested. Still have to write a
little
> example.
> There's only one (quite serious I fear) problem. It always crashes with
the present
> beta (works fine with MegaPov). Surely a bug.
> So, there are two options:
>
> 1) I could post the code 'as is', but it wouldn't be that useful without a
little
> explanation (though it's very simple), and you'd have to use MegaPov (no
particular
> MegaPov feature is used, as I said, it simply crashes with the present
beta for
> Windows.)
>
> 2) I could wait and write a little tutorial to explain how this simple
system works.
>
> Nothing prevents me to post the code first and to write the tutorial
afterwards, if
> you find it fine :)
>
> Would you like the system to handle animations too?
>
>
> --
> #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

From: JRG
Subject: Re: Basic Particle System.
Date: 12 Jan 2002 22:03:47
Message: <3c40b2c3@news.povray.org>
Fine. Posted to p.b.s-f. I can write a tutorial if requested.
Cheers.

--
#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

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