POV-Ray : Newsgroups : povray.general : Radial intersection Server Time
1 Nov 2024 01:24:26 EDT (-0400)
  Radial intersection (Message 1 to 4 of 4)  
From: Mike Horvath
Subject: Radial intersection
Date: 17 Jul 2018 17:32:34
Message: <5b4e6072$1@news.povray.org>
I am trying to create an intersection that spins around the vertical 
axis, like this:

https://i.stack.imgur.com/xT5W9.jpg

except extruded along the y axis.

How would I go about creating this? I tried making an intersection of 
planes, but it only works between 0 and 180 degrees. Any more than that 
and it behaves strangely.

#declare plane_wedge = intersection
{
	plane {-x, 0}
	plane {+x, 0	rotate y * 270}
	pigment {color srgb <1,2/4,0>}
}

Thanks.


Mike


Post a reply to this message

From: Bald Eagle
Subject: Re: Radial intersection
Date: 17 Jul 2018 18:05:00
Message: <web.5b4e6726bd76eff3458c7afe0@news.povray.org>
Insert menu
Shapes3
Segment of cylinder ring.

Make inner radius 0


Post a reply to this message

From: Mike Horvath
Subject: Re: Radial intersection
Date: 17 Jul 2018 19:26:03
Message: <5b4e7b0b$1@news.povray.org>
On 7/17/2018 6:01 PM, Bald Eagle wrote:
> Insert menu
> Shapes3
> Segment of cylinder ring.
> 
> Make inner radius 0
> 
> 

The problem with this shape is that when I set the rotation to zero the 
shape should *disappear* completely. Instead, it *appears* completely.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Radial intersection
Date: 17 Jul 2018 20:10:35
Message: <5b4e857b$1@news.povray.org>
Never, mind. The shape can't tell the difference between 0 degrees and 
360 degrees, so it's actually better it defaults to *visible*. I can add 
additional code to hide the shape when I need it.

Mike


On 7/17/2018 7:27 PM, Mike Horvath wrote:
> On 7/17/2018 6:01 PM, Bald Eagle wrote:
>> Insert menu
>> Shapes3
>> Segment of cylinder ring.
>>
>> Make inner radius 0
>>
>>
> 
> The problem with this shape is that when I set the rotation to zero the 
> shape should *disappear* completely. Instead, it *appears* completely.
> 
> 
> Mike


Post a reply to this message

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