POV-Ray : Newsgroups : povray.general : povray: architecture.. (columns) : Re: povray: architecture.. (columns) Server Time
29 Jul 2024 12:23:01 EDT (-0400)
  Re: povray: architecture.. (columns)  
From: Ken
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

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