POV-Ray : Newsgroups : povray.binaries.images : POVEarth still far away... : Re: POVEarth still far away... Server Time: 24 Sep 2020 18:11:23 GMT
  Re: POVEarth still far away...  
From: Bald Eagle
Date: 2 Aug 2020 14:20:01
=?UTF-8?Q?J=c3=b6rg_=22Yadgar=22_Bleimann?= <yaz### [at] gmxde> wrote:

> But now with the uniform color, it's even more absurd: the loop breaks,
> but no longer consistently at a=22, but during the first run at a=19,
> during the second once more at a=22, during the third run at a=20...

Hmm.   That's pretty weird.
What's your OS & povray version?
Have you tried running a different version or changing the #version statement at
the top of the file?

What about using #for instead of #while ?
Stepping through the values by 2's ?
If you can post an easy-to-follow version (indents, some comments) of your full
code in the text file section, maybe I can spot something.


> > But first I'd also send your values to the #debug stream and perhaps a log file.
>
> How do I do this?

You already know how to do:
#write (ES, concat("    color rgb <",vstr(3, C_Texture, ",", 1,
7),">\n"))

So just add a line with
#debug concat("    color rgb <",vstr(3, C_Texture, ",", 1,
7),">\n")


in your command line, you can just add Debug_File=LoopCrash.txt
so that you have something like
+w1024 +h768 +A0.3 Debug_File=LoopCrash.txt

Then everything that goes to the debug stream will go to the file as well.
http://www.povray.org/documentation/view/3.6.1/222/


Post a reply to this message

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