POV-Ray : Newsgroups : povray.newusers : Filling a cylinder Server Time
29 Jul 2024 12:26:13 EDT (-0400)
  Filling a cylinder (Message 1 to 5 of 5)  
From: Raffaele
Subject: Filling a cylinder
Date: 16 Mar 2006 13:50:00
Message: <web.4419b2fd162ba78a8d202af60@news.povray.org>
How can I create a cylinder with a solid filling? I tried to use CSG and for
example when I intersect two cylinders I get only the intersection of the
surfaces.
Cheers
Raffaele


Post a reply to this message

From: Marc Jacquier
Subject: Re: Filling a cylinder
Date: 16 Mar 2006 14:14:34
Message: <4419b91a$1@news.povray.org>

news:web.4419b2fd162ba78a8d202af60@news.povray.org...
> How can I create a cylinder with a solid filling? I tried to use CSG and
for
> example when I intersect two cylinders I get only the intersection of the
> surfaces.
> Cheers
> Raffaele
>
>
Maybe you are stumbling on a coincident surfaces issues, make one of the
cylinders slightly longer than the other.

Marc


Post a reply to this message

From: Bob Hughes
Subject: Re: Filling a cylinder
Date: 16 Mar 2006 23:49:37
Message: <441a3fe1$1@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> wrote in message 
news:4419b91a$1@news.povray.org...
>

> news:web.4419b2fd162ba78a8d202af60@news.povray.org...
>> How can I create a cylinder with a solid filling? I tried to use CSG and
> for
>> example when I intersect two cylinders I get only the intersection of the
>> surfaces.
>>
> Maybe you are stumbling on a coincident surfaces issues, make one of the
> cylinders slightly longer than the other.

If it is not something like Marc said, which would look like a pipe with 
open ends, and instead the idea is to fill the inside of a transparent 
object then you will need to use 'media'.

Other than that, using 'intersection' would only show a single surface of 
where the two cylinders intersect the same space anyhow. Maybe you wanted a 
'difference', where one remains and the other is subtracted away. If that 
were done, same applies again as Marc said except when one is inside the 
other you would get a thickened tube or pipe.

Also, might be of great help to know a little more about the actual POV 
script you're trying to do.


Post a reply to this message

From: Warp
Subject: Re: Filling a cylinder
Date: 19 Mar 2006 22:32:20
Message: <441e2244@news.povray.org>
Raffaele <nomail@nomail> wrote:
> How can I create a cylinder with a solid filling? I tried to use CSG and for
> example when I intersect two cylinders I get only the intersection of the
> surfaces.

  Could you be more specific on what is the effect you are trying to
achieve?
  How are you seeing that they are "only surfaces"? What is it that you
would want to see instead?

-- 
                                                          - Warp


Post a reply to this message

From: Marc Jacquier
Subject: Re: Filling a cylinder
Date: 20 Mar 2006 03:09:35
Message: <441e633f@news.povray.org>

news:441e2244@news.povray.org...
> Raffaele <nomail@nomail> wrote:
> > How can I create a cylinder with a solid filling? I tried to use CSG and
for
> > example when I intersect two cylinders I get only the intersection of
the
> > surfaces.
>
>   Could you be more specific on what is the effect you are trying to
> achieve?
>   How are you seeing that they are "only surfaces"? What is it that you
> would want to see instead?

I tested it:
If you intersect 2 cylinders with coincident ends, you get an open ends
'lemon' shaped section.
I think he wants a closed shape, so he can fix it by making one of the
cylinders longer .

Marc


Post a reply to this message

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