From: Czareq
Subject: Texturing using jpg file
Date: 12 Nov 2007 14:37:42
Message: <47386536@news.povray.org>
Hi.
I'm new in POV and I have a question:
How to import an image such as
http://czareq.fasthost.pl/pliki/earth-living.jpg and make it texture for
sphere ?
Could give me an example with this image and sphere ?
Best regards
Czareq
You better throw in a little interpolation in that recipe:
sphere {
0.0, 1
texture {
pigment {
image_map {
jpeg "earth.jpg"
once
map_type 1
interpolate 4
}
}
}
}
Note that the info in the docs regarding interpolation was probably written on a
bad day. Type 4 is what people should use in general since it delivers smoother
results (which is a good thing).