POV-Ray : Newsgroups : povray.general : 3.1 to 3.6 converter? Server Time
3 Nov 2024 11:50:23 EST (-0500)
  3.1 to 3.6 converter? (Message 1 to 5 of 5)  
From: Samuel Benge
Subject: 3.1 to 3.6 converter?
Date: 2 Jul 2007 17:50:18
Message: <4689731a@news.povray.org>
Hi everyone,

Does anyone know if there is a program to convert older POV-Ray files to 
the 3.6 syntax? I'm starting to use the LGEO Lego piece library for POV, 
but all the include files are for version 3.1. This means I have to 
manually edit all single-line variable declarations, which can become 
tedious if my scene uses more than just a few different pieces. The 
upside to this is that I'll eventually have all the include files 
converted the slow way.

Thanks in advance!

~Sam


Post a reply to this message

From: Tim Attwood
Subject: Re: 3.1 to 3.6 converter?
Date: 2 Jul 2007 22:02:05
Message: <4689ae1d$1@news.povray.org>
> Does anyone know if there is a program to convert older POV-Ray files to 
> the 3.6 syntax? I'm starting to use the LGEO Lego piece library for POV, 
> but all the include files are for version 3.1. This means I have to 
> manually edit all single-line variable declarations, which can become 
> tedious if my scene uses more than just a few different pieces. The upside 
> to this is that I'll eventually have all the include files converted the 
> slow way.
>
> Thanks in advance!

I think if you put a #version 3.1; at the beginning that POV'll be
backwards compatible for most but not all features.


Post a reply to this message

From: Samuel Benge
Subject: Re: 3.1 to 3.6 converter?
Date: 2 Jul 2007 22:08:03
Message: <4689af83@news.povray.org>
Tim Attwood wrote:

> I think if you put a #version 3.1; at the beginning that POV'll be
> backwards compatible for most but not all features. 

I knew that previously, but your answer made me wonder if 3.1 supported 
fresnel reflection or not. It would appear that it does! Thanks!

~Sam


Post a reply to this message

From: Warp
Subject: Re: 3.1 to 3.6 converter?
Date: 3 Jul 2007 04:57:01
Message: <468a0f5b@news.povray.org>
Samuel Benge <stb### [at] thishotmailcom> wrote:
> I knew that previously, but your answer made me wonder if 3.1 supported 
> fresnel reflection or not. It would appear that it does! Thanks!

  No, POV-Ray 3.1 doesn't support fresnel reflection. However, POV-Ray 3.6
will support it even if you specify "#version 3.1".

-- 
                                                          - Warp


Post a reply to this message

From: Samuel Benge
Subject: Re: 3.1 to 3.6 converter?
Date: 3 Jul 2007 11:40:20
Message: <468a6de4$1@news.povray.org>
Warp wrote:
> Samuel Benge <stb### [at] thishotmailcom> wrote:
>> I knew that previously, but your answer made me wonder if 3.1 supported 
>> fresnel reflection or not. It would appear that it does! Thanks!
> 
>   No, POV-Ray 3.1 doesn't support fresnel reflection. However, POV-Ray 3.6
> will support it even if you specify "#version 3.1".

Thanks, Warp. I don't know why it works that way, but thanks.

I knew my memory wasn't that bad.... I started using POV at 3.1, now 
that I think of it.

~Sam


Post a reply to this message

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