POV-Ray : Newsgroups : povray.windows : About Fry an Egg (actually general upgrade to POV files question.) Server Time
22 Dec 2024 17:47:11 EST (-0500)
  About Fry an Egg (actually general upgrade to POV files question.) (Message 1 to 4 of 4)  
From: Fred Smith
Subject: About Fry an Egg (actually general upgrade to POV files question.)
Date: 2 Sep 2005 07:00:01
Message: <web.43183073dbae7a6c2e773a5c0@news.povray.org>
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?


Post a reply to this message

From: nomail
Subject: Re: About Fry an Egg (actually general upgrade to POV files question.)
Date: 2 Sep 2005 08:45:00
Message: <web.4318484b97eb97b5261430450@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?

POV files are nothing more than text files. You do *not* need to convert
anything! From the little information you give it looks like you just have
a broken file that has newlines where it should not and thus is *not* a
valid POV file that *any* version of POV-Ray could read. You should be
looking for a copy of the file that is not broken, or repair the file you
have by removing the newlines in the places where they do not belong.


Post a reply to this message

From: PM 2Ring
Subject: Re: About Fry an Egg (actually general upgrade to POV files question.)
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

From: PM 2Ring
Subject: Re: About Fry an Egg (actually general upgrade to POV files question.)
Date: 2 Sep 2005 12:40:00
Message: <web.4318803e97eb97b5bc2b06b10@news.povray.org>
Fred,

The online documentation for the #version directive is at

http://www.povray.org/documentation/view/3.6.1/240/

PS. This area is for messages that are Windows-specific. General questions
like yours are better suited to the 'general' or 'new-user' areas, where
you'll get more responses.

PPS. Welcome to the forum!


Post a reply to this message

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