POV-Ray : Newsgroups : povray.general : Old post about rendering the text of a .pov file Server Time
18 May 2021 05:03:18 EDT (-0400)
  Old post about rendering the text of a .pov file (Message 1 to 10 of 10)  
From: Bald Eagle
Subject: Old post about rendering the text of a .pov file
Date: 3 Feb 2021 18:15:01
Message: <web.601b2dbedc0255291f9dae300@news.povray.org>
Maybe my memory is messing with me, but I recall a thread where someone
developed a scene to parse a .pov file and render the text, with proper keyword
highlighting.

IIRC, the render looked very much like this:

http://news.povray.org/povray.binaries.images/message/%3C51f54533%40news.povray.org%3E/#%3C51f54533%40news.povray.org%3
E

but the other part of the memory is that the author was a bit secretive about
his method, as he had invested a bit of work into figuring out the parsing.

I've looked a couple times in the past but haven't been able to find that post -
maybe someone has better POV-Ray search kung-fu(or a better memory) than I do?

Maybe it was on TINA-CheP or something?


Post a reply to this message

From: Thomas de Groot
Subject: Re: Old post about rendering the text of a .pov file
Date: 4 Feb 2021 02:46:19
Message: <601ba64b$1@news.povray.org>
Op 04/02/2021 om 00:11 schreef Bald Eagle:
> 
> Maybe my memory is messing with me, but I recall a thread where someone
> developed a scene to parse a .pov file and render the text, with proper keyword
> highlighting.
> 
> IIRC, the render looked very much like this:
> 
>
http://news.povray.org/povray.binaries.images/message/%3C51f54533%40news.povray.org%3E/#%3C51f54533%40news.povray.org%3
> E
> 
> but the other part of the memory is that the author was a bit secretive about
> his method, as he had invested a bit of work into figuring out the parsing.
> 
> I've looked a couple times in the past but haven't been able to find that post -
> maybe someone has better POV-Ray search kung-fu(or a better memory) than I do?
> 
> Maybe it was on TINA-CheP or something?
> 
> 

I know exactly what you are talking about but... impossible to find 
trace of it (except that clipka image). It was part of a set of other 
goodies iirc. Not on Tina-CheP, definitely. I keep looking/thinking and 
maybe I shall come upon it.

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: Old post about rendering the text of a .pov file
Date: 4 Feb 2021 04:25:01
Message: <web.601bbd412b70026179819d980@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> Maybe my memory is messing with me, but I recall a thread where someone
> developed a scene to parse a .pov file and render the text, with proper keyword
> highlighting.  ...
> but the other part of the memory is that the author was a bit secretive about
> his method, as he had invested a bit of work into figuring out the parsing.
>
> I've looked a couple times in the past but haven't been able to find that post -
> maybe someone has better POV-Ray search kung-fu(or a better memory) than I do?
>
> Maybe it was on TINA-CheP or something?

iiuc, you're talking about user 'ingo'; I have a few *.{pov,html} on a machine,
all dated January 2019, but cannot now find the archive.  hth.


regards, jr.


Post a reply to this message

From: Mike Horvath
Subject: Re: Old post about rendering the text of a .pov file
Date: 6 Feb 2021 20:57:04
Message: <601f48f0$1@news.povray.org>
On 2/3/2021 6:11 PM, Bald Eagle wrote:
> 
> Maybe my memory is messing with me, but I recall a thread where someone
> developed a scene to parse a .pov file and render the text, with proper keyword
> highlighting.
> 
> IIRC, the render looked very much like this:
> 
>
http://news.povray.org/povray.binaries.images/message/%3C51f54533%40news.povray.org%3E/#%3C51f54533%40news.povray.org%3
> E
> 
> but the other part of the memory is that the author was a bit secretive about
> his method, as he had invested a bit of work into figuring out the parsing.
> 
> I've looked a couple times in the past but haven't been able to find that post -
> maybe someone has better POV-Ray search kung-fu(or a better memory) than I do?
> 
> Maybe it was on TINA-CheP or something?
> 
> 

I wish POV-Ray could read SVG natively. Then you could do whatever.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Old post about rendering the text of a .pov file
Date: 6 Feb 2021 21:02:55
Message: <601f4a4f$1@news.povray.org>
On 2/6/2021 8:57 PM, Mike Horvath wrote:
> I wish POV-Ray could read SVG natively. Then you could do whatever.
> 
> 
> Mike

PDF too.


Mike


Post a reply to this message

From: Thomas de Groot
Subject: Re: Old post about rendering the text of a .pov file
Date: 7 Feb 2021 02:34:15
Message: <601f97f7$1@news.povray.org>
Op 04/02/2021 om 08:46 schreef Thomas de Groot:
> Op 04/02/2021 om 00:11 schreef Bald Eagle:
>>
>> Maybe my memory is messing with me, but I recall a thread where someone
>> developed a scene to parse a .pov file and render the text, with 
>> proper keyword
>> highlighting.
>>
>> IIRC, the render looked very much like this:
>>
>>
http://news.povray.org/povray.binaries.images/message/%3C51f54533%40news.povray.org%3E/#%3C51f54533%40news.povray.org%3

>>
>> E
>>
>> but the other part of the memory is that the author was a bit 
>> secretive about
>> his method, as he had invested a bit of work into figuring out the 
>> parsing.
>>
>> I've looked a couple times in the past but haven't been able to find 
>> that post -
>> maybe someone has better POV-Ray search kung-fu(or a better memory) 
>> than I do?
>>
>> Maybe it was on TINA-CheP or something?
>>
>>
> 
> I know exactly what you are talking about but... impossible to find 
> trace of it (except that clipka image). It was part of a set of other 
> goodies iirc. Not on Tina-CheP, definitely. I keep looking/thinking and 
> maybe I shall come upon it.
> 

What I came upon are the UberPOV scene files by Clipka himself. There is 
one named: read_text.pov, which seems to do the job. I include it here 
(to avoid dispersion). As far as the post itself, no idea.

Obviously, this is only a part answer to your query.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'read_text.pov.txt' (6 KB)

From: jr
Subject: Re: Old post about rendering the text of a .pov file
Date: 7 Feb 2021 04:45:00
Message: <web.601fb6102b70026179819d980@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > Maybe my memory is messing with me, but I recall a thread where someone
> > developed a scene to parse a .pov file and render the text, with proper keyword
> > highlighting.  ...
> > but the other part of the memory is that the author was a bit secretive about
> > his method, as he had invested a bit of work into figuring out the parsing.
> >
> > I've looked a couple times in the past but haven't been able to find that post -
> > maybe someone has better POV-Ray search kung-fu(or a better memory) than I do?
> >
> > Maybe it was on TINA-CheP or something?
>
> iiuc, you're talking about user 'ingo'; I have a few *.{pov,html} on a machine,
> all dated January 2019, but cannot now find the archive.  hth.

<http://news.povray.org/povray.tools.general/message/%3CXnsA9CCAC0788F40seed7%40news.povray.org%3E/#%3CXnsA9CCAC0788F40
seed7%40news.povray.org%3E>

> regards, jr.


Post a reply to this message

From: Le Forgeron
Subject: Re: Old post about rendering the text of a .pov file
Date: 7 Feb 2021 08:29:13
Message: <601feb29$1@news.povray.org>
Le 07/02/2021 à 03:02, Mike Horvath a écrit :
> On 2/6/2021 8:57 PM, Mike Horvath wrote:
>> I wish POV-Ray could read SVG natively. Then you could do whatever.
>>
>>
>> Mike
> 
> PDF too.

svg is xml, and 2D.
pdf is proprietary.

What would you do with a svg file ?


Post a reply to this message

From: Bald Eagle
Subject: Re: Old post about rendering the text of a .pov file
Date: 7 Feb 2021 09:50:08
Message: <web.601ffd3e2b7002611f9dae300@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> What would you do with a svg file ?

Cousin Ricky and I both converted the lines to splines for sphere_sweeps, and I
would assume one could use a data set to make a prism.

The equation on the cover page of the Bezier monograph was converted from an SVG
into POV-Ray - slowly, arduously - with a spreadsheet and Cousin Ricky's Bezier
sphere sweep macros.

Back when I was using VISIO a lot, I could draw a diagram and save it as an SVG.
 I can envision laying out a scene in VISIO, drawing a camera path for an
animation, and using line color to denote acceleration, constant speed, and
deceleration.

Not all images on the web are available as png, gif, jpg, etc - some, like the
equation, are svg.

I think part of real utility of being able to read an SVG file would be the
time-saving value of reading in the coordinate set, which could then be
inspected, adjusted, saved in a different format, etc.
I can currently render text in POV-Ray as a primitive, but:
- any pov file that references that font requires that another user has that
font installed and accessible.
- That may involve copyright issues if the font is commercial
- one can't access the definition of the font to manipulate it
 -- using functions, turbulence, etc.
 -- if I can read in the data ans SEE it, then I can make NEW characters
     -- like Dave Blandston's outline text
     -- or use the base character to make a modified character with an
underline, strikethrough, diacritical mark, etc.


Post a reply to this message

From: Mike Horvath
Subject: Re: Old post about rendering the text of a .pov file
Date: 7 Feb 2021 17:20:34
Message: <602067b2$1@news.povray.org>
On 2/7/2021 8:29 AM, Le_Forgeron wrote:
> Le 07/02/2021 à 03:02, Mike Horvath a écrit :
>> On 2/6/2021 8:57 PM, Mike Horvath wrote:
>>> I wish POV-Ray could read SVG natively. Then you could do whatever.
>>>
>>>
>>> Mike
>>
>> PDF too.
> 
> svg is xml, and 2D.
> pdf is proprietary.
> 
> What would you do with a svg file ?
> 


I create a lot of diagrams, and it would save m a lot time having to 
convert the labels to PNG or whatever. I have to do this if I increase 
the resolution of the render sometimes too to avoid the jaggies.


Mike


Post a reply to this message

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