|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank You
I could not see the wood for the trees :)
Dave
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |