POV-Ray : Newsgroups : povray.advanced-users : Texturing using jpg file Server Time
1 Nov 2024 05:23:33 EDT (-0400)
  Texturing using jpg file (Message 1 to 4 of 4)  
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


Post a reply to this message

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


Post a reply to this message

From: kurtz le pirate
Subject: Re: Texturing using jpg file
Date: 12 Nov 2007 13:22:45
Message: <kurtzlepirate-6F2891.19224512112007@news.povray.org>
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


Post a reply to this message

From: Tim Attwood
Subject: Re: Texturing using jpg file
Date: 12 Nov 2007 17:33:13
Message: <4738d4a9$1@news.povray.org>
Here is an example.

sphere {
  0.0, 1
  texture {
    pigment {
       image_map {
          jpeg "earth.jpg"
          once
          map_type 1
       }
    }
  }
}


Post a reply to this message

From: JetRacer
Subject: Re: Texturing using jpg file
Date: 1 Dec 2007 18:30:00
Message: <web.4751edc9c7198549278fa6d50@news.povray.org>
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).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.