POV-Ray : Newsgroups : povray.animations : Can someone help the Particle System Noob Server Time
6 Oct 2024 12:06:53 EDT (-0400)
  Can someone help the Particle System Noob (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From:
Subject: Re: Can someone help the Particle System Noob
Date: 14 Mar 2002 08:03:51
Message: <6p719u0pfltthipr0jmuvheaq5g83upv2s@4ax.com>
On Wed, 13 Mar 2002 12:48:34 -0800, "Dave Brickell"
<d.b### [at] ntlworldnospamcom> wrote:
> I have posted the code in
> p.t.s.f (subject - problem with #read) if you would be so kind as to have a
> look and see what I am doing wrong.

I can't say anything without knowing content of file supposed to read. Are you
sure it was created corrently ? Have you tried debugging readed values ? Can I
see writing part ?

ABX


Post a reply to this message

From: Dave Brickell
Subject: Re: Can someone help the Particle System Noob
Date: 14 Mar 2002 08:19:03
Message: <3c90a347$1@news.povray.org>
Hi

> I can't say anything without knowing content of file supposed to read. Are
you
> sure it was created corrently ?

I have read the file manually and all values appear to be in the correct
places.

>Have you tried debugging readed values ?

Yes, that is how I found the problem of the #read part skipping lines.

>Can I see writing part ?

Certainly p.t.s.f  one thread down from the other post

Thanks

Dave


Post a reply to this message

From:
Subject: Re: Can someone help the Particle System Noob
Date: 14 Mar 2002 08:20:49
Message: <km819uk344f3sontboci92mehvsboumsbp@4ax.com>

wrote:
> I can't say anything without knowing content of file supposed to read. Are you
> sure it was created corrently ? Have you tried debugging readed values ? Can I
> see writing part ?

Ok. Probably your fault. Please reread my first post I posted in this thread
and note what I said about separating items in file. Then open your
documentation and look there again and read the same subject (in current 3.5
documentation it is in bottom part of chapter 6.2.3.4).

ABX
--
disc{z,-z 5#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;pigment{#local g=function(_){ceil(_)-_}function#local//X
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e>0)<O(),O()//AB
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//POV35


Post a reply to this message

From: Dave Brickell
Subject: Re: Can someone help the Particle System Noob
Date: 14 Mar 2002 08:36:57
Message: <3c90a779$1@news.povray.org>
Thank You

I could not see the wood for the trees :)

Dave


Post a reply to this message

From: Peter Popov
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 01:42:46
Message: <p2539u0jdnckuti04471cbd3eekq3ri7m6@4ax.com>
On Wed, 13 Mar 2002 10:11:10 -0800, "Dave Brickell"
<d.b### [at] ntlworldnospamcom> wrote:

>I have a #while loop at the start to set all of my
>initial values and I only want to execute this once.

Have the first value written in your file indicate whether this is the
data has been already generated... might even work <g>


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: RAY
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 08:53:55
Message: <3c91fcf3$1@news.povray.org>
I think "Dave Brickell" <d.b### [at] ntlworldnospamcom> wrote in message
news:3c90779d@news.povray.org...
> Thank you Peter that is just what I was looking for. This will enable me
to
> keep the changed values of each of my particles between frames but I still
> have a little problem. I have a #while loop at the start to set all of my
> initial values and I only want to execute this once. If I have got my head
> around this correctly would I just have a seperate script to write the
> initial values and then run my main script reading these values in and
> updating as I go.
Try #if (clock=initial_clock) ...


Post a reply to this message

From: Dave Brickell
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 09:29:38
Message: <3c920552@news.povray.org>
Yeah I did try that but it still would not work in some of the ways I
wanted.

However I have now cracked the problem using another method.

Thanks for the suggestion though.

Dave.


Post a reply to this message

From: RAY
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 12:15:39
Message: <3c922c3b$1@news.povray.org>
Actually #if (frame_number=initial_frame)... works slightly better than my
previous way.  Slight question: what is wrong with the other/this method?


Post a reply to this message

From: Dave Brickell
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 12:22:57
Message: <3c922df1@news.povray.org>
There is nothing wrong with your methods at all.

Its just to get round the problem I set up 2 scene files.

An initial scene (for setting all of my initial particle parameters etc)

An the main scene (which the animation ini file calls)

I have just found it easier doing it this way.

Dave


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Can someone help the Particle System Noob
Date: 15 Mar 2002 16:32:50
Message: <3c926882$1@news.povray.org>
See also:
http://www.geocities.com/pterandon/boids.html


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

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