|
 |
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
|
 |
|
 |
Tom Melly <tom### [at] tomandlu co uk> 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
|
 |
|
 |
"Warp" <war### [at] tag povray org> wrote in message news:3b4d76b7@news.povray.org...
> Tom Melly <tom### [at] tomandlu co uk> 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
|
 |