POV-Ray : Newsgroups : povray.newusers : text - special symbols Server Time
27 Nov 2024 12:39:20 EST (-0500)
  text - special symbols (Message 1 to 2 of 2)  
From: Wald
Subject: text - special symbols
Date: 24 Dec 2002 04:26:14
Message: <Xns92EE6A2CB9D07arnoutstandaertagrku@204.213.191.226>
Hello group,


but this doesn't seem to support special symbols...

how do I do this?

Thanks in advance,

Wald


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: text - special symbols
Date: 24 Dec 2002 05:48:19
Message: <3e083b73@news.povray.org>
In article <Xns### [at] 204213191226> , Wald 
<arn### [at] n-o-s-p-a-mcitkuleuvenacbe>  wrote:

> Hello group,
>

> but this doesn't seem to support special symbols...
>
> how do I do this?

You should read the manual chapters about text strings.  Here is a simple
scene (assuming you have the font courier.ttf, of course any font will do).

#version 3.5;

camera
{
 location  <0.0, 2.0, -6.0>
 direction 1.5*z
 right     4/3*x
 look_at   <1.0, 0.8, 0.0>
}

light_source
{
 <-30, 30, -30>
 color rgb 1
}

text
{
 ttf "courier.ttf", "\u00b5",
 0.2, 0
 texture { pigment { color rgb 1 } }
 scale 4
}


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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