POV-Ray : Newsgroups : povray.newusers : parse error: degenerate cone/cylinder : Re: parse error: degenerate cone/cylinder Server Time
4 Jul 2024 13:39:59 EDT (-0400)
  Re: parse error: degenerate cone/cylinder  
From: Reactor
Date: 9 Sep 2010 16:40:00
Message: <web.4c8945ce47710ab76a99b6f80@news.povray.org>
"Marco" <rpo### [at] gmailcom> wrote:
> Hi, I'm really stumped about this error
>
>     cone
>     {
>         <0,1,0>, 4, <0,1,0>, 0
>         //Texture {Polished_Chrome}
>     }
>
> the yellow line highlights the closing accolade, after //ing the texture line
> (the error first appeared on that line)
>
>     I've swapped the radii of the 2 caps (swapped the 4 and 0), to no avail.
>
>     (Using povray 3.6 for Windows)


Povray is likewise stumped.  The base and the apex are the same point, which
raises some interesting questions:  In what direction is your cone pointing?  Is
it a cone if it has a height of zero?  Povray doesn't know, so it is asking you.

If you did want something like a cone with zero length, then you could use the
disc object.

    HTH
  -Reactor


Post a reply to this message

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