POV-Ray : Newsgroups : povray.newusers : Cube in different colors ? : Re: Cube in different colors ? Server Time
4 Sep 2024 18:18:32 EDT (-0400)
  Re: Cube in different colors ?  
From: Warp
Date: 11 Sep 2002 05:42:41
Message: <3d7f1011@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
> My feeling is that this would be the fastest way. You may have to tell 
> POV not to ignore your bounding, though.

  I think that POV-Ray only removes user-defined bounding boxes when it
(thinks it) can make a better one itself. However, for planes it doesn't
create bounding boxes at all (because they are infinite) and thus should
not remove the user-defined one. I haven't tried it, though.

> I don't know if you meant this, but that last paragraph implies that a 
> mesh box would be unuseable in CSG. If he uses inside_vector, it will be 
> useable for CSG operations.

  Well, yes. That's what I meant (could have worded it better, though).
  A mesh by itself is not usable in CSG, but if you add inside_vector to
it, then it is.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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