|
|
Gentlemen,
Recent I tryed to apply crackle pattern to both height map and texture and got
some ideas.
1. coordination of height map (0,0) corresponds UV coordination (0,1).
2. XZ plane of height_field object corresponds UV plane as Mr. Froeschlin and
Mr. Reiner wrote.
To synchronize height and texture, I wrote like this:
height_field {
function 800,800 {
// height map(0,0) = UV(0,1)
f_crackle(u,(1-v),0)
}
pigment {
function {
// XZ plane = UV plane
f_crackle(x,z,0)
}
color_map {
(snip)
}
}
}
I hope this mail could be your help.
I wrote an example but it was in japanese.
http://blog.goo.ne.jp/crowbait/e/c17231470a8e840f92f8651a1f02c0b8
Post a reply to this message
|
|