POV-Ray : Newsgroups : povray.general : Label on a Jar : Re: Label on a Jar Server Time
5 Aug 2024 14:18:54 EDT (-0400)
  Re: Label on a Jar  
From: Warp
Date: 2 Sep 2002 19:07:02
Message: <3d73ef15@news.povray.org>
MIKA <nos### [at] pleasecom> wrote:
> when designing your jar label, design it on a larger image of which is
> completely filled with the color (lets say index 0 of your bit-mapped
> image palette) and use the following in your image_map declaration
> (filter 0,1) 

  Why waste memory needlessly, when you can get the same effect with a
simple scale and cylindrical warp?

-- 
#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.