|
|
Why does:
difference {
blob {
threshold 0.5
sphere {
<-5,5,0>, 12, 1
pigment {color rgb <1,0,0>}
}
sphere {
<5,-5,0>, 12, 0.75
pigment {color rgb <0,0,1>}
}
}
box {
<-100,100,0>,
<100,-100,-100>
}
cutaway_textures
}
come out black? Note: The help (section 6.7.10) suggests the box
should have no texture.
I can get a blue sliced blob if I do the following:
difference {
blob {
threshold 0.5
sphere {
<-5,5,0>, 12, 1
}
sphere {
<5,-5,0>, 12, 0.75
}
pigment {color rgb <0,0,1>}
}
box {
<-100,100,0>,
<100,-100,-100>
}
cutaway_textures
}
but this ain't what I want.
Note: Whilst going through the various permutations with this I came
across this one:
difference {
blob {
threshold 0.5
sphere {
<-5,5,0>, 12, 1
pigment {color rgb <1,0,0>}
}
sphere {
<5,-5,0>, 12, 0.75
pigment {color rgb <0,0,1>}
}
}
box {
<-100,100,0>,
<100,-100,-100>
pigment {color rgb <0,1,0>}
}
cutaway_textures
translate <-5,0,0>
}
Which will make POV balk and stop with:
Rendering Error: No textures in multi-texture CSG object.
Returned from renderer with error status
------------------------
http://www.imbjr.com
http://www.subgenius.com
Post a reply to this message
|
|
|
|
On Wed, 14 May 2003 23:40:51 -0500, "Hughes, B."
<omn### [at] charternet> wrote:
>I didn't know what had become of this but it was brought up long ago I'm
>sure. Now, in looking for any past discussions about it, I found the
>following message post.
>
>http://news.povray.org/povray.beta-test/24903/
>
>And judging by that it's like there's more to cutaway_textures than you
>might first think.
>
>The blob primitive had already been an obvious difficulty due to the way it
>accepts textures but this other "problem" is actually CSG-related instead.
>Since cutaway_textures is only intended for difference and intersection and
>not union or merge, it does seem to work as intended. Just that any other
>textures added in a union overwrites it, which would certainly seem wrong
>according to the usual texture hierarchy scheme IMHO.
>
Cheers for the info - looks like I'm gonna have to rethink my plans.
------------------------
http://www.imbjr.com
http://www.subgenius.com
Post a reply to this message
|
|