POV-Ray : Newsgroups : povray.binaries.images : Raytraced luminous color bleeding (80kb jpeg) Server Time
11 Aug 2024 03:29:55 EDT (-0400)
  Raytraced luminous color bleeding (80kb jpeg) (Message 21 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Samuel Benge
Subject: Re: Raytraced luminous color bleeding (80kb jpeg)
Date: 26 Jun 2004 12:54:25
Message: <40DDA9DA.3060101@hotmail.com>
Tim Nikias wrote:

> 
> This reminds me of my Glare-Include I've written a while ago. What I did was
> to render the scene with Black-Textures and Specular-Highlights only, then
> calculate the position for the Glare-Image in-scene. Using average-pattern,
> I blurred the image a little and thus got me the glaring effect.


That would be perfect for ocean scenes and rolex scenes :) I can't 
imagine lining the image up 'in scene' though... sounds very difficult. 
Can you post a link to an example of your technique?


> Do you use the colored output of your image as input for the blooming
> effect?


Yes. I have to first place the #declared image_map inside a 
pigment_pattern block, which makes it grayscale. With that map I am able 
to make the darks parts transparent and the light parts colored with my 
original image_map. I blur the result over a plane with the original 
image_map, untouched. I am thinking of releasing the code, but it has to 
be cleaned up quite a bit.

-Sam


Post a reply to this message

From: Tim Nikias
Subject: Re: Raytraced luminous color bleeding (80kb jpeg)
Date: 26 Jun 2004 19:50:52
Message: <40de0bdc$1@news.povray.org>
> > This reminds me of my Glare-Include I've written a while ago. What I did
was
> > to render the scene with Black-Textures and Specular-Highlights only,
then
> > calculate the position for the Glare-Image in-scene. Using
average-pattern,
> > I blurred the image a little and thus got me the glaring effect.
>
>
> That would be perfect for ocean scenes and rolex scenes :) I can't
> imagine lining the image up 'in scene' though... sounds very difficult.
> Can you post a link to an example of your technique?
>

It's in my Download-Section:
http://www.nolights.de/download.html#Glare Macros

What I do is just a little arithmetic: take the camera's location and
look_at (along with right, up, and sky) and calculate the viewing frustrum
from that. Place a quad (two triangles) in the line of sight with the
described image_map-function, and there you go! You can have a look at the
source if you like. But linking to my Download-Section should imply that.
;-)


-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Raytraced luminous color bleeding (80kb jpeg)
Date: 28 Jun 2004 05:53:05
Message: <40dfea81$1@news.povray.org>
Samuel Benge wrote:
> Hello everyone. Today I made a scene file which takes an image and 
> applies a 'bloom' effect to the bright parts. The example attached is a 
> bit overdone to show the results. I can control which values in the 
> image are active.

   It's a very nice effect, and the scene you used for the test is also 
beautiful and very apropiated.

> I think that this technique is probably okay to use in the IRTC, but I 
> wonder if it would be considered a post-processing step or not....

   I think it is clearly a postprocessing filter, but it is allowed as 
it is done by the same renderer. If you do it automatically using a two 
pass technique it's perfectly "legal". Other thing is if the judges will 
detract point for it not being a "true" 3D effect... I will not, as I 
see it as a very creative use of the renderer, wich is what the spirit 
of the competition is all about, IMHO.

   Indeed, congrats: I see your inspiration is coming back!

--
Jaime


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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