Zeger Knaepen wrote:
>
> Ken heeft geschreven in bericht <37079BD2.812CCC73@pacbell.net>...
> >--
> >Ken Tyler
> >
> >mailto://tylereng@pacbell.net
>
> Nice dinosaur texture you've got there. You mind sharing the code?
>
> ZK
There are two versions here. One texture uses syntax available only in the
Photon Patch of Pov-Ray and is the texture used for the image posted. The
second should for all intensive purposes work with the official build of
Pov-Ray and yeild the same results.
#declare F1 =
finish {
ambient 0.350
diffuse 0.450
reflection 0.025
}
#declare F2 =
finish {
ambient 0.250
diffuse 0.400
reflection 0.000
}
#declare P1 =
texture {
pigment {
image_map { gif "rept3.gif" interpolate 2
}
translate -0.5
}
finish { F2
}
}
#declare P2 =
texture {
pigment {
image_map { gif "rept3.gif" interpolate 4
}
translate -0.5
}
finish { F1
}
}
// The Photon Patch Version
#declare C1 =
texture {
image_pattern{ gif "rept3.gif" interpolate 2
}
texture_map {
[0.25 P1]
[0.50 P2]
[0.75 P1]
[1.00 P2]
}
scale 0.5
turbulence 0.1
}
// The Standard Pov Version
#declare C1 =
texture { crackle
texture_map {
[0.25 P1]
[0.50 P2]
[0.75 P1]
[1.00 P2]
}
scale 0.5
turbulence 0.1
}
This texture should scale at 1 pov unit but you of course can scale as
needed to suit your own application.
If used in an IRTC entry I would appreciate an honorable mention. Other
than that there are no restrictions for it's use.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
Attachments:
Download 'rept3.gif' (261 KB)
Preview of image 'rept3.gif'
|