POV-Ray : Newsgroups : povray.newusers : Simple 2D text on a cylinder's surface : Re: Simple 2D text on a cylinder's surface Server Time
28 Jul 2024 20:20:48 EDT (-0400)
  Re: Simple 2D text on a cylinder's surface  
From: Warp
Date: 13 Oct 2007 16:16:52
Message: <471127b3@news.povray.org>
Marty Schrader <mar### [at] parsecsystemsinccom> wrote:
> POV has no mechanism for painting 2D text on to a surface. There are all kinza 
> ways to paint patterns and pre-made images on to surfaces, but no way to lay 
> down simple 2D text. This seems like a major flaw to me.

  Can you give us an example of some pattern which you can apply to a
surface in a way that you cannot apply a text pattern in the same way?

> There is a very limited set of string manipulation and calculation functions 
> available withing POV script. For instance, the book mentions strlen in talking 
> about other string functions, but strlen itself isn't available. This would be 
> very helpful in figuring out how to position text without a lot of trial and 
> error. Heavy accent on the error.

  Functions are classified by their return value type, not by the parameter
type. strlen() is in the float functions section because it returns a float.

-- 
                                                          - Warp


Post a reply to this message

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