POV-Ray : Newsgroups : povray.general : POV-Ray 3.7 doesn't render anymore Server Time
25 Nov 2024 01:45:53 EST (-0500)
  POV-Ray 3.7 doesn't render anymore (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Jörg "Yadgar" Bleimann
Subject: POV-Ray 3.7 doesn't render anymore
Date: 21 Sep 2016 14:22:28
Message: <57e2cfe4$1@news.povray.org>
Hi(gh)!

I tried to render a simple scene (no external files), but all I got is this:

povray +i20160826vorspann.pov +otest.png +fn +w640 +h480 +a.3 +k1 +p
Failed to parse command-line option

Obviously, the last two system upgrades during the last six weeks messed 
up my POV-Ray installation (earlier today, even the .povray folder in my 
/home/yadgar directory and, thus, povray.conf did not exist anymore!), 
so I purged povray and re-installed it - but it still doesn't work!

I run Debian Stable 8.3 on an amd64.

See you in Khyberspace!

Yadgar


Post a reply to this message

From: clipka
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 21 Sep 2016 17:08:28
Message: <57e2f6cc$1@news.povray.org>
Am 21.09.2016 um 20:22 schrieb Jörg "Yadgar" Bleimann:
> Hi(gh)!
> 
> I tried to render a simple scene (no external files), but all I got is
> this:
> 
> povray +i20160826vorspann.pov +otest.png +fn +w640 +h480 +a.3 +k1 +p
> Failed to parse command-line option

Try `+a0.3` instead of `+a.3`.

I'm not sure if POV-Ray /should/ support dropping the leading zero in
command-line options (there's no clear statement about this in the
docs), but apparently it currently doesn't.

I'll have a look at POV-Ray's bowels to see if there are any hints about
the intended behaviour in this case.


Post a reply to this message

From: clipka
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 21 Sep 2016 17:31:55
Message: <57e2fc4b$1@news.povray.org>
Am 21.09.2016 um 23:08 schrieb clipka:

> Try `+a0.3` instead of `+a.3`.
> 
> I'm not sure if POV-Ray /should/ support dropping the leading zero in
> command-line options (there's no clear statement about this in the
> docs), but apparently it currently doesn't.
> 
> I'll have a look at POV-Ray's bowels to see if there are any hints about
> the intended behaviour in this case.

The source code didn't give me much of a hint -- but running POV-Ray
3.62 did: That version was fine with `+a.3`. So there's a bug that needs
fixing.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 22 Sep 2016 00:05:01
Message: <web.57e3579a676caaed6badac650@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 21.09.2016 um 23:08 schrieb clipka:
>
> > Try `+a0.3` instead of `+a.3`.
> >
> > I'm not sure if POV-Ray /should/ support dropping the leading zero in
> > command-line options (there's no clear statement about this in the
> > docs), but apparently it currently doesn't.
> >
> > I'll have a look at POV-Ray's bowels to see if there are any hints about
> > the intended behaviour in this case.
>
> The source code didn't give me much of a hint -- but running POV-Ray
> 3.62 did: That version was fine with `+a.3`. So there's a bug that needs
> fixing.

Wait: 3.6 and before had problems with that syntax because it can lead to cases
that cannot properly be decided when parsing the command line. You will have to
go back like 15 years to find the post about it ... and I am sorry, I do not
have that post at hand any more :-(

Thorsten


Post a reply to this message

From: clipka
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 22 Sep 2016 11:00:50
Message: <57e3f222$1@news.povray.org>
Am 22.09.2016 um 06:01 schrieb Thorsten Froehlich:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 21.09.2016 um 23:08 schrieb clipka:
>>
>>> Try `+a0.3` instead of `+a.3`.
>>>
>>> I'm not sure if POV-Ray /should/ support dropping the leading zero in
>>> command-line options (there's no clear statement about this in the
>>> docs), but apparently it currently doesn't.
>>>
>>> I'll have a look at POV-Ray's bowels to see if there are any hints about
>>> the intended behaviour in this case.
>>
>> The source code didn't give me much of a hint -- but running POV-Ray
>> 3.62 did: That version was fine with `+a.3`. So there's a bug that needs
>> fixing.
> 
> Wait: 3.6 and before had problems with that syntax because it can lead to cases
> that cannot properly be decided when parsing the command line. You will have to
> go back like 15 years to find the post about it ... and I am sorry, I do not
> have that post at hand any more :-(

Let me guess: You don't remember yourself what the problem was about,
and nobody deemed it worth documenting somewhere within the code, or any
other place easily accessible, right?

Fine then. If anybody ever stumbes across the problem again, I'll worry
about it.

From the fact that various other switches have been perfectly fine with
this notation all the time (`+j`, `+ec`, `+er`, `kf`, `+ki`, `+k`, `+sc`
and `+sr`, to name only those already present in 3.62, and to not
mention the `+mv` switch that wouldn't make much sense), my current
presumption is that it was just a historic artifact, that may have led
to conflicts due to the way command line switches had been processed
internally, and that there are no fundamental ambiguities that cannot be
overcome by a smarter implementation.


As a side note, it turns out that POV-Ray 3.62 for Windows didn't
support `+a.3` either; it just simply did not report any error if it
came across an unrecognized command line option.

But since POV-Ray supports dropping leading zeros in the SDL, and also
in many switches, I think it doesn't make sense to /specifically/ deny
this functionality in the `+a` switch.

(It also doesn't make sense to deny it in the `+ef` and `+sf` switches,
but that needs to be addressed separately as the internal handling is a
bit more complicated in these special cases.)


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 22 Sep 2016 14:25:01
Message: <web.57e42150676caaed5c4bd9fd0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Let me guess: You don't remember yourself what the problem was about,
> and nobody deemed it worth documenting somewhere within the code, or any
> other place easily accessible, right?

I recall coming up with a quick fix for this, but that is about it, indeed :-(

Documentation is highly overrated ;-)


Post a reply to this message

From: clipka
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 22 Sep 2016 15:36:42
Message: <57e432ca$1@news.povray.org>
Am 22.09.2016 um 20:22 schrieb Thorsten Froehlich:
> clipka <ano### [at] anonymousorg> wrote:
>> Let me guess: You don't remember yourself what the problem was about,
>> and nobody deemed it worth documenting somewhere within the code, or any
>> other place easily accessible, right?
> 
> I recall coming up with a quick fix for this, but that is about it, indeed :-(
> 
> Documentation is highly overrated ;-)

Could it have been that some portion of the code erroneously identified
`+am` as `+a` with a (nonsensical) parameter value `m`, and that the
quick fix was to internally change `+a` (in its incarnation with
parameter) to `+a0`?


Post a reply to this message

From: Stephen
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 22 Sep 2016 15:43:03
Message: <57e43447$1@news.povray.org>
On 9/22/2016 7:22 PM, Thorsten Froehlich wrote:
> Documentation is highly overrated;-)


The sign of a true programmer. :-P

-- 

Regards
     Stephen


Post a reply to this message

From: Jim Holsenback
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 23 Sep 2016 06:25:47
Message: <57e5032b$1@news.povray.org>
On 9/22/2016 2:22 PM, Thorsten Froehlich wrote:
> Documentation is highly overrated ;-)

well isn't that just special! was i just thrown under the bus? gets up 
and dusts off tire marks ... feeling a bit like rodney dangerfield


Post a reply to this message

From: clipka
Subject: Re: POV-Ray 3.7 doesn't render anymore
Date: 23 Sep 2016 11:10:09
Message: <57e545d1$1@news.povray.org>
Am 23.09.2016 um 12:25 schrieb Jim Holsenback:
> On 9/22/2016 2:22 PM, Thorsten Froehlich wrote:
>> Documentation is highly overrated ;-)
> 
> well isn't that just special! was i just thrown under the bus? gets up
> and dusts off tire marks ... feeling a bit like rodney dangerfield

We're talking about code documentation here. Writing down why stuff was
implemented the way it is implemented, clarifying why the code actually
works even though it looks crooked - that sort of thing.

I don't think you want to hop onto /that/ bus ;)

http://l7.alamy.com/zooms/50d362a49add41a6a5f5ead67fc38777/old-overloaded-public-transport-with-goods-on-the-roof-of-the-bus-f0n46n.jpg


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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