POV-Ray : Newsgroups : povray.general : povray: architecture.. (columns) Server Time
31 Oct 2024 23:30:29 EDT (-0400)
  povray: architecture.. (columns) (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: Danny Stern
Subject: povray: architecture.. (columns)
Date: 18 Dec 1999 11:04:18
Message: <385bb082@news.povray.org>
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: Lance Birch
Subject: Re: povray: architecture.. (columns)
Date: 18 Dec 1999 11:11:11
Message: <385bb21f@news.povray.org>
It means that somewhere in the texture block there is a missing }

If the texture is defined in another file it might be possible that in that
file the texture wasn't completed correctly.  (i.e. for every { there needs
to be a matching })

Check the line number that the error occurs on and see if you can find where
the missing } should go.  Hope this helps!

--
Lance.
The Zone - http://come.to/the.zone
Danny Stern <NOS### [at] sternwebnet> wrote in message
news:385bb082@news.povray.org...
> 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: Ken
Subject: Re: povray: architecture.. (columns)
Date: 18 Dec 1999 11:23:16
Message: <385BB334.269B78EB@pacbell.net>
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

Welcome to POV-Ray and the newsgroups,


 Since you are new here let me take the opportunity to greet you to our
groups and give a little advice on how to use them. We prefer that you
do not cross post in these groups. When you are a new user we prefer
that you ask your questions in the new users group on this server. As
you pick up speed with the program and get to know how we do things
around here you can move your questions to the appropriate groups.

Please take the time to read the "welcome to the news groups" message
I recently posted in povray.announce.frequently-asked-questions. It
will help you get oriented and help you to find resources related
to POV-Ray plus it details some of our posting guidelines here.


Now onto your question:

 When making textures in POV-Ray it is important to count you opening "{"
and closing "}" braces. It is sometimes easy to forget to include a closing
brace in the right place and you will get that error.

For example if you created a texture that looked like this it would
produce that error because you forgot to close the pigment statement:


#declare Red_Texture
texture
{
  pigment { color RED
    finish { ambient .3 diffuse .34 }
}

Notice how I forgot to close the pigment statement ? This will issue the
warning that you recieved. The following example however will not issue
a warning because it has each function properly closed with a closing
brace.

#declare Red_Texture
 texture
 {
   pigment { color RED }
     finish { ambient .3 diffuse .34 }
 }

That's about all there is to it. Just make sure that for every { there is
a }. If you put it in the wrong place the program will surely let you know
with another error message :)


-- 
Wishing you Seasons Greetings, A Merry Christmas, and A Happy New Year !
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Margus Ramst
Subject: Re: povray: architecture.. (columns)
Date: 19 Dec 1999 13:42:03
Message: <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: 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

Goto Latest 10 Messages Next 4 Messages >>>

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