POV-Ray : Newsgroups : povray.advanced-users : Cyrillic Server Time
1 Nov 2024 03:16:27 EDT (-0400)
  Cyrillic (Message 1 to 2 of 2)  
From: rover
Subject: Cyrillic
Date: 7 Dec 2003 05:50:01
Message: <web.3fd3056839b1ac9aee4300fa0@news.povray.org>
How can i use subj.
I tryed chr function but this returns abrakadabra

Thenx Paul


Post a reply to this message

From: Gilles Tran
Subject: Re: Cyrillic
Date: 7 Dec 2003 08:55:08
Message: <3fd3313c@news.povray.org>

news:web.3fd3056839b1ac9aee4300fa0@news.povray.org...
> How can i use subj.
> I tryed chr function but this returns abrakadabra

You need the unicode text encoding:

global_settings { charset utf8} // declares the unicode character set
text { ttf "times.ttf"
"\u041A\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u0430\u044f"
0.01,0
pigment {rgb x} finish{ambient 1}
 translate -x*3+z*6
}

I got the codes from the Charmap utility (in Windows utilities).

G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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