|
|
Hi all,
When rendering some text using a True Type Font called Metrostyle in Povray
3.5, it renders strange characters (i.e. "Hello" becomes "$66#")
My code snippet is below
Any help greatly appreciated
Reuben
reu### [at] pearsecouk
============================
#include "colors.inc"
background{LightSteelBlue}
camera {
angle 60
location <0,0,-10>
look_at <0,0,0>
}
light_source { <20, 50, -100> color White}
light_source { <0, 0, 0> color White}
// Stick text in middle of image
//-----------------------------
text { ttf "metr75.ttf" "Hello" 0.3, 0
pigment { GreenCopper }
finish { reflection 0.1 specular 1 }
translate -3*x
translate -0.2*y
translate -1.5 *z
scale 0.8*y
scale 0.8*x
no_shadow
}
//-----------------------------
==========================
Post a reply to this message
|
|