|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is so strange.
If I create some objects w/ a while loop POV says I'm out of memory.
This happens even if I give POV 3.1 96MB and have only two objects in the
loop. I can put in as many as I want by hand.
Is this a bug or am I doing somthing wrong?
As a raytracing newbie, I awat an anwsore.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <38c01059$1@news.povray.org>, "David" <dav### [at] maccom>
wrote:
> This is so strange.
> If I create some objects w/ a while loop POV says I'm out of memory.
> This happens even if I give POV 3.1 96MB and have only two objects in the
> loop. I can put in as many as I want by hand.
> Is this a bug or am I doing somthing wrong?
>
> As a raytracing newbie, I awat an anwsore.
Are you sure the loop ends? If you control the loop with a counter
variable, but forget to increment the counter, it will keep looping and
creating objects until it runs out of memory.
#declare K=0;
#while(K<10)
...
#declare K=K+1;// If this isn't here, the loop will never end
#end
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I know my way arond C++, Lingo, BASIC, and POV-Script.
And yes, I do know how to close a loop, thank you very much.
Have any other solutions?
--
David McCabe
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
David wrote:
>
> I know my way arond C++, Lingo, BASIC, and POV-Script.
> And yes, I do know how to close a loop, thank you very much.
> Have any other solutions?
Can you provide us with an example of what is causing you problems.
Anything else we can offer would only be guess work.
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 28 Mar 2000 19:41:07 -0800 David <dav### [at] maccom> wrote:
>I know my way arond C++, Lingo, BASIC, and POV-Script.
>And yes, I do know how to close a loop, thank you very much.
>Have any other solutions?
On Tue, 28 Mar 2000 20:10:04 -0800 Ken <tyl### [at] pacbellnet> wrote:
>
>>Can you provide us with an example of what is causing you problems.
>>Anything else we can offer would only be guess work.
Hi, David. Please also pare down the scene to a minimum necessary to
reproduce the problem.
--
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
OK here you go:
#include "colors.inc"
camera{ location <0,2,-6> look_at 0 }
light_source{ <40,40,-30>,color White }
#declare i = 1;
#while( i <= 2 )
sphere{ (x*i)-2, .5 pigment{color Red} }
#declare i = i + 1
#end
> From: Alan Kong <ako### [at] povrayNO-SPAMorg>
> Organization: POV-Team
> Newsgroups: povray.macintosh
> Date: Wed, 29 Mar 2000 04:15:37 -0800
> Subject: Re: While bug? or am I missing somthing?
>
> On Tue, 28 Mar 2000 19:41:07 -0800 David <dav### [at] maccom> wrote:
>
>> I know my way arond C++, Lingo, BASIC, and POV-Script.
>> And yes, I do know how to close a loop, thank you very much.
>> Have any other solutions?
>
> On Tue, 28 Mar 2000 20:10:04 -0800 Ken <tyl### [at] pacbellnet> wrote:
>>
>>> Can you provide us with an example of what is causing you problems.
>>> Anything else we can offer would only be guess work.
>
> Hi, David. Please also pare down the scene to a minimum necessary to
> reproduce the problem.
>
> --
> Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
> http://www.povray.org - Home of the Persistence of Vision Ray Tracer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <B507C9ED.343%dav### [at] maccom> , David <dav### [at] maccom>
wrote:
> #include "colors.inc"
>
> camera{ location <0,2,-6> look_at 0 }
> light_source{ <40,40,-30>,color White }
> #declare i = 1;
> #while( i <= 2 )
> sphere{ (x*i)-2, .5 pigment{color Red} }
> #declare i = i + 1
> #end
Works fine for me. Less than 65 KB of memory used. Are you using POV-Ray
Mac 3.1g.r2?
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <B507C9ED.343%dav### [at] maccom>, David
<dav### [at] maccom> wrote:
> OK here you go:
>
> #include "colors.inc"
>
> camera{ location <0,2,-6> look_at 0 }
> light_source{ <40,40,-30>,color White }
> #declare i = 1;
> #while( i <= 2 )
> sphere{ (x*i)-2, .5 pigment{color Red} }
> #declare i = i + 1
> #end
Well, you missed a semicolon on the incrementing #declare, but that code
worked fine under both 3.1g.r2 and MacMegaPOV 0.4 even without the
semicolon. What version are you using?
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yes Thorsten, I use that version. I do not know the reson, but some times
that code will work for me and sometimes it will not.
> From: Chris Huff <chr### [at] yahoocom>
> Newsgroups: povray.macintosh
> Date: Wed, 29 Mar 2000 18:21:00 -0500
> Subject: Re: While bug? or am I missing somthing?
>
> In article <B507C9ED.343%dav### [at] maccom>, David
> <dav### [at] maccom> wrote:
>
>> OK here you go:
>>
>> #include "colors.inc"
>>
>> camera{ location <0,2,-6> look_at 0 }
>> light_source{ <40,40,-30>,color White }
>> #declare i = 1;
>> #while( i <= 2 )
>> sphere{ (x*i)-2, .5 pigment{color Red} }
>> #declare i = i + 1
>> #end
>
> Well, you missed a semicolon on the incrementing #declare, but that code
> worked fine under both 3.1g.r2 and MacMegaPOV 0.4 even without the
> semicolon. What version are you using?
>
> --
> Christopher James Huff - Personal e-mail: chr### [at] yahoocom
> TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
> Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: While bug? or am I missing somthing?
Date: 30 Mar 2000 15:11:36
Message: <38e3b4f8@news.povray.org>
|
|
|
| |
| |
|
|
In article <B508EECB.3DD%dav### [at] maccom> , David <dav### [at] maccom>
wrote:
> Yes Thorsten, I use that version. I do not know the reson, but some times
> that code will work for me and sometimes it will not.
As much as I would like to help, there is no way I can if the bug cannot be
reproduced. The best solution I can offer is that you keep looking, and
once you have a scene which always reproduces the problem for you, e-mail it
to <mac### [at] povrayorg> and I will see what I can do.
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |