POV-Ray : Newsgroups : povray.advanced-users : Text objects on Pov? : Re: Text objects on Pov? ...... Thanks Server Time
2 Nov 2024 09:19:21 EDT (-0400)
  Re: Text objects on Pov? ...... Thanks  
From: AC
Date: 11 Dec 1999 05:46:08
Message: <38522b70@news.povray.org>
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

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