POV-Ray : Newsgroups : povray.newusers : interesting degenerate cylinder / cone error : interesting degenerate cylinder / cone error Server Time
29 Apr 2024 22:16:20 EDT (-0400)
  interesting degenerate cylinder / cone error  
From: Bald Eagle
Date: 17 Aug 2014 16:15:00
Message: <web.53f10c1f99ec25e7df57c0@news.povray.org>
macro 'Distance_Marker' called with arguments: <4.0, 5.2, -2.0>, <4.0, 5.2,
-1034944979750668300.0>, 0.0313
Possible Parse Error: Degenerate cone/cylinder.
Fatal error in parser: Uncategorized error.
Render failed

This appears to be triggered by:

object {Distance_Marker(Middle12D, vtransform (Middle12D, transform {translate
-Normal12D*CS_Radius}), Line_radius) texture {SolidGreen}}

Referring to the arguments passed to the Distance_Marker macro, it doesn't
appear that a cylinder is degenerate (start and end points the same) but that
the capping cones at the cylinder endpoints are the problem.  I'm guessing that
the -1034944979750668300.0 number is about as big as it's allowed to get, and
then _starting_ a cone there and trying make it extend _beyond_ that doesn't
work - thereby throwing a "degenerate cone" error.

I've read some threads about wanting to ignore zero-thickness cylinders, and can
appreciate the orientation problem - but that can be overridden with an
orientation vector - just like the disc object uses - as a failsafe.  Yes?

I really didn't expect to run into "infinite" length cylinders leaving no room
to extend off of (if indeed that's what the problem really is).

Does anyone have any failsafe / error checking / sanity checks to code into the
works so that I can get this to render without hiccups?


Post a reply to this message

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