POV-Ray : Newsgroups : povray.windows : Add additional data embedded in [supported] output graphics files Server Time
13 Oct 2024 07:03:37 EDT (-0400)
  Add additional data embedded in [supported] output graphics files (Message 1 to 6 of 6)  
From: Bald Eagle
Subject: Add additional data embedded in [supported] output graphics files
Date: 28 Feb 2016 21:55:00
Message: <web.56d3b273af51b1d05e7df57c0@news.povray.org>
I was just thinking about this -

Is there a simple way to add additional data to the file formats that allow it -
metadata, "Alternate Data Streams" for the information that pops-up when
hovering over the file in a directory, Squirreling away notes - author,
version/revision, (C), and maybe even SDL code inside PNG files, etc. ???

Having POV-Ray automatically post-process a file would be good, having this
capability as a native function of POV-Ray would be better   ;)

Being able to load such embedded SDL from a supported graphic file into POV-Ray
would be super cool as well   :)

Great way to simplify uploading all the data, and HOW you made that great
raytraced image wouldn't be lost....


Post a reply to this message

From: Mike Horvath
Subject: Re: Add additional data embedded in [supported] output graphics files
Date: 28 Feb 2016 22:23:41
Message: <56d3b9bd$1@news.povray.org>
On 2/28/2016 9:52 PM, Bald Eagle wrote:
>
> I was just thinking about this -
>
> Is there a simple way to add additional data to the file formats that allow it -
> metadata, "Alternate Data Streams" for the information that pops-up when
> hovering over the file in a directory, Squirreling away notes - author,
> version/revision, (C), and maybe even SDL code inside PNG files, etc. ???
>
> Having POV-Ray automatically post-process a file would be good, having this
> capability as a native function of POV-Ray would be better   ;)
>
> Being able to load such embedded SDL from a supported graphic file into POV-Ray
> would be super cool as well   :)
>
> Great way to simplify uploading all the data, and HOW you made that great
> raytraced image wouldn't be lost....
>
>
>

http://news.povray.org/povray.advanced-users/thread/%3C54d7aa78$1@news.povray.org%3E/

It's a "least common denominator" kind of a thing. Some formats don't 
support a lot of metadata, therefore the other formats should also be 
limited to this small amount.

Mike


Post a reply to this message

From: Bald Eagle
Subject: Re: Add additional data embedded in [supported] output graphics files
Date: 28 Feb 2016 23:20:01
Message: <web.56d3c5c583ac36f15e7df57c0@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:

>
http://news.povray.org/povray.advanced-users/thread/%3C54d7aa78$1@news.povray.org%3E/

Aha!   I see great minds think alike   :)

> It's a "least common denominator" kind of a thing. Some formats don't
> support a lot of metadata, therefore the other formats should also be
> limited to this small amount.
>
> Mike

I was thinking that POV-Ray must have things that it does based upon which file
format it writes to.
Doesn't seem to hard to filter what you can and cannot write out, or how much,
based upon what output format is specified.

#if (format = allowed)
     go hog wild
#else
     #if (format = somewhat)
          write whatever data will fit
     #else
          tactfully tell user most of the data got sh*tcannned
          "Please switch to format A, B, or C to include all desired data"
     #end
#end




What about rigging up some kinda post-processing thing?
Can POV-Ray spit out variables to a 3rd party program that POV-Ray executes on
completion of the render?
I dunno much about things like that   :O


Post a reply to this message

From: clipka
Subject: Re: Add additional data embedded in [supported] output graphics files
Date: 29 Feb 2016 01:09:38
Message: <56d3e0a2$1@news.povray.org>
Am 29.02.2016 um 05:15 schrieb Bald Eagle:

> What about rigging up some kinda post-processing thing?
> Can POV-Ray spit out variables to a 3rd party program that POV-Ray executes on
> completion of the render?
> I dunno much about things like that   :O

In the INI file you can instruct POV-Ray to run a post-render command
(typically a batch file on Windows machines), which could then read data
from a file generated using "#write".

Or you could even generate the whole batch file in this manner.


Post a reply to this message

From: Mike Horvath
Subject: Re: Add additional data embedded in [supported] output graphics files
Date: 1 Mar 2016 12:51:59
Message: <56d5d6bf$1@news.povray.org>
On 2/28/2016 11:15 PM, Bald Eagle wrote:
> What about rigging up some kinda post-processing thing?
> Can POV-Ray spit out variables to a 3rd party program that POV-Ray executes on
> completion of the render?
> I dunno much about things like that   :O
>
>

Someone would have to create a tool that writes the metadata to the image.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Add additional data embedded in [supported] output graphics files
Date: 1 Mar 2016 12:54:17
Message: <56d5d749$1@news.povray.org>
On 2/28/2016 11:15 PM, Bald Eagle wrote:
> What about rigging up some kinda post-processing thing?
> Can POV-Ray spit out variables to a 3rd party program that POV-Ray executes on
> completion of the render?
> I dunno much about things like that   :O
>
>

A related idea I came up with is to simply overlay text on top of the 
image with all the information you want. This would be for test renders 
only of course.

Screen.inc might do the trick.


Mike


Post a reply to this message

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