"omniverse" <omn### [at] charternet> wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
> >
> > "Parse Error: Lathe with linear spline has a point with an x value < 0.0."
> >
> > I tried setting the version to 3.6 for that file but I still get the
> > error. Is there a work around to get POV-Ray to ignore the problem?
Silly me. I misread that error before, even though I found it to be a problem
with negative x values anyway.
I was thinking that error was saying: x value <0.0. Like the 2D vector being
seen was bracket 0.0. with ending decimal point inclusive.
Now I've seen the parser code and that is simply the whole error line given when
encountering a negative x value. Or rather the error we see when <-x,y> is
present in the lathe vector list.
Sorry I didn't catch that until now.
I had decided to go looking at GitHub to see what might have changed, and voila!
https://github.com/POV-Ray/povray/pull/62
But curiously all spline types for lathe are told to report the error and yet
cubic_spline does not for whatever reason.
Also see the lathe specific code:
https://github.com/POV-Ray/povray/blob/71c1415e01d55eb253c5172089ca2d1875412953/source/parser/parser.cpp#L2912
Christoph Lipka? William Pokorny? Any chance of making this version 3.6.2
capable again? Or automatically replacing negative x values with a 0?
If at all feasible either way. What say you?
Post a reply to this message
|