POV-Ray : Newsgroups : povray.newusers : Cyrillics! How to use? : Re: Cyrillics! How to use? Server Time
2 Jun 2024 14:46:03 EDT (-0400)
  Re: Cyrillics! How to use?  
From: LanuHum
Date: 3 Jan 2016 12:30:08
Message: <web.568959f237292b417a3e03fe0@news.povray.org>
"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> "LanuHum" <Lan### [at] yandexru> wrote:
> > My OS - Linux. Fedora-18 and Mageia-3
> > if cyrillic:
> >         image_map {
> >
> > "/home/leonid/Blender/textures/проба.png"
> > //проба - cyrillic symbol
> >         filter all 0 transmit all 0}
>
> POV-Ray SDL is not HTML.  The correct syntax is
> "\u043F\u0440\u043E\u0431\u0430".
>
> > Konsole wrote:
> >
> >
> > File '/home/leonid/Blender/povray/test/povwip.pov' line 42: Possible Parse
> >  Error: Cannot find file '/home/leonid/Blender/textures/          .png',
> > even after trying to append file type extension.
> > File '/home/leonid/Blender/povray/test/povwip.pov' line 42: Possible Parse
> >  Error: Cannot find image file.
> > Fatal error in parser: Cannot open file.
> > Render failed
> >
> > look:spacespacespacespace.png
>
> I tried an image map both using the correct POV-Ray syntax and copying and
> pasting the Cyrillic text directly into the scene file.  As noted, both
> techniques work in a text{} object, but it appears that POV-Ray cannot handle
> non-ASCII file names or read and write non-ASCII text.  This is a serious
> limitation for an international program.

2.5 years nothing was changed :(
global_settings {
    assumed_gamma 1.000000
    charset utf8
}
#declare Im_Name = concat(chr(1079) chr(1072) chr(1085) chr(1072) chr(1074)
chr(1077) chr(1089) chr(1082) chr(1072) chr(46) chr(112) chr(110) chr(103) )
#declare Material = texture{
    pigment{ image_map{png Im_Name }

==== [Parsing...] ==========================================================
File '/tmp/Empty.pov' line 16: Possible Parse Error: Cannot find file '
 .png', even after trying to append file type extension.
File '/tmp/Empty.pov' line 16: Possible Parse Error: Cannot find image file.
Fatal error in parser: Cannot open file.
Render failed


Post a reply to this message

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