|
|
|
|
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: To Edouard Poor: parse error with camera35mm.inc in POV version 3.7
Date: 3 Jun 2010 03:34:19
Message: <4c075afb@news.povray.org>
|
|
|
| |
| |
|
|
I get the following parse error when trying to use Camera35mm_Autofocus,
when using POV-Ray 3.7 beta 37a:
"line 433: Parse Error: Attempt to access uninitialized array element."
No error occurs with version 3.6 or Megapov.
--
All the best,
Thomas
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: To Edouard Poor: parse error with camera35mm.inc in POV (all versions)
Date: 3 Jun 2010 03:38:28
Message: <4c075bf4@news.povray.org>
|
|
|
| |
| |
|
|
Sorry for the mess I write (as usual). Contrary to what I said above, I get
the error *also* with version 3.6 or megapov :-(
I probably is something I do wrong, but I have not a clue about what it can
be as I use - I guess - the demo scene as is.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> I get the following parse error when trying to use Camera35mm_Autofocus,
> when using POV-Ray 3.7 beta 37a:
>
> "line 433: Parse Error: Attempt to access uninitialized array element."
Hmm, could be something like none of the autofocus samples actually found the
object - but I'l have to take a closer look and do some debugging.
Thanks for the report.
Cheers,
Edouard.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Edouard" <pov### [at] edouardinfo> wrote:
> "Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> > I get the following parse error when trying to use Camera35mm_Autofocus,
> > when using POV-Ray 3.7 beta 37a:
> >
> > "line 433: Parse Error: Attempt to access uninitialized array element."
>
> Hmm, could be something like none of the autofocus samples actually found the
> object - but I'l have to take a closer look and do some debugging.
I can recreate it by having an extremely small object, so no autofocus samples
hit it...
You can try #declaring 'Camera35mm_AutofocusTightness' to a wider value like 1.0
(which means the who screen) or 'Camera35mm_AutofocusSamples' to a higher
number, so there are enough samples that the code hit the object.
I'll edit my code to print a warning, and set the autofocus point to the objects
center.
Cheers,
Edouard.
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: To Edouard Poor: parse error with camera35mm.inc in POV version 3.7
Date: 3 Jun 2010 09:55:31
Message: <4c07b453@news.povray.org>
|
|
|
| |
| |
|
|
"Edouard" <pov### [at] edouardinfo> schreef in bericht
news:web.4c07687cdfe1c893694f4200@news.povray.org...
> I can recreate it by having an extremely small object, so no autofocus
> samples
> hit it...
>
> You can try #declaring 'Camera35mm_AutofocusTightness' to a wider value
> like 1.0
> (which means the who screen) or 'Camera35mm_AutofocusSamples' to a higher
> number, so there are enough samples that the code hit the object.
>
> I'll edit my code to print a warning, and set the autofocus point to the
> objects
> center.
Excellent and thanks indeed! I shall try this as soon as my present render
is finished. The FocusObj is indeed very small in relation to the scene. I
had not considered that possibility.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: To Edouard Poor: parse error with camera35mm.inc in POV version 3.7
Date: 3 Jun 2010 10:12:25
Message: <4c07b849$1@news.povray.org>
|
|
|
| |
| |
|
|
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> schreef in bericht
news:4c07b453@news.povray.org...
>
> Excellent and thanks indeed! I shall try this as soon as my present render
> is finished. The FocusObj is indeed very small in relation to the scene. I
> had not considered that possibility.
>
Works!
I my case, I could scale-up the FocusObj to proper size.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |