POV-Ray : Newsgroups : povray.general : povray: architecture.. (columns) Server Time
29 Jul 2024 16:27:03 EDT (-0400)
  povray: architecture.. (columns) (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Danny Stern
Subject: Re: povray: architecture.. (columns)
Date: 19 Dec 1999 21:05:33
Message: <385d8eed@news.povray.org>
There is in fact a matching bracked (thanks for the help):
light_source {
  0*x // light's position (translated below)
  color red 1.0  green 1.0  blue 1.0  // light's color
  translate <158 , 76 , 0>
  atmosphere off
}

But the render returns:
No matching } in light_source, undeclared identifier "atmosphere" found
instead.

Any other ideas?


Thanks!

Margus Ramst <mar### [at] peakeduee> wrote in message
news:385D2786.E589CC34@peak.edu.ee...
> You have a closing brace missing somewhere.
> I assume you are using the Windows version of POV-Ray. Its editor has a
function
> to match opening and closing braces - () [] {}. This is a real lifesaver
> sometimes. By default the function is activated by pressing Ctrl+] while
the
> cursor is at a brace.
> Check out Editor -> Codemax Properties -> Keyboard tab. All editor
functions are
> listed there, along with descriptions and shortcuts (which can be
changed). For
> example the function to match braces is listed as 'GoToMatchBrace'
>
> Margus
>
> Danny Stern wrote:
> >
> > I'm relatively new with Povray, and I haven't had any problems with
simple
> > objects and scenes.  I downloaded an include file for columns, as I
wanted
> > to try and make a building.  However, I get an error with
texture{T_Render}.
> > Pov-Ray returns "Error: No matching } in texture"
> >
> > I just want to make a couple columns!  Please help..thanks a lot!
> >
> > Dan


Post a reply to this message

From: Chris Huff
Subject: Re: povray: architecture.. (columns)
Date: 19 Dec 1999 21:13:10
Message: <chrishuff_99-248B83.21134919121999@news.povray.org>
In article <385d8eed@news.povray.org>, "Danny Stern" 
<NOS### [at] sternwebnet> wrote:

> There is in fact a matching bracked (thanks for the help):
> light_source {
>   0*x // light's position (translated below)
>   color red 1.0  green 1.0  blue 1.0  // light's color
>   translate <158 , 76 , 0>
>   atmosphere off
> }
> 
> But the render returns:
> No matching } in light_source, undeclared identifier "atmosphere" found
> instead.

Atmosphere and halo were discontinued in POV-Ray 3.1, and replaced with 
media. Use "media_interaction off" to do the same thing.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Danny Stern
Subject: Re: povray: architecture.. (columns)
Date: 21 Dec 1999 22:05:49
Message: <3860400d@news.povray.org>
> Atmosphere and halo were discontinued in POV-Ray 3.1, and replaced with
> media. Use "media_interaction off" to do the same thing.

Thanks Chris!  Now one more problem..
The following line:
box {<-5,0,-5><5,1.25,5> texture{T_Render}}
Returns an error "No matching } in texture, unexpected identifier 'T_Render'
found instead."

Thanks in advance..
Danny


Post a reply to this message

From: Randy Hawley
Subject: Re: povray: architecture.. (columns)
Date: 21 Dec 1999 22:54:13
Message: <38604BBF.A20D092D@iquest.net>
Danny,

Note that the error says "unexpected identifier 'T_Render' found
instead".

This indicates that the parser does not recognize the indentifier,
and the parse bombs out.

Make sure that the texture identifier has been defined prior to
where it is used in the scene file.  Or substitute a texture
that has already been defined, or just make up one in that
location.

Randy Hawley

***********************************************************************
   Randy      | All opinions expressed|           John 3:16
  Hawley      |       are mine        |I'm not perfect, just Forgiven !
***********************************************************************
                  E-Mail: rha### [at] iquestnet
                http://www.iquest.net/~rhawley/
                      COGITO ERGO CONFUNDO

Danny Stern wrote:

> > Atmosphere and halo were discontinued in POV-Ray 3.1, and replaced with
> > media. Use "media_interaction off" to do the same thing.
>
> Thanks Chris!  Now one more problem..
> The following line:
> box {<-5,0,-5><5,1.25,5> texture{T_Render}}
> Returns an error "No matching } in texture, unexpected identifier 'T_Render'
> found instead."
>
> Thanks in advance..
> Danny


Post a reply to this message

From: Steve Martin
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 06:50:20
Message: <3860BAB8.5073817E@usit.net>
> The following line:
> box {<-5,0,-5><5,1.25,5> texture{T_Render}}
> Returns an error "No matching } in texture, unexpected identifier 'T_Render'
> found instead."

Looks like you're trying to use a texture that has not been defined.
If it is defined in another file, be sure that file is #include'd
in your source file.

I also note that you seem to have a missing comma between the
two corner coordinates. Don't know if that might be confusing
the parser...


Post a reply to this message

From: Chris Huff
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 06:54:11
Message: <chrishuff_99-0E4021.06545322121999@news.povray.org>
In article <3860400d@news.povray.org>, "Danny Stern" 
<NOS### [at] sternwebnet> wrote:

> Thanks Chris!  Now one more problem..
> The following line:
> box {<-5,0,-5><5,1.25,5> texture{T_Render}}
> Returns an error "No matching } in texture, unexpected identifier 
> 'T_Render' found instead."

Well, first, put a comma between the two vectors for the box. This 
probably isn't the problem, but it is a good idea to do this. Second, 
are you sure T_Render is a #declared texture somewhere before this line?

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: omniVERSE
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 07:03:39
Message: <3860be1b@news.povray.org>
Be sure you have the T_Render texture somewhere in the scene file or include
file, if it's in a *.inc file then be sure a Library_Path= has been pointed
to that location of the include file.
I don't know the set of files you have but you might look into it having
other version changed syntax as well, like the need to have 'interior {}'
now to put the refraction 'ior' into instead of 'finish'.
The missing comma separator between the vectors don't cause a problem
really.

Bob

"Danny Stern" <NOS### [at] sternwebnet> wrote in message
news:3860400d@news.povray.org...
> > Atmosphere and halo were discontinued in POV-Ray 3.1, and replaced with
> > media. Use "media_interaction off" to do the same thing.
>
> Thanks Chris!  Now one more problem..
> The following line:
> box {<-5,0,-5><5,1.25,5> texture{T_Render}}
> Returns an error "No matching } in texture, unexpected identifier
'T_Render'
> found instead."
>
> Thanks in advance..
> Danny
>
>


Post a reply to this message

From: Nieminen Juha
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 07:37:23
Message: <3860c603@news.povray.org>
In povray.programming Chris Huff <chr### [at] yahoocom> wrote:
: Well, first, put a comma between the two vectors for the box. This 
: probably isn't the problem, but it is a good idea to do this.

  Why?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Chris Huff
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 07:45:34
Message: <chrishuff_99-83A92B.07461622121999@news.povray.org>
In article <3860c603@news.povray.org>, Nieminen Juha 
<war### [at] punarastascstutfi> wrote:

> In povray.programming Chris Huff <chr### [at] yahoocom> wrote:
> : Well, first, put a comma between the two vectors for the box. This 
> : probably isn't the problem, but it is a good idea to do this.
> 
>   Why?

Well, first, it makes it a little easier to read. And sometime in the 
future, the language might require it. It is just a good habit to get 
into.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: mr art
Subject: Re: povray: architecture.. (columns)
Date: 22 Dec 1999 07:54:38
Message: <3860C9F3.89DF58B6@gci.net>
It is the difference between "official" syntax and "allowed" syntax.
And, you may never know when the "official becomes the "enforced".

Nieminen Juha wrote:
> 
> In povray.programming Chris Huff <chr### [at] yahoocom> wrote:
> : Well, first, put a comma between the two vectors for the box. This
> : probably isn't the problem, but it is a good idea to do this.
> 
>   Why?
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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