POV-Ray : Newsgroups : povray.newusers : wrapping text around a cylinder : Re: wrapping text around a cylinder Server Time
30 Jul 2024 16:13:32 EDT (-0400)
  Re: wrapping text around a cylinder  
From: Warp
Date: 13 Jan 2004 20:08:28
Message: <4004968c@news.povray.org>
Here is an example:

camera { location <-1.5,4.5,-10> look_at 0 angle 35 }
light_source { <10, 40, -50>, 1 }
plane { y, -2 pigment { checker rgb 1, rgb .5 } }

cylinder
{ -y*2, y*2, 2
  pigment
  { object
    { text { ttf "timrom.ttf", "POV-Ray", 2.1, 0 scale <.1,2,1> }
      pigment { rgb <1,.9,.8> }
      pigment { rgb <.8,.4,.1> }
    }
    warp { cylindrical }
    rotate y*160
  }
  finish { specular 1 }
}

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