|
|
"Stephen R. Phillips" <cyb### [at] someplacecom> wrote in message
news:Xns95EBC313B90ADcybermans.pov.posts.@203.29.75.35...
> Wraped not warped ;)
> Anyhow I am attempting to create a repeatable image IE it repeats
> horizontally (vertical isn't a problem). I know certain types of textures
> repeat themselves some do not or. I suppose what I'm asking, is there a
> way to make a random looking repeating texture? (that's a mouth full).
sure:
-begin code-
#declare Texture=
texture {
[some very interesting texture stuff goes here]
}
#declare Tileable_Texture=
texture {
gradient x
texture_map {
[0 Texture]
[1 Texture translate x]
}
}
-end code-
now Tileable_Texture is a texture that is tileable between x=0 and x=1.
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
|