|
|
Hi,
I copied the flag sample from the documentation into my own scene. It works
fine, until I replace the blue texture with an image. Then the wavy
pattern does not render anymore. Is it possible to get the wavy pattern
(from varying the surface normal) to work with an image? How does one need
to modify the code from the documentation?
Thanks,
Eric
Post a reply to this message
|
|
|
|
"Eric" <pov### [at] johannsenus> wrote in message
news:web.4080db4980e354073cec3e620@news.povray.org...
>
> I copied the flag sample from the documentation into my own scene. It
works
> fine, until I replace the blue texture with an image. Then the wavy
> pattern does not render anymore. Is it possible to get the wavy pattern
> (from varying the surface normal) to work with an image? How does one
need
> to modify the code from the documentation?
If the example is from section 3.12.3 The Phase Keyword in the Beginning
Tutorial about making animations (only animated flag I could locate) there
shouldn't be any problem replacing Blue with:
image_map { jpeg "yourimage.jpg" }
Using whatever type image you actually have which works with POV, i.e. BMP,
TGA, PNG, etc. Can leave all else the same, although, I'd suggest trying
turbulence 0.5 in the normal to give the waves some distortion.
If you want to go beyond the static object so that it moves too, not just
the normal, then a bicubic_patch is what would work well for that since the
image can be uv_mapped.
--
Bob H.
http://www.3digitaleyes.com
Post a reply to this message
|
|