POV-Ray : Newsgroups : povray.bugreports : incorrect error message thrown: no matching } in 'texture' Server Time
21 Nov 2024 13:28:18 EST (-0500)
  incorrect error message thrown: no matching } in 'texture' (Message 1 to 5 of 5)  
From: jmichae3
Subject: incorrect error message thrown: no matching } in 'texture'
Date: 28 Dec 2014 20:05:00
Message: <web.54a0a78cbd8ce8ad8694a3930@news.povray.org>
I am getting a bogus error message. syntax seems to look clean. error is on the
first texture statement.



Preset INI file is 'D:\WWW\JESUSNJIM\RAYTRACE\JOHN3_16-17.INI'.
Preset source file is 'D:\www\Jesusnjim\raytrace\JesusLovesYou2_.ini'.
Rendering with 12 threads.
-
Parser Options
  Input file: JesusLovesYou2_.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    C:\Users\Jim-Michaels\Documents\POV-Ray\v3.7\include
    C:\Windows\Fonts
Animation Options
  Initial Frame:        1  Final Frame:       20
  Frame Step:           1
  Initial Clock:    4.500  Final Clock:  -11.000
  Cyclic Animation.....Off  Field render.........Off  Odd lines/frames.....Off
Image Output Options
  Image resolution.....720 by 405 (rows 1 to 405, columns 1 to 720).
  Output file..........JesusLovesYou2_01.png, 24 bpp PNG
  Dithering............Off
  Graphic display......On  (gamma: 2.2)
  Mosaic preview.......Off
  Continued trace......Off
Information Output Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On
-
"JesusLovesYou2_.pov" line 143: Parse Error: No matching } in 'texture',
undeclared identifier 'T_WOOD13' found instead

Render failed
-
CPU time used: kernel 0.06 seconds, user 0.02 seconds, total 0.08 seconds.
Elapsed time 0.39 seconds.
----------------------------------------------------------------------------


#declare BEAM_THICKNESS=0.8*2;
#declare BEAM_HEIGHT=+.4--.7;
#declare BEAM_WIDTH=BEAM_HEIGHT*.5;
#declare BEAM_BOTTOM=-.7;
#declare BEAM_LEFT=-.5;
#declare BEAM_Z=-.3;
#declare CROSSBEAM_BOTTOM=BEAM_HEIGHT*.7;
object { //cross

        difference {
            box {
                <0-.5, 0-.5, -.5>,
                <0+.5, 0+.5, +.5>
                texture {
                    T_WOOD13
                    scale 4
                }
            } //title. should I put this in?
            scale <.15*2, .08*2, .01*2>
            translate <0, -.3, 0>

            union {
                ttf "BRUSHSCI.ttf" "JESUS OF NAZARETH" 1, 0
                texture {
                    T_WOOD13
                    scale 4
                }
                scale <.15*2, .08*.7, (+.01--.01)/2> //1/2 of the thickness of
the sign
                translate <0, +.37, +.08+.08+(+.01--.01)/2>


                ttf "BRUSHSCI.ttf" "THE KING OF THE JEWS" 1, 0
                texture {
                    T_WOOD13
                    scale 4
                }
                scale <.15*2, .08*.7, (+.01--.01)/2> //1/2 of the thickness of
the sign
                translate <0, +.35, +.08+.08+(+.01--.01)/2>
            }
        }


        box {//vertical beam
            <0-.5, 0-.5, 0-.5>,
            <0+.5, 0+.5, 0+.5>
            texture {T_WOOD13}
        }
        scale <BEAM_THICKNESS, BEAM_HEIGHT, BEAM_THICKNESS>
        translate <0, BEAM_BOTTOM, BEAM_Z+0>

        box {//horizontal beam
            <0-.3, 0-.08, 0-.08>,
            <0+.3, 0+.08, 0+.08>
            texture {T_WOOD13}
        }
        scale <BEAM_WIDTH, BEAM_THICKNESS, BEAM_THICKNESS>
        translate <0, BEAM_BOTTOM+CROSSBEAM_BOTTOM, BEAM_Z-BEAM_THICKNESS>

}


Post a reply to this message

From: jmichae3
Subject: Re: incorrect error message thrown: no matching } in 'texture'
Date: 28 Dec 2014 20:30:01
Message: <web.54a0ad72697e11fc8694a3930@news.povray.org>
"jmichae3" <jmi### [at] yahoocom> wrote:
> I am getting a bogus error message. syntax seems to look clean. error is on the
> first texture statement.
>
>
>
> Preset INI file is 'D:\WWW\JESUSNJIM\RAYTRACE\JOHN3_16-17.INI'.
> Preset source file is 'D:\www\Jesusnjim\raytrace\JesusLovesYou2_.ini'.
> Rendering with 12 threads.
> -
> Parser Options
>   Input file: JesusLovesYou2_.pov
>   Remove bounds........On
>   Split unions.........Off
>   Library paths:
>     C:\Users\Jim-Michaels\Documents\POV-Ray\v3.7\include
>     C:\Windows\Fonts
> Animation Options
>   Initial Frame:        1  Final Frame:       20
>   Frame Step:           1
>   Initial Clock:    4.500  Final Clock:  -11.000
>   Cyclic Animation.....Off  Field render.........Off  Odd lines/frames.....Off
> Image Output Options
>   Image resolution.....720 by 405 (rows 1 to 405, columns 1 to 720).
>   Output file..........JesusLovesYou2_01.png, 24 bpp PNG
>   Dithering............Off
>   Graphic display......On  (gamma: 2.2)
>   Mosaic preview.......Off
>   Continued trace......Off
> Information Output Options
>   All Streams to console..........On
>   Debug Stream to console.........On
>   Fatal Stream to console.........On
>   Render Stream to console........On
>   Statistics Stream to console....On
>   Warning Stream to console.......On
> -
> "JesusLovesYou2_.pov" line 143: Parse Error: No matching } in 'texture',
> undeclared identifier 'T_WOOD13' found instead
>
> Render failed
> -
> CPU time used: kernel 0.06 seconds, user 0.02 seconds, total 0.08 seconds.
> Elapsed time 0.39 seconds.
> ----------------------------------------------------------------------------
>
>
> #declare BEAM_THICKNESS=0.8*2;
> #declare BEAM_HEIGHT=+.4--.7;
> #declare BEAM_WIDTH=BEAM_HEIGHT*.5;
> #declare BEAM_BOTTOM=-.7;
> #declare BEAM_LEFT=-.5;
> #declare BEAM_Z=-.3;
> #declare CROSSBEAM_BOTTOM=BEAM_HEIGHT*.7;
> object { //cross
>
>         difference {
>             box {
>                 <0-.5, 0-.5, -.5>,
>                 <0+.5, 0+.5, +.5>
>                 texture {
>                     T_WOOD13
>                     scale 4
>                 }
>             } //title. should I put this in?
>             scale <.15*2, .08*2, .01*2>
>             translate <0, -.3, 0>
>
>             union {
>                 ttf "BRUSHSCI.ttf" "JESUS OF NAZARETH" 1, 0
>                 texture {
>                     T_WOOD13
>                     scale 4
>                 }
>                 scale <.15*2, .08*.7, (+.01--.01)/2> //1/2 of the thickness of
> the sign
>                 translate <0, +.37, +.08+.08+(+.01--.01)/2>
>
>
>                 ttf "BRUSHSCI.ttf" "THE KING OF THE JEWS" 1, 0
>                 texture {
>                     T_WOOD13
>                     scale 4
>                 }
>                 scale <.15*2, .08*.7, (+.01--.01)/2> //1/2 of the thickness of
> the sign
>                 translate <0, +.35, +.08+.08+(+.01--.01)/2>
>             }
>         }
>
>
>         box {//vertical beam
>             <0-.5, 0-.5, 0-.5>,
>             <0+.5, 0+.5, 0+.5>
>             texture {T_WOOD13}
>         }
>         scale <BEAM_THICKNESS, BEAM_HEIGHT, BEAM_THICKNESS>
>         translate <0, BEAM_BOTTOM, BEAM_Z+0>
>
>         box {//horizontal beam
>             <0-.3, 0-.08, 0-.08>,
>             <0+.3, 0+.08, 0+.08>
>             texture {T_WOOD13}
>         }
>         scale <BEAM_WIDTH, BEAM_THICKNESS, BEAM_THICKNESS>
>         translate <0, BEAM_BOTTOM+CROSSBEAM_BOTTOM, BEAM_Z-BEAM_THICKNESS>
>
> }

from the help manual on box keyword,

2.2.2.1 Box ObjectThe box is one of the most common objects used. We try this
example in place of the sphere:

  box {
    <-1, 0,   -1>,  // Near lower left corner
    < 1, 0.5,  3>   // Far upper right corner
    texture {
      T_Stone25     // Pre-defined from stones.inc
      scale 4       // Scale by the same amount in all
                    // directions
    }
    rotate y*20     // Equivalent to "rotate <0,20,0>"
  }


Post a reply to this message

From: FractRacer
Subject: Re: incorrect error message thrown: no matching } in 'texture'
Date: 29 Dec 2014 04:29:39
Message: <54a11f03$1@news.povray.org>

> I am getting a bogus error message. syntax seems to look clean. error is on the
> first texture statement.
>
>
Hello,
Have you include the needed files (textures.inc, wood.inc, ...)?
Since the identifier TWOOD13 is not declared.

-- 
Lionel
<b>Do not judge my words, judge my actions.</b>

---

http://www.avast.com


Post a reply to this message

From: jmichae3
Subject: Re: incorrect error message thrown: no matching } in 'texture'
Date: 31 Dec 2014 01:25:00
Message: <web.54a3961e697e11fc8694a3930@news.povray.org>
FractRacer <lg.### [at] gmailcom> wrote:

> > I am getting a bogus error message. syntax seems to look clean. error is on the
> > first texture statement.
> >
> >
> Hello,
> Have you include the needed files (textures.inc, wood.inc, ...)?
> Since the identifier TWOOD13 is not declared.
>
> --
> Lionel
> <b>Do not judge my words, judge my actions.</b>
>
> ---

 active.
> http://www.avast.com

yes. all included.
#version 3.7;
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
#include "woods.inc"
#include "golds.inc"
#declare R = clock;
#declare FR = frame_number;
#declare IFR = initial_frame;
#declare FFR = final_frame;
#declare LIGHT_BRIGHTNESS = 1;

global_settings {assumed_gamma 2.2}


Post a reply to this message

From: FractRacer
Subject: Re: incorrect error message thrown: no matching } in 'texture'
Date: 31 Dec 2014 14:04:32
Message: <54a448c0$1@news.povray.org>

> #version 3.7;
> #include "colors.inc"
> #include "textures.inc"
> #include "shapes.inc"
> #include "woods.inc"
> #include "golds.inc"
> #declare R = clock;
> #declare FR = frame_number;
> #declare IFR = initial_frame;
> #declare FFR = final_frame;
> #declare LIGHT_BRIGHTNESS = 1;
>
> global_settings {assumed_gamma 2.2}

Hi,
I have found, change T_WOOD13 in T_Wood13.

-- 
Lionel
<b>Do not judge my words, judge my actions.</b>

---

http://www.avast.com


Post a reply to this message

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