POV-Ray : Newsgroups : povray.newusers : compatability? Server Time
29 Nov 2024 04:43:51 EST (-0500)
  compatability? (Message 1 to 2 of 2)  
From: Mighty Fingers
Subject: compatability?
Date: 13 Mar 1999 09:50:25
Message: <36ea7b31.0@news.povray.org>
I used to use povray on an amiga but now i have a pc and i have
povraywindows, will i be able to use scene files that i had used/created
before with my pc version without doing anything as i am not sure about how
all the include etc structure works on this new version as i haven't had it
2 minutes. is it similar? will i need to copy my old includes (standard
files) to use those scenes?
--
MiGHTY FiNGERS
icq #30079601


Post a reply to this message

From: Ken
Subject: Re: compatability?
Date: 13 Mar 1999 10:31:03
Message: <36EA83D9.6630672B@pacbell.net>
Mighty Fingers wrote:
> 
> I used to use povray on an amiga but now i have a pc and i have
> povraywindows, will i be able to use scene files that i had used/created
> before with my pc version without doing anything as i am not sure about how
> all the include etc structure works on this new version as i haven't had it
> 2 minutes. is it similar? will i need to copy my old includes (standard
> files) to use those scenes?
> --
> MiGHTY FiNGERS
> icq #30079601


  In most cases you won't have a problem between versions. There are some
things that have changed but I would need to know what version you were
using previously before I can hint at which ones. If you do run into
problems with the Pov giving you an error message and not rendering the
scene more often than not you can use the version directive to get around
it.

For example if you had Pov v2.2 and you want to use a now unsupported or
syntax changed scene you can add the following to your scene or include
file:

#version 2.2

or for Pov v1.0 scenes

#verison 1.0

  If you are mixing new with old it is important to remember to reset
the version switch or you could end up with warnings that your new
version object is wrong. For example you have a box with media inside
it. That is a Pov v3.1 only feature but you also have an old Pov v1.0
file that has no commas in the vectors, uses the alpha keyword instead
of filter, ect., you could add get around it like this:


object { Box_Media stuff }

#version 1.0
object { Old_Pov stuff }

#version 3.1
object { Box_Media stuff }


  If you don't reset the version flag after you are through with the
v1.0 object when Pov gets to the second media containing box it will
stop and say object or directive expected but media found instead.
By resetting the version flag you are telling Pov it is a v3.1 operation
and to process it accordingly. I used 12 different version switches
once when I combined a bunch of scenes from different files in one
new one. It worked with no problems at all.

  If you do run into a snag it usually is something that can be cured
by reading the docs and making simple syntax changes to the file.
Nothing has really changed much in the geometry section of the program
in quite a while except maybe for the lathe type objects and macros
We can't forget to mention the macros.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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