From: Czareq
Subject: Texturing using jpg file
Date: 12 Nov 2007 09: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
From: Warp
Subject: Re: Texturing using jpg file
Date: 12 Nov 2007 10:52:06
Message: <473876a6@news.povray.org>
In povray.newusers Czareq <cza### [at] czareqpl> wrote:
> 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 ?
http://povray.org/documentation/view/3.6.1/337/
http://povray.org/documentation/view/3.6.1/408/
--
- Warp
In article <473876a6@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> In povray.newusers Czareq <cza### [at] czareqpl> wrote:> > 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 ?> > http://povray.org/documentation/view/3.6.1/337/> http://povray.org/documentation/view/3.6.1/408/
and for new users there is : povray.newusers
--
klp
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).