POV-Ray : Newsgroups : povray.bugreports : CLipka: Possible BUG Found!!! :-) : CLipka: Possible BUG Found!!! :-) Server Time
16 Apr 2024 15:18:59 EDT (-0400)
  CLipka: Possible BUG Found!!! :-)  
From: Sven Littkowski
Date: 12 Feb 2016 04:36:27
Message: <56bda79b$1@news.povray.org>
Yip,

and once again I gladly report a possible BUG! At least, it seems to be
a bug, let's see.

The following code causes no problem:

object
{
 HF_Cylinder( Fn_1, // Function,
                 0, // UseUVheight:  0 or 1
                 1, // UseUVtexture: 0 or 1
           <50,50>, // Resolution,
                 1, // Smooth: 0 or 1
                "", // FileName, ""=no file,
           <0,0,0>, // EndA,
         <0,1.5,0>, // EndB
              1.60 ,// Radius
               0.05  // Depth
             ) //-------------------------
 scale < 0.58, 0.67, 0.58 >
 rotate < 90.0, 0.0, 0.0 >
 scale < 1500.0, 1500.0, 2500.0 >
}

But using now a heightfield, I get an error message.

object
{
 HF_Cylinder( Fn_1, // Function,
                 0, // UseUVheight:  0 or 1
                 1, // UseUVtexture: 0 or 1
           <50,50>, // Resolution,
                 1, // Smooth: 0 or 1
 "Colony Ship I - Heightfield Landscape.png", // FileName, ""=no file,
           <0,0,0>, // EndA,
         <0,1.5,0>, // EndB
              1.60 ,// Radius
               0.05  // Depth
             ) //-------------------------
 scale < 0.58, 0.67, 0.58 >  // error here when using a heightfield
 rotate < 90.0, 0.0, 0.0 >
 scale < 1500.0, 1500.0, 2500.0 >
}

The error message is:
"Parse Error: Expected 'object', scale found instead"

PITA nomination?   :-)


Post a reply to this message

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