POV-Ray : Newsgroups : povray.advanced-users : Parse error : Re: Parse error Server Time
7 May 2024 07:08:31 EDT (-0400)
  Re: Parse error  
From: omniverse
Date: 31 Mar 2017 14:20:00
Message: <web.58de9d6c236905a39c5d6c810@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> I'm rendering a very old file in the latest beta and am getting this error:
>
> "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? It's
> an Object Collection model created by someone else, and I don't know how
> it should be fixed.

Renders OK in the actual version 3.6.2 (froze 3.5) but what's going wrong with
it is the negative values for x, and of course I don't know why that changed for
3.7 unless it was to remove such ambiguous values for a spline type that wasn't
meant to handle negatives in the first place.

Obviously the lathe "walls" can't go into negatives anyhow, but spline types
other than linear could use that as a control point and should be okay that way.
Just checked, is okay using cubic_spline.

What would be a good fix for that is to manually change all negative x values to
0 where linear_spline exists, however would probably be better if those could
get parsed as zero instead of negative whenever linear_spline is used.
And/or ignore it if invoking a #version 3.6;


Post a reply to this message

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