POV-Ray : Newsgroups : povray.general : --- : Re: Dumb question about map_type Server Time
2 Nov 2024 07:26:06 EDT (-0400)
  Re: Dumb question about map_type  
From: Warp
Date: 25 Apr 2004 21:19:06
Message: <408c638a@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> The docs say map_type 1 is spherical mapping, and that it automatically 
> scales the image. I have an image that can be tiled that I want to wrap 
> around a sphere several times. I'm not finding any samples or demos that 
> would show me the magic, and warp doesn't seem to be doing the trick.

  Something like this:

pigment
{ image_map { ... }
  scale .1
  warp { spherical }
}

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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