POV-Ray : Newsgroups : povray.binaries.images : POVEarth still far away... : Re: POVEarth still far away... Server Time
29 Apr 2024 07:45:45 EDT (-0400)
  Re: POVEarth still far away...  
From: Bald Eagle
Date: 2 Aug 2020 10:20:01
Message: <web.5f26cb3593bb714f1f9dae300@news.povray.org>
=?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-2023 Persistence of Vision Raytracer Pty. Ltd.