POV-Ray : Newsgroups : povray.newusers : Bevelled text macro : Re: Bevelled text macro Server Time
28 May 2024 23:56:43 EDT (-0400)
  Re: Bevelled text macro  
From: Christian Froeschlin
Date: 13 Jun 2013 20:21:20
Message: <51ba6200@news.povray.org>
DGClarke wrote:

> #macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )

1. Keyword #macro is only for defining a macro, not for calling it

2. My version of shapes.inc has 8 parameters, you seem to be missing one

    #macro Bevelled_Text(Font, String, Cuts, BevelAng,
                         BevelDepth, Depth, Offset, UseMerge)

    UseMerge should be true if for transparent material, otherwise false

3. Strings require quotes and it may be the font name requires
    extension: "timrom.ttf", "Wonder".

4. Also, best to try a unbevelled text object first

    text {ttf Font String Depth, Offset}

    Then you can see how big it is and use appropriate values
    for bevelling. Text height will be of order 1.0 so your
    values may be too large.


Post a reply to this message

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