POV-Ray : Newsgroups : povray.binaries.images : Inversion Server Time
7 Nov 2024 11:32:23 EST (-0500)
  Inversion (Message 1 to 10 of 24)  
Goto Latest 10 Messages Next 10 Messages >>>
From: clipka
Subject: Inversion
Date: 8 Apr 2016 13:43:50
Message: <5707edd6@news.povray.org>
CSOP, inverted through a magic trick...


Post a reply to this message


Attachments:
Download 'test.png' (98 KB)

Preview of image 'test.png'
test.png


 

From: clipka
Subject: Re: Inversion
Date: 8 Apr 2016 13:59:53
Message: <5707f199@news.povray.org>
Am 08.04.2016 um 19:43 schrieb clipka:
> CSOP, inverted through a magic trick...

Same magic, different effect.


Post a reply to this message


Attachments:
Download 'test.png' (145 KB)

Preview of image 'test.png'
test.png


 

From: Christian Froeschlin
Subject: Re: Inversion
Date: 8 Apr 2016 15:47:29
Message: <57080ad1$1@news.povray.org>
On 08.04.2016 19:43, clipka wrote:

> CSOP, inverted through a magic trick...

negative strength of light source?


Post a reply to this message

From: clipka
Subject: Re: Inversion
Date: 8 Apr 2016 17:49:17
Message: <5708275d$1@news.povray.org>
Am 08.04.2016 um 21:47 schrieb Christian Froeschlin:
> On 08.04.2016 19:43, clipka wrote:
> 
>> CSOP, inverted through a magic trick...
> 
> negative strength of light source?

Better than that: A new feature under development.

Anyone want to take a guess?

I give you a hint: My primary motivation for implementing this feature
is to once and for all put an end to the misuse of assumed_gamma; once
this feature is released, there won't be any more excuses.

Got an idea already?

Here's another hint: While I'm implementing the feature from scratch, it
will be similar in function to a patch developed by a namesake of mine a
decade ago. (My implementation will be a bit more limited in one way
though, while providing more flexibility in another way.)


Post a reply to this message

From: Bald Eagle
Subject: Re: Inversion
Date: 8 Apr 2016 19:05:00
Message: <web.570838d5c6ebc48080403a200@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> Anyone want to take a guess?

Um, it looks like some sort of film exposure feature, with solarization
occurring at the bright spot on the sphere.

It's been WAY too long since I've dabbled with real photography and played with
film gamma, artistic effects, and alternative photographic processes...

Hot or cold?  :)


Post a reply to this message

From: clipka
Subject: Re: Inversion
Date: 8 Apr 2016 20:08:31
Message: <570847ff$1@news.povray.org>
Am 09.04.2016 um 01:03 schrieb Bald Eagle:
> clipka <ano### [at] anonymousorg> wrote:
> 
>> Anyone want to take a guess?
> 
> Um, it looks like some sort of film exposure feature, with solarization
> occurring at the bright spot on the sphere.
> 
> It's been WAY too long since I've dabbled with real photography and played with
> film gamma, artistic effects, and alternative photographic processes...
> 
> Hot or cold?  :)

Burnt your skin on a tip of the feature, but caught frostbite on the
specifics of the sample image. And you didn't get hold of everything yet.

Fact is, the image is an exact negative of one of the insert menu samples.

But I think you got close enough: It is indeed a generic tonemapping
feature.

The predecessor is, of course, Christoph Hormann's tonemapping
implementation in MegaPOV.

What this new incarnation will lack is the post-aliasing part of the
feature. All tonemapping will be done before aliasing, for various reasons.

What this new incarnation will add is the ability to apply different
tonemapping functions to each colour channel, perform cross-channel
colour maths, and as an extra bonus even use functions that depend on
the screen location.

(As for the post-aliasing part, that will be covered by a generic
post-processing feature /some/ day in the future.)


Post a reply to this message

From: Bald Eagle
Subject: Re: Inversion
Date: 9 Apr 2016 16:35:01
Message: <web.570966f9c6ebc48080403a200@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> Fact is, the image is an exact negative of one of the insert menu samples.

Tone reversed and color reversed, just like a typical color negative (without
the orange color mask).  I guess "it's [just] a negative" seemed too simple an
answer.


> What this new incarnation will add is the ability to apply different
> tonemapping functions to each colour channel, perform cross-channel
> colour maths, and as an extra bonus even use functions that depend on
> the screen location.

So, this would be analogous to various image processing features and "filters"
that a lot of graphics programs have?
I find the screen location feature interesting, and am wondering how that will
function, and what inspired its development.

I would imagine that various functions could be used to adjust brightness and
colour using gradients, concentric-type adjustment such as the cos^4 brightness
dropoff typically seen in camera lenses, etc.
I guess you could also use one image to map/adjust tones onto/in another kind of
like a pigment/texture/image map.

Sounds like a very cool project indeed, with lots of potential!


Post a reply to this message

From: clipka
Subject: Re: Inversion
Date: 9 Apr 2016 23:38:18
Message: <5709caaa$1@news.povray.org>
Am 09.04.2016 um 22:32 schrieb Bald Eagle:
> clipka <ano### [at] anonymousorg> wrote:

>> What this new incarnation will add is the ability to apply different
>> tonemapping functions to each colour channel, perform cross-channel
>> colour maths, and as an extra bonus even use functions that depend on
>> the screen location.
> 
> So, this would be analogous to various image processing features and "filters"
> that a lot of graphics programs have?
> I find the screen location feature interesting, and am wondering how that will
> function, and what inspired its development.

"Because we can".

Actually the chain of thought was something like this:

(1) "To really wrap up the topic I want to provide the user with a means
to effect gamma adjustment for purely artistic purposes, so that they'll
never again have to misuse any of the gamma handling stuff intended for
purely technical purposes. Some global 'artistic_gamma' setting might do
the job."

(2) "Then again, artistic gamma adjustment is just a special case of
tonemapping, and possibly not even the best choice for what the users
actually want to achieve with it, so a dedicated 'artistic_gamma'
feature would be pretty short-sighted, wouldn't it? Better implement a
generic tonemapping feature."

(3) "Thinking about it, we do have this plan to add a generic full-image
postprocessing feature somwehere further down the road, which would make
this dedicated tonemapping feature obsolete. It would be wise to plan
ahead now, lay out the syntax we'll want for that future feature, and
already implement whatever subset we can, most notably tonemapping; of
course we can also throw in some other goodies like doing fancy stuff
based on the screen coordinates."

(4) "The full-image postprocessing feature will need to run after the
entire image has been raytraced, but the current architecture provides
no clean place to hook it up there. Let's see where I can hook it up for
now... ah, there's a nice place for it."

(5) "Damn, I forgot about anti-aliasing: It'll make a difference whether
we apply tonemapping before or after that step. The final full-image
postprocessing feature will inevitably need to operate
post-anti-aliasing, but the preliminary place I've chosen is
pre-anti-aliasing, so we're guaranteed to break the behaviour as soon as
we move it to its final place. I need to put it someplace else already."

(6) "Wait, hold it -- I think doing the tonemapping _before_ the
anti-aliasing actually looked better. So we probably need a switdh to
choose whether to apply it before or after anti-aliasing... then again,
in pre-anti-aliasing mode we'd have only limited functionality; and some
poeple might want to use both pre- _and_ post-anti-aliasing
postprocessing... Dang, this gets more complicated than I expected."

(7) "You know what? Sod it! I'll just name the pre-anti-aliasing
tampering with image data 'tonemapping', and the post-anti-aliasing
tampering will be called 'postprocessing'."

(8) "Hm, what about the non-tonemapping stuff like the screen location?
Ah, I'll just keep it in there. It doesn't hurt, and someone might find
it useful for something some day."

And that's how the screen coordinates have ended up in the tonemapping
feature.


> I would imagine that various functions could be used to adjust brightness and
> colour using gradients, concentric-type adjustment such as the cos^4 brightness
> dropoff typically seen in camera lenses, etc.
> I guess you could also use one image to map/adjust tones onto/in another kind of
> like a pigment/texture/image map.

With the x and y screen coordinates available, it should be possible to
write tonemapping functions that overlay a pattern onto the image (via a
pattern function); such a pattern could in turn be arbitrarily complex,
from a simple spherical pattern creating a vignette effect to a complex
object pattern based on one or more text objects overlaying textual
information like a singature or frame number.


Post a reply to this message

From: clipka
Subject: Re: Inversion
Date: 10 Apr 2016 11:11:00
Message: <570a6d04@news.povray.org>
Am 08.04.2016 um 19:43 schrieb clipka:
> CSOP, inverted through a magic trick...

Just in case nobody noticed my post in povray.beta-test -- an
experimental version supporting tonemapping can be found at:

https://github.com/POV-Ray/povray/releases/tag/v3.7.1-alpha.8558038%2Bav124

See my post in povray.beta-test for a detailed description with
examples. Alternatively, you can find a short description in the commit
description at:

https://github.com/POV-Ray/povray/commit/6cb824e1bcbd752eb44e31745f7258af8de9c13c

But yeah, go out and enjoy the beautiful spring weekend. Desert me. Go
ahead and see if I care. ;)


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Inversion
Date: 10 Apr 2016 14:30:34
Message: <570a9bca$1@news.povray.org>
El 10/04/16 a las 17:10, clipka escribió:
> But yeah, go out and enjoy the beautiful spring weekend. Desert me.
> Go ahead and see if I care. ;)

   I'm really curious about that new feature and wanted to test it today,
but your derivatives example and my broken washing machine kept me busy
all day... luckily, I could repair the washing machine, and somehow I
worked out the derivatives example into a functional foam pattern (tough
I'm still fine-tuning it).

--
jaime


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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