POV-Ray : Newsgroups : moray.win : CSG operations : CSG operations Server Time
28 Jul 2024 18:18:20 EDT (-0400)
  CSG operations  
From: Mike Weber
Date: 5 Apr 2000 12:06:33
Message: <38eb6489$1@news.povray.org>
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.