|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I came across a problem with the text object....
character.
The problem was that I did dot find a way to put the whole word in the same
text object
,chr(128), "GERTIDNING".
Is there a way to put all the characters in one string so that I only have
to use the Text command once to draw the word?
Ambis
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
AC <amb### [at] teliacom> wrote:
: Is there a way to put all the characters in one string so that I only have
: to use the Text command once to draw the word?
Yes, using the concat() function.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nieminen Juha <war### [at] punarastascstutfi> wrote in message
news:38513935@news.povray.org...
> AC <amb### [at] teliacom> wrote:
> : Is there a way to put all the characters in one string so that I only
have
> : to use the Text command once to draw the word?
>
> Yes, using the concat() function.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Not exactly what I mean........
line from a povfile:
scale .1 } rotate <0,0,0>}
Is it possible to do somthing like this in Povray.....
text { ttf "c:\windows\fonts\Times.ttf" "N" + chr(128) +
"PP" .1, 0 pigment {rgb <0,0,0> scale .1 } rotate <0,0,0>}
I think you get the idea
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <38517f75@news.povray.org>, "AC" <amb### [at] teliacom> wrote:
> Not exactly what I mean........
> line from a povfile:
>
> <0,0,0>
> scale .1 } rotate <0,0,0>}
>
> Is it possible to do somthing like this in Povray.....
>
> text { ttf "c:\windows\fonts\Times.ttf" "N" + chr(128) +
> "PP" .1, 0 pigment {rgb <0,0,0> scale .1 } rotate <0,0,0>}
>
> I think you get the idea
Maybe that character can only be accessed with the Unicode patch by Jon
Cruz. It is included in the Superpatch, although it apparently has some
problems with the Mac.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
AC wrote:
>
> Nieminen Juha <war### [at] punarastascstutfi> wrote in message
> news:38513935@news.povray.org...
> > AC <amb### [at] teliacom> wrote:
> > : Is there a way to put all the characters in one string so that I
> only
> have
> > : to use the Text command once to draw the word?
> >
> > Yes, using the concat() function.
> >
> > --
> >
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> > ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*-
> Warp -*/
>
> Not exactly what I mean........
> line from a povfile:
>
> <0,0,0>
> scale .1 } rotate <0,0,0>}
>
> chr(128),
> Is it possible to do somthing like this in Povray.....
>
> text { ttf "c:\windows\fonts\Times.ttf" "N" + chr(128)
> +
> "PP" .1, 0 pigment {rgb <0,0,0> scale .1 } rotate <0,0,0>}
>
> I think you get the idea
Yes, as Warp said:
text {
ttf "c:\windows\fonts\Times.ttf"
concat("N" + chr(128)+"PP")
.1, 0
pigment {rgb <0,0,0> scale .1 }
rotate <0,0,0>
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff wrote:
> In article <38517f75@news.povray.org>, "AC" <amb### [at] teliacom> wrote:
>
> > Not exactly what I mean........
> > line from a povfile:
> >
> > <0,0,0>
> > scale .1 } rotate <0,0,0>}
> >
> > Is it possible to do somthing like this in Povray.....
> >
> > text { ttf "c:\windows\fonts\Times.ttf" "N" + chr(128) +
> > "PP" .1, 0 pigment {rgb <0,0,0> scale .1 } rotate <0,0,0>}
> >
> > I think you get the idea
>
> Maybe that character can only be accessed with the Unicode patch by Jon
> Cruz. It is included in the Superpatch, although it apparently has some
> problems with the Mac.
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/
Yes, the Unipatch should do the job. It's in the superpatch.
See here for some simple docs
http://www.geocities.com/SiliconValley/Network/4453/unipatch/
http://www.geocities.com/SiliconValley/Network/4453/unipatch/unipatch.jpg
But it is very strange that chr(128) should work for that. But... that's
because it happens to be the location of the capital letter 'A' with diaeresis
in the Apple roman font encoding, and the official POV-Ray goes for the first
Apple encoding table in all fonts... (try a different font and you might get
it popping up in a different location)
Oh, and the Unipatch doesn't really have a problem with the Mac. Just with
poorly done Mac fonts :-) . But in the version that I'm almost done with, that
is fixed. Along with some bugfixes that will cause even the standard POV-Ray
to choke on most newer Mac fonts.
--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remco de Korte <rem### [at] xs4allnl> wrote in message
news:3851B023.47BF9C17@xs4all.nl...
> AC wrote:
> >
> > Nieminen Juha <war### [at] punarastascstutfi> wrote in message
> > news:38513935@news.povray.org...
> > > AC <amb### [at] teliacom> wrote:
> > > : Is there a way to put all the characters in one string so that I
> > only
> > have
> > > : to use the Text command once to draw the word?
> > >
> > > Yes, using the concat() function.
> > >
> > > --
> > >
> > main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> > > ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*-
> > Warp -*/
> >
> > Not exactly what I mean........
> > line from a povfile:
> >
> > <0,0,0>
> > scale .1 } rotate <0,0,0>}
> >
> > chr(128),
> > Is it possible to do somthing like this in Povray.....
> >
> > text { ttf "c:\windows\fonts\Times.ttf" "N" + chr(128)
> > +
> > "PP" .1, 0 pigment {rgb <0,0,0> scale .1 } rotate <0,0,0>}
> >
> > I think you get the idea
>
> Yes, as Warp said:
>
> text
> ttf "c:\windows\fonts\Times.ttf"
> concat("N" + chr(128)+"PP")
> .1, 0
> pigment {rgb <0,0,0> scale .1 }
> rotate <0,0,0>
> }
Thanks for the help, It solved my problem
Ambis
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|