POV-Ray : Newsgroups : povray.beta-test : unclosed function image type : unclosed function image type Server Time
31 Jul 2024 04:20:56 EDT (-0400)
  unclosed function image type  
From: Jaime Vives Piqueres
Date: 10 Sep 2001 07:16:34
Message: <3b9ca112$1@news.povray.org>
Playing for first time with the new function image type, and being so bad
closing sentences, I tried to parse this code:

height_field{
    function 128,128{
        pigment{
            bozo
            color_map{
                [0.00 rgb 0]
                [1.00 rgb 1]
            }
        /* here is missing a closing bracket */
    }
    translate -.5
}

And got :

  Parse Error: No matching } in '{', translate found instead

When it should read:

  Parse Error: No matching } in 'function', translate found instead

...isn't?

 P.S.: Also, it sometimes hanged POV when the editor tried to highlight the
line containing the error (which was not highlighted when POV hanged).


Jaime Vives Piqueres

POV-Ray for Windows 3.5 beta 1
W98SE on AMD Athlon 1.2Ghz, 256MB SDRAM,  >50Db CPU fan.


Post a reply to this message

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