POV-Ray : Newsgroups : povray.newusers : Simple 2D text on a cylinder's surface : Re: Simple 2D text on a cylinder's surface Server Time
29 Jul 2024 02:22:54 EDT (-0400)
  Re: Simple 2D text on a cylinder's surface  
From: Sherry Shaw
Date: 13 Oct 2007 23:18:53
Message: <47118a9d@news.povray.org>
Marty Schrader wrote:

> For instance, the book mentions 
> strlen in talking about other string functions, but strlen itself isn't 
> available.

You're reading the Help file, right?  Click the "Index" tab.  Type 
"strlen" in the box.  Son of a gun, there it is.

> This would be very helpful in figuring out how to position 
> text without a lot of trial and error.

Actually, unless you're using a fixed-width font, you probably want 
min_extent and max_extent for that.

> Heavy accent on the error.

Practice makes perfect.

--Sherry Shaw


-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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