POV-Ray : Newsgroups : povray.general : Object clipping issue : Re: Object clipping issue Server Time: 26 Jun 2019 10:25:06 GMT
  Re: Object clipping issue  
From: clipka
Date: 18 Feb 2019 20:44:32
Am 18.02.2019 um 13:53 schrieb Mike Horvath:
> I am having issues in the following code. The cylinder segment boxes 
> appear to be clipped and hollow, but I'm not actually using `clipped_by` 
> anywhere. Does anyone have a clue what is happening? Thanks.
...
>    difference
>    {
>      cylinder
>      {
>        -y * (1/2 - Muns_gap_width),
>        +y * (1/2 - Muns_gap_width),
>        1/2 - Muns_gap_width
>        translate  +y * Muns_param_V
>        rotate    +y * Muns_param_h
>      }
>      intersection
>      {
>        plane {+x, 0}
>        plane {-x, 0 rotate +y * Muns_time_wipe * 180}
>        rotate    -y * Muns_hue_adjust
>      }
>      pigment {color srgb Muns_coo_RGB}
>      finish {emission 0.3 diffuse 1}
>    }

You're running into a coincident surface issue when Muns_time_wipe is 1. 
At this value, you're essentially intersecting a plane with a copy of 
that plane, which makes things wobbly.


Post a reply to this message

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