POV-Ray : Newsgroups : moray.win : CSG operations : Re: CSG operations Server Time
28 Jul 2024 18:12:03 EDT (-0400)
  Re: CSG operations  
From: Mike Weber
Date: 5 Apr 2000 15:54:50
Message: <38eb9a0a@news.povray.org>
> do you want to see through the window into the plane?  if so, did you
> model the inside?  what is the box in step 3?  i haven't used udos
> much.  are they solid?  so you have three copies of the udo?  it seems
> like you should be able to do it cleaner.  answer the above q's and i'll
> see if i can help.
I do not need to see the inside of the airplane.
The box is used to cut a hole in the airplane to make a window.
UDOs aren't solid - just a bunch of triangles to make the object.
No, only two UDOs - the original, and one copy.

I agree that it should be done cleaner.


>
> Mike Weber wrote:
> >
> > I'm trying to add windows to a UDO object that I imported.
> > Here's what I do, and I'm wondering if there is an easier way to do it:
> >
> > 1. Create a CSG - call it WindowCut - apply a texture.
> > 2. Add the UDO object (which happens to be a 747)
> > 3. Create a box
> > 4. Add it to the above CSG
> > 5. Set the operation to Difference.  This creates a 'hole' in the UDO
> > object.
> > 6. Create another CSG - call it 747 - apply a glass texture.
> > 7. Add a copy of the UDO object above.
> > 8. Add a copy of the box in step 3.
> > 9. Set the operation to Intersection.
> > 10. Now create a third CSG - call it 747-Parent.
> > 11. Add the two CSG items.
> >
> > Now I have a 747 object with a window.  This works, but seems to be a
lot of
> > work and uses a lot of memory.  Is this how others do it?  IS there a
better
> > way?
> >
> > --
> > Mike
> >
> > wk: mik### [at] pyxiscom  www.pyxis.com
> > hm: mwe### [at] sciticom  www.geocities.com/mikepweber


Post a reply to this message

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