POV-Ray : Newsgroups : povray.newusers : image map : Re: image map Server Time
5 Nov 2024 03:19:49 EST (-0500)
  Re: image map  
From: Warp
Date: 15 Jun 2002 16:24:24
Message: <3d0ba278@news.povray.org>
TinCanMan <Tin### [at] hotmailcom> wrote:
> In order to get the label to wrap
> partially around the bottle (unless you want it fully wrapped) you have to
> compensate in the image_map image itself.

  This is quite an ugly method because you either need to make an extra-large
image, which will consume unneeded memory, or you'll have to use a lower
resolution. Not nice.
  Instead of this, make a pigment with your image_map (using the 'once'
option), scale it down to the desired size and then apply the cylindrical
warp to it.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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