POV-Ray : Newsgroups : povray.windows : About Fry an Egg (actually general upgrade to POV files question.) : Re: About Fry an Egg (actually general upgrade to POV files question.) Server Time
1 Jun 2024 08:18:35 EDT (-0400)
  Re: About Fry an Egg (actually general upgrade to POV files question.)  
From: PM 2Ring
Date: 2 Sep 2005 12:30:01
Message: <web.43187ddb97eb97b5bc2b06b10@news.povray.org>
"Fred Smith" <paj### [at] verizonnet> wrote:
> I was trying to render this and the coder uses a #declare #while structure
> which 3.6 doesn't like.
> Also I have found lots of POV files which have brackets { and } with several
> lines in between and POV 3.6
> says that there is no closing bracket. } Is there a utility or FAQ for
> newbies how to convert a POV 3.1 or earlier
> file so it will render correctly in 3.6?

Unfortunately, I couldn't open the archive you posted, so I'll just have to
guess what the problem is.

Make sure the old files have a proper version line at the top, eg

#version 3.0

or, even better

#version 3.1;

POV versions 3.5 and above need a semicolon (;) at the end of #declare and
#local statements for floats and vectors (this semicolon was optional in
3.1, IIRC). POV can (currently) cope with the older syntax if the proper
#version statement is used. However, it's a good idea to update older scene
& include files with the new syntax, especially if you plan to use them
again in the future.

See 3.2.2.5  The #version Directive in the POV 3.6 docs.

I hope this helps.


Post a reply to this message

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