POV-Ray : Newsgroups : povray.general : bounded_by question(s) Server Time
7 Aug 2024 17:25:29 EDT (-0400)
  bounded_by question(s) (Message 1 to 3 of 3)  
From: Tom Melly
Subject: bounded_by question(s)
Date: 12 Jul 2001 06:00:27
Message: <3b4d753b$1@news.povray.org>
Sorry, the first question is Megapov.

1. Is there anything to be gained by bounding an isosurface with its
contained_by shape, or does MP do this anyway?

2. If I set bounded_by for an object and then combine that object in a union and
set a larger bounded_by for the whole union, am I doing something
stupid/pointless/other?

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

From: Warp
Subject: Re: bounded_by question(s)
Date: 12 Jul 2001 06:06:47
Message: <3b4d76b7@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
: 1. Is there anything to be gained by bounding an isosurface with its
: contained_by shape, or does MP do this anyway?

  What do you think?

: 2. If I set bounded_by for an object and then combine that object in a union and
: set a larger bounded_by for the whole union, am I doing something
: stupid/pointless/other?

  Nope. AFAIK that's the best way to go.

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


Post a reply to this message

From: Tom Melly
Subject: Re: bounded_by question(s)
Date: 12 Jul 2001 06:46:44
Message: <3b4d8014$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3b4d76b7@news.povray.org...
> Tom Melly <tom### [at] tomandlucouk> wrote:
> : 1. Is there anything to be gained by bounding an isosurface with its
> : contained_by shape, or does MP do this anyway?
>
>   What do you think?
>

I think the MP does this anyway, but then I also think "Chimes at Midnight" is
better than "Citizen Kane"....


> : 2. If I set bounded_by for an object and then combine that object in a union
and
> : set a larger bounded_by for the whole union, am I doing something
> : stupid/pointless/other?
>
>   Nope. AFAIK that's the best way to go.

Goody-goody...


Post a reply to this message

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