POV-Ray : Newsgroups : povray.binaries.images : next feature, please... Server Time
30 Jul 2024 00:17:59 EDT (-0400)
  next feature, please... (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: clipka
Subject: next feature, please...
Date: 28 Jul 2013 08:04:37
Message: <51f508d5@news.povray.org>
I guess this image doesn't need too much explanation. Another feature to 
be included in that branch of mine.


Post a reply to this message


Attachments:
Download 'read_text.png' (170 KB)

Preview of image 'read_text.png'
read_text.png


 

From: Thomas de Groot
Subject: Re: next feature, please...
Date: 28 Jul 2013 10:22:42
Message: <51f52932$1@news.povray.org>
On 28-7-2013 14:04, clipka wrote:
> I guess this image doesn't need too much explanation. Another feature to
> be included in that branch of mine.

Reading and rendering a text document could generate some interesting 
things.

Thomas


Post a reply to this message

From: clipka
Subject: Re: next feature, please...
Date: 28 Jul 2013 12:22:11
Message: <51f54533@news.povray.org>
Am 28.07.2013 14:04, schrieb clipka:
> I guess this image doesn't need too much explanation. Another feature to
> be included in that branch of mine.

Spiced it up a bit.


Post a reply to this message


Attachments:
Download 'read_text.png' (419 KB)

Preview of image 'read_text.png'
read_text.png


 

From: Cousin Ricky
Subject: Re: next feature, please...
Date: 28 Jul 2013 14:10:03
Message: <web.51f55d89d6d33074540235480@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> I guess this image doesn't need too much explanation. Another feature to
> be included in that branch of mine.

At the price of placing an extra parsing burden on the artist, data files can
have more flexible formats, and the scene file can recover from data format
errors.  The parsing burden can be considerable, but the difficult is usually
preferable to the impossible; plus, the burden may be offset by not having to
massage the data files in advance.

More power to the POVver!


Post a reply to this message

From: Shay
Subject: Re: next feature, please...
Date: 28 Jul 2013 15:11:38
Message: <51f56cea@news.povray.org>
So now file-format converters can be written in POV SDL?

This should get at least fairly close. I don't remember what all POV can do 
with strings once it reads them.
I remember trying to use POV with no idea how to even _run_ someone's 
C-language file converter, much less adapt that file converter to my needs.

 -Shay

"clipka" <ano### [at] anonymousorg> wrote in message 
news:51f508d5@news.povray.org...
> I guess this image doesn't need too much explanation. Another feature to
> be included in that branch of mine.
>


Post a reply to this message

From: Norbert Kern
Subject: Re: next feature, please...
Date: 28 Jul 2013 15:30:02
Message: <web.51f570d9d6d33074278de28a0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> I guess this image doesn't need too much explanation. Another feature to
> be included in that branch of mine.


Nice feature.
Is it possible to read pdf text files to render wordle clouds?

Up to now I've converted pdf to large imagemaps, but even at large scale you can
see artefacts like in the image attached.

Norbert Kern


Post a reply to this message


Attachments:
Download 'wordle3.jpg' (419 KB)

Preview of image 'wordle3.jpg'
wordle3.jpg


 

From: Le Forgeron
Subject: Re: next feature, please...
Date: 28 Jul 2013 17:13:41
Message: <51f58985$1@news.povray.org>
Le 28/07/2013 20:06, Cousin Ricky nous fit lire :
> clipka <ano### [at] anonymousorg> wrote:
>> I guess this image doesn't need too much explanation. Another feature to
>> be included in that branch of mine.
> 
> At the price of placing an extra parsing burden on the artist, data files can
> have more flexible formats, and the scene file can recover from data format
> errors.  The parsing burden can be considerable, but the difficult is usually
> preferable to the impossible; plus, the burden may be offset by not having to
> massage the data files in advance.
> 
> More power to the POVver!
> 
> 
Is it me, or was it just the capability to read a single line of text ?
(overloading the old read(file_handle, variable...) )

I do not know what Cousin Ricky saw.


Post a reply to this message

From: clipka
Subject: Re: next feature, please...
Date: 29 Jul 2013 00:30:51
Message: <51f5effb@news.povray.org>
Am 28.07.2013 23:13, schrieb Le_Forgeron:
> Le 28/07/2013 20:06, Cousin Ricky nous fit lire :
>> clipka <ano### [at] anonymousorg> wrote:
>>> I guess this image doesn't need too much explanation. Another feature to
>>> be included in that branch of mine.
>>
>> At the price of placing an extra parsing burden on the artist, data files can
>> have more flexible formats, and the scene file can recover from data format
>> errors.  The parsing burden can be considerable, but the difficult is usually
>> preferable to the impossible; plus, the burden may be offset by not having to
>> massage the data files in advance.
>>
>> More power to the POVver!
>>
>>
> Is it me, or was it just the capability to read a single line of text ?
> (overloading the old read(file_handle, variable...) )
>
> I do not know what Cousin Ricky saw.

What he saw was the /potential/ that is in such a seemingly trivial 
feature: It enables you to read not just POV-Ray's quirky version of CSV 
data files, but any text-based format you like - .obj files, XML files, 
plain old text, whatever you like. You "only" need to write SDL code to 
parse the text you read.


Post a reply to this message

From: clipka
Subject: Re: next feature, please...
Date: 29 Jul 2013 00:40:43
Message: <51f5f24b$1@news.povray.org>
Am 28.07.2013 21:11, schrieb Shay:
> So now file-format converters can be written in POV SDL?

Exactly :-)

> This should get at least fairly close. I don't remember what all POV can
> do with strings once it reads them.

Its string manipulation arsenal is actually painfully poor (as I noticed 
when writing the syntax-highlighted version of the scene) - it doesn't 
even have a "find in string" function, and the substr() function is a 
PITA to use; but if you are willing to accept long parsing times the 
built-in functions are sufficient to get you wherever you want to go.


Post a reply to this message

From: clipka
Subject: Re: next feature, please...
Date: 29 Jul 2013 00:43:33
Message: <51f5f2f5@news.povray.org>
Am 28.07.2013 21:28, schrieb Norbert Kern:
> clipka <ano### [at] anonymousorg> wrote:
>> I guess this image doesn't need too much explanation. Another feature to
>> be included in that branch of mine.
>
>
> Nice feature.
> Is it possible to read pdf text files to render wordle clouds?

PDF files are binary files, so you'll have to convert them to plaintext 
first. (In many cases selecting the whole text and cut-and-pasting it 
into notepad should do the job.)


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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