POV-Ray : Newsgroups : povray.general : Odd blob / cutaway_textures behaviour : Odd blob / cutaway_textures behaviour Server Time
5 Nov 2024 09:25:46 EST (-0500)
  Odd blob / cutaway_textures behaviour  
From: IMBJR
Date: 13 May 2003 17:26:42
Message: <nrm2cvoheekqmp3gper1tj52g70hfdqic4@4ax.com>
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

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