POV-Ray : Newsgroups : povray.general : need help with CSG 'ashtray' Server Time
14 Nov 2024 15:15:32 EST (-0500)
  need help with CSG 'ashtray' (Message 1 to 3 of 3)  
From: Royce Sullivan
Subject: need help with CSG 'ashtray'
Date: 3 Jun 1999 15:33:36
Message: <3756CA9B.668B76AE@home.com>
Greetings,

I putting together a scene and I'm trying to create a CSG ashtray with
three slots at 120 degree intervals. The core ashtray is the difference
between two cylinders defined along the y-axis. The inner cylinder is
'open '.  The 'slots' in the ashtray are smaller cylinders defined along
the x-axis. I'm using a while end loop to take the difference between
the core ashtray and slotting x-axis cylnder. For some crazy reason it
does'nt work with my cylinders. I've used the same while end routine to
'dimple the bottom of a CSG whiskey glass with spheres and it works
fine. I'm about to pull my hair OUT!!! Any suggestions would helpful.
I'm posting the file in scene newsgroup section.
Here's a little povray joke. Q: Did you here about the povray artist
that lost his car keys? A: He found them by RAYTRACING his steps.

Thanks in advance.

Ron Hicks
dag### [at] yahoocom
http://www.geocities.com/SoHo/1006


Post a reply to this message

From: Ron Parker
Subject: Re: need help with CSG 'ashtray'
Date: 3 Jun 1999 17:06:19
Message: <3756e03b.0@news.povray.org>
On Thu, 03 Jun 1999 11:34:04 -0700, Royce Sullivan wrote:
>Greetings,
>
>I putting together a scene and I'm trying to create a CSG ashtray with
>three slots at 120 degree intervals. The core ashtray is the difference
>between two cylinders defined along the y-axis. The inner cylinder is
>'open '.  

'open' objects aren't guaranteed to work in CSG.  Fortunately, there's
no good reason for the inner cylinder to be open anyway.  I'm not sure
if this is your problem, though.  If that doesn't fix it, try posting 
a little code to demonstrate the problem.


Post a reply to this message

From: Nieminen Mika
Subject: Re: need help with CSG 'ashtray'
Date: 4 Jun 1999 04:06:01
Message: <37577ad9.0@news.povray.org>
People often have misunderstandings about CSG objects. For example, a
common mistake is to think that the second object in a difference CSG has
to be hollow (with the 'hollow' keyword). It seems that some people think
that it have to be open.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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