POV-Ray : Newsgroups : povray.unix : question about different versions Server Time
31 Oct 2024 21:22:58 EDT (-0400)
  question about different versions (Message 1 to 4 of 4)  
From: Preacher
Subject: question about different versions
Date: 20 Jun 1999 16:43:36
Message: <376D52A1.621231AE@hotmail.com>
Hi.  I have a POV-Ray book("Ray Tracing Creations") by the Waite group.
It is fairly old now but I was wondering  if I can still use it as a
guideline for POV-Ray 3.1g.  I   just discovered to my delight that
POV-Ray is available for Linux.  I typed in the first example from my
book and tried to render it, and I get the error:
"Bad option syntax or error opening ..INI/.DEF file 'camera{'.   "
  I installed the pre-compiled version in the default directories,
/usr/local/lib/povray31.  By the way I am running RedHat 5.1 kernel
2.2.5
  The first.pov listing looks like this:
    camera {
        location<>
        look_at<>
     }
    object{}
  object{}
object{}
  I left it blank for brevity's sake but you get the idea.  Am I
seriously out of touch here? Any help would be greatly appreciated.  I
also dlded the source and I am going to try compiling it myself to see
if that makes any difference.


Post a reply to this message

From: Roland Mas
Subject: Re: question about different versions
Date: 20 Jun 1999 16:51:16
Message: <m3n1xulhoa.fsf@casimir.rezel.enst.fr>
Preacher <nig### [at] hotmailcom> writes:

> [...] I typed in the first example from my
> book and tried to render it, and I get the error:
> "Bad option syntax or error opening ..INI/.DEF file 'camera{'.   "

I bet you types the command-line "povray first.pov" or something like
that.  Well, don't.  You have to type "povray -i first.pov", so that
POV-Ray knows first.pov is a POV scene file and not a parameters file.
I suggest you have a look at "man povray", to know the basic switches
to use when you invoke POV.

Roland.
-- 
Roland Mas



Post a reply to this message

From: Preacher
Subject: Re: question about different versions
Date: 20 Jun 1999 18:27:27
Message: <376D6AF8.FAB27E3A@hotmail.com>
Roland Mas wrote:

> Preacher <nig### [at] hotmailcom> writes:
>
> > [...] I typed in the first example from my
> > book and tried to render it, and I get the error:
> > "Bad option syntax or error opening ..INI/.DEF file 'camera{'.   "
>
> I bet you types the command-line "povray first.pov" or something like
> that.  Well, don't.  You have to type "povray -i first.pov", so that
> POV-Ray knows first.pov is a POV scene file and not a parameters file.
> I suggest you have a look at "man povray", to know the basic switches
> to use when you invoke POV.
>
> Roland.
> --
> Roland Mas
>


Thanks for the advice.  My bad, I didn't read the man page...  I read
everything but.   thanks again.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: question about different versions
Date: 21 Jun 1999 10:26:52
Message: <376e4bac@news.povray.org>
In article <m3n### [at] casimirrezelenstfr> , rol### [at] emailenstfr
(Roland Mas) wrote:

> I bet you types the command-line "povray first.pov" or something like
> that.  Well, don't.  You have to type "povray -i first.pov", so that
> POV-Ray knows first.pov is a POV scene file and not a parameters file.
> I suggest you have a look at "man povray", to know the basic switches
> to use when you invoke POV.

"povray -i first.pov" works, but is not documented. For future compatibility
you may want to get used to (the documented) "povray -ifirst.pov".


    Thorsten


Post a reply to this message

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