POV-Ray : Newsgroups : povray.general : Blending effects... Server Time
5 Aug 2024 06:18:40 EDT (-0400)
  Blending effects... (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: ABX
Subject: Re: Blending effects...
Date: 19 Dec 2002 13:52:41
Message: <69540vkpvcv57ntng5p0s6ljjosohe7o8k@4ax.com>
On Thu, 19 Dec 2002 12:46:41 -0600, "Shay" <sah### [at] simcopartscom> wrote:
> Another possibility might be to use oriented cones and to then combine the
> object and proximity patterns. I know proximity is slow, but I'm not sure
> how slow it would be in this simple case.

In case of cones you can use functions from iso_csg library instead of
proximity pattern. It should be very fast then.

ABX


Post a reply to this message

From: Shay
Subject: Re: Blending effects...
Date: 19 Dec 2002 13:57:36
Message: <3e0216a0@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:69540vkpvcv57ntng5p0s6ljjosohe7o8k@4ax.com...
>
> In case of cones you can use functions from iso_csg library instead of
> proximity pattern. It should be very fast then.
>
> ABX

cool. This definitely seems like the best solution then, because an even
amount of color will always be added or subtracted despite the number of
light sources which are reaching a surface.

 -Shay


Post a reply to this message

From: Tim Nikias
Subject: Re: Blending effects...
Date: 19 Dec 2002 15:08:06
Message: <3e022726@news.povray.org>
But that was exactly the effect I was looking for!

In 3D-Engines, these particles are just thrown onto
a rendered image and brighten the image, a lot of
particles get very bright (some more enhanced engines
blend between colors when things are getting bright,
causing neat color effects), a few stay dark.

Spotlights was an idea that seemed very useful, but
it throws shadows or lights up all objects in its path,
except when using light-groups in a very complicated
and difficult manner in order to get the correct spotlights
for the correct objects...

Nobody played Soul Reaver, Vampire, Descent or
such? Freespace, Aquanox, anything? All these use that
technique! I'm pretty much sure that almost any 3D-Engine
of today does that...

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

> > In case of cones you can use functions from iso_csg library instead of
> > proximity pattern. It should be very fast then.
> >
> > ABX
>
> cool. This definitely seems like the best solution then, because an even
> amount of color will always be added or subtracted despite the number of
> light sources which are reaching a surface.
>
>  -Shay
>
>


Post a reply to this message

From: Johannes Dahlstrom
Subject: Re: Blending effects...
Date: 19 Dec 2002 15:41:44
Message: <3e022f08@news.povray.org>
Tim Nikias wrote:

> But that was exactly the effect I was looking for!
> 
> In 3D-Engines, these particles are just thrown onto
> a rendered image and brighten the image, a lot of
> particles get very bright (some more enhanced engines
> blend between colors when things are getting bright,
> causing neat color effects), a few stay dark.

I believe Chris Huff's glows patch (included in the latest MegaPOV version) 
worked just the way you describe. So, you just need to wait for a 3.5-based 
MegaPOV version (I sincerely wish the project is continued). Or perhaps 
Chris could update his patch for 3.5? :)


Post a reply to this message

From: Shay
Subject: Re: Blending effects...
Date: 19 Dec 2002 15:53:34
Message: <3e0231ce$1@news.povray.org>
"Johannes Dahlstrom" <sad### [at] tkukoulufi> wrote in message
news:3e022f08@news.povray.org...
> Tim Nikias wrote:
>
> > But that was exactly the effect I was looking for!
> >
> > In 3D-Engines, these particles are just thrown onto
> > a rendered image and brighten the image, a lot of
> > particles get very bright (some more enhanced engines
> > blend between colors when things are getting bright,
> > causing neat color effects), a few stay dark.
>
> I believe Chris Huff's glows patch (included in the latest MegaPOV
version)
> worked just the way you describe. So, you just need to wait for a
3.5-based
> MegaPOV version (I sincerely wish the project is continued). Or perhaps
> Chris could update his patch for 3.5? :)

If this is what you want (bright glows will obscure whatever is behind
them), then just use spheres colored with the wood pattern and oriented to
point at the camera.

 -Shay


Post a reply to this message

From: Christopher James Huff
Subject: Re: Blending effects...
Date: 19 Dec 2002 16:19:28
Message: <chrishuff-D796D1.16141419122002@netplex.aussie.org>
In article <3e0231ce$1@news.povray.org>, "Shay" <sah### [at] simcopartscom> 
wrote:

> If this is what you want (bright glows will obscure whatever is behind
> them), then just use spheres colored with the wood pattern and oriented to
> point at the camera.

Disc objects would be better. And maybe the cylindrical pattern instead 
of wood, but there is very little difference. If you use spherical, you 
won't have to mess around with reorient transformations. This is 
approximately what the glow patch did internally, though with more 
overhead (processing an intersection and casting an additional ray, and 
not being able to re-use some calculations).

Use discs with diffuse to 0 and ambient to 1 and try filter or transmit 
values > 1. Point the disc normal at the camera, and turn hollow on to 
keep the disks from interacting with the camera.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Christopher James Huff
Subject: Re: Blending effects...
Date: 19 Dec 2002 16:23:48
Message: <chrishuff-7C6E2C.16183719122002@netplex.aussie.org>
In article <3e022f08@news.povray.org>,
 Johannes Dahlstrom <sad### [at] tkukoulufi> wrote:

> I believe Chris Huff's glows patch (included in the latest MegaPOV version) 
> worked just the way you describe. So, you just need to wait for a 3.5-based 
> MegaPOV version (I sincerely wish the project is continued). Or perhaps 
> Chris could update his patch for 3.5? :)

I am working on an updated version. It will be a while, because it will 
depend on tesselation and proximity patches that also aren't written yet.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Shay
Subject: Re: Blending effects...
Date: 19 Dec 2002 16:26:25
Message: <3e023981@news.povray.org>
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...

Well, there's the answer from the man himself. Is *this* what you were
looking for, Tim.<g> If not, I'm sure we'll get it eventually.

 -Shay


Post a reply to this message

From: Tim Nikias
Subject: Re: Blending effects...
Date: 19 Dec 2002 18:10:25
Message: <3e0251e1@news.povray.org>
Yeah, I guess. I'll have to try it, but if what Chris
said actually does have a similiar effect like the
glows, then it probably is exactly what I was
looking for. Got to experiment with that a little...

Anyways, thanks to all you guys!

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

>
> Well, there's the answer from the man himself. Is *this* what you were
> looking for, Tim.<g> If not, I'm sure we'll get it eventually.
>
>  -Shay
>
>


Post a reply to this message

From: Christopher James Huff
Subject: Re: Blending effects...
Date: 19 Dec 2002 20:16:34
Message: <chrishuff-D33F84.20112119122002@netplex.aussie.org>
In article <3e0251e1@news.povray.org>, "Tim Nikias" <tim### [at] gmxde> 
wrote:

> Yeah, I guess. I'll have to try it, but if what Chris
> said actually does have a similiar effect like the
> glows, then it probably is exactly what I was
> looking for. Got to experiment with that a little...

BTW, make sure to set max_trace_level high enough, and remember that 
they won't look right in reflections: the discs are oriented to the 
camera at parse time.

A sphere filled with media will look correct from any direction, but 
will obviously take more processing power.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

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