POV-Ray : Newsgroups : povray.binaries.images : Capriccio 16B : Re: Capriccio 16B Server Time
13 Aug 2024 01:15:34 EDT (-0400)
  Re: Capriccio 16B  
From: Gena Obukhov
Date: 27 May 2003 02:32:00
Message: <3ED30488.630BAA40@mail.com>
ABX wrote:

> You can use image with 'once', scale it down to fit your section unrolled into
> <0,0,0>-<1,1,0> area, and then use spherical warp. Then you can duplicate
> sections with layered textures. Similiar method was recently described by me in
> a thread: http://news.povray.org/povray.newusers/31686/ with working example. I
> hope it could work for you.

Thanks a lot! That's exactly what I need. Does POV-Ray take memory only
for one map in this case ?:

#local DomeMap = pigment{
 image_map{jpeg "cathedral/dome1.jpg" once}
 scale<1/4, 1/2, 1/4>
 translate y*0.5
 warp{spherical}
};

sphere {
   0, 1
   texture{
     pigment{DomeMap}
     rotate y*0
   }
   texture{
     pigment{DomeMap}
     rotate y*90
   }
   texture{
     pigment{DomeMap}
     rotate y*180
   }
   texture{
     pigment{DomeMap}
     rotate y*270
   }
}

Gena.


Post a reply to this message

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