POV-Ray : Newsgroups : povray.general : CSG speed question : Re: CSG speed question Server Time
19 Nov 2024 15:34:48 EST (-0500)
  Re: CSG speed question  
From: Timothy R  Cook
Date: 14 Feb 2002 19:19:28
Message: <3C6C53F8.F9A78EFF@scifi-fantasy.com>
Hugo wrote:
> By the way... You mentioned that you "nest" the CSG... Well, maybe this is
> not what you meant, BUT ... if you mean that for example you nest all
> objects inside a "difference" statement, you have a problem!

...

Um...

*whistles innocently*

Here's the CSG nesting of ONE of the levels:
LevelB (merge)
  Beta_Solid (merge)
    Beta_Hull (difference)
      Beta_Hull1 (intersection)
        Beta_Hull1T (sphere)
        Beta_Hull1M (cylinder)
        Beta_Hull1B (sphere)
      Beta_Hull0 (intersection)
        Beta_Hull0T (sphere)
        Beta_Hull0M (cylinder)
        Beta_Hull0B (sphere)
      Beta_Tube_Hole (intersection)
        Beta_Tube_Round (cylinder)
        Beta_Tube_Box (cube)
      CSG010 (difference)
        Cylindr006 (cylinder)
        Cylindr007 (cylinder)
    Beta_Floors (merge)
        Beta_Floor_L00 (cylinder)
        Beta_Floor_L01 (cylinder)
        Beta_Floor_L02 (cylinder)
        Beta_Floor_L03 (cylinder)
        Beta_Floor_L04 (cylinder)
        Beta_Floor_L05 (cylinder)
  Gamma_Solid (merge)
    SAME AS BETA
  Delta_Solid (merge)
    SAME AS BETA
  Labs_Solid (merge)
    SAME AS BETA

And there's 2 copies of LevelB as LevelC and LevelD,
then there's LevelA which is Beta_Solid and some interior
walls that are a lot of cubes merged together with some
differences for doorways, and there's the tubes that
connect the pods...and all of this is inside another
merge...

*listens to the thud of all of the readers of this message
as they hit the floor after having a sudden heart attack*
-- 
Tim Cook
http://empyrean.scifi-fantasy.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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