|
![](/i/fill.gif) |
"Gilles Tran" <gitran_nospam_@wanadoo.fr> wrote in message
news:4125e891$1@news.povray.org...
> news:web.412569f73137e9f1406ebe00@news.povray.org...
> > I know there's a trick in Renderman to get the renderer to "bake" UV
> > textures from procedural textures, but is there a way to do the same in
> > Povray?
>
> A typical uv map takes its coordinates from <0,0> to <1,1>, so rendering an
> orthographic view of the <0,0,0>,<1,1,0> area of plane{z,0} textured with
> the desired procedural pigment or normal should create a bitmap version of
> that pigment or normal, usable for uv mapping. Totally untested...
but that's baking a uv texture from a uv texture, pretty pointless if you ask me
:)
I think ekolis wants an uv-map of a non-uv-map procedural texture, for example
an image that would, uv-mapped on a sphere, give the same result as sphere {0,1
pigment {bozo}}
But as far as I know, that's not possible with pov-ray, not for every type of
object anyway...
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
|
![](/i/fill.gif) |