POV-Ray : Newsgroups : povray.bugreports : parametric goes wrong : parametric goes wrong Server Time
19 Apr 2024 05:30:01 EDT (-0400)
  parametric goes wrong  
From: MidiPlay
Date: 17 Jul 2015 06:20:00
Message: <web.55a8d672c13c7a748db64fec0@news.povray.org>
I'm using "parametric" to generate the surface of a cylinder, and it's being
displayed with bits missing.
----
#include "colors.inc"
background { rgb 0.05 }
light_source { <0,+10000,0> rgb 1 }

parametric
{
    function { 10 * (       0.5 * sin(v)) }
    function { 10 * ( 1   + 0.5 * cos(v)) }
    function { u }
    < -9, -pi/2 >, < 0, +pi/2 >
    contained_by { sphere { 0, 20 } }
    texture { pigment { rgbft < 0.5,  0,  0,  0.5, 0 > } }
    interior_texture { pigment { rgbft < 0, 0.5, 0, 0.5, 0 > } }
}
camera
{
    orthographic
    location < -5555, 5555, -7777 >
    angle 0.25
    look_at 0
}
----
If I move the camera higher to location < -5555, 15555, -7777 > then it's
displayed correctly.  What's going on?


Post a reply to this message

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