POV-Ray : Newsgroups : povray.general : Round_Cylinder not working on Linux, but does on Windows. : Re: Round_Cylinder not working on Linux, but does on Windows. Server Time
31 Jul 2024 22:14:41 EDT (-0400)
  Re: Round_Cylinder not working on Linux, but does on Windows.  
From: nemesis
Date: 14 Dec 2006 20:40:01
Message: <web.4581fc9ef0b8b2ed5bdafd0@news.povray.org>
truly strange.  I've experienced the same problem with almost the same scene
as he provided:

#include "shapes.inc"
object{
        Round_Cylinder(-x, x, .005, .005, 1)

        pigment{ rgb 1 }
        finish{ ambient 0 diffuse .7 specular .7 reflection .7}

        translate z*2
    }

light_source { 4-8*z 1 }


But solution is pretty simple.
Substitute this:
        Round_Cylinder(-x, x, .005, .005, 1)
For this:
        Round_Cylinder(-x, x, .0051, .005, 1)

or any minimally increased value for Radius in relation to EdgeRadius.

It's bizarre because, if the radii are the same, you get a warning for the
camera being inside a non-hollow object, even though you translate it far
away: I translated even as far as z*50!

I'm using Ubuntu Breezy Badger, which is fairly up-to-date as far as stdlibs
go.  Could be a problem with the GNU arithmetic libs?


Post a reply to this message

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