POV-Ray : Newsgroups : povray.general : Texture question (probably really easy) Server Time
14 Nov 2024 21:12:34 EST (-0500)
  Texture question (probably really easy) (Message 1 to 2 of 2)  
From: Rick Measham
Subject: Texture question (probably really easy)
Date: 14 Feb 2005 23:11:50
Message: <42117686@news.povray.org>
I have a sphere (see the recent Sunglasses/One way glass thread in 
P.B.I). I'd like to apply a texture to the sphere in such a way that it 
really is a texture rather than just a picture of a texture sitting on a 
smooth surface.

The texture comes from a greyscale png file that I've built in photoshop 
where white is high.

What's the right command for this? I've tried a couple of things (don't 
remember what, it was a couple of days ago) but the best I could do put 
the texture in only one direction. The region facing the camera was just 
streaked with the texture streched. It looked like the texture was 
applied to the xz-plain and as the shere got 'steeper' the texture 
became streched.

An example would be greatly appreciated.

Cheers
Rick Measham


Post a reply to this message

From: Tim Cook
Subject: Re: Texture question (probably really easy)
Date: 14 Feb 2005 23:23:26
Message: <4211793e$1@news.povray.org>
Rick Measham wrote:
> What's the right command for this? I've tried a couple of things (don't 
> remember what, it was a couple of days ago) but the best I could do put 
> the texture in only one direction. The region facing the camera was just 
> streaked with the texture streched. It looked like the texture was 
> applied to the xz-plain and as the shere got 'steeper' the texture 
> became streched.
> An example would be greatly appreciated.

put map_type 1 in your image_map block

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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