POV-Ray : Newsgroups : povray.advanced-users : Raising contrast inside POV-Ray? Server Time
28 Jul 2024 16:18:39 EDT (-0400)
  Raising contrast inside POV-Ray? (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Tim Nikias
Subject: Re: Raising contrast inside POV-Ray?
Date: 31 Aug 2005 05:08:07
Message: <43157377$1@news.povray.org>
> raise light source brightness and adjust material properties accordingly
> and you will get higher contrast radiosity results.  A washed-out
> appearance is often a result of using unrealistically low lighting levels.

You mean like raise light_sources intensity (e.g. rgb*2) and lower the
values of the materials (like rgb*0.5)? The main light_source I'm using is
set to rgb 3, but maybe I have to raise it a little more and lower the
values of the other materials. Maybe lowering the diffuse-value would
suffice... I'll experiment. Thanks for the suggestions.

> Note it is of course often more convenient to render to a plain, not
> adjusted image and do the post processing afterwards.

Yeah. I had been thinking about using POV-Ray itself to script a small set
of macros which'll load an image and fiddle with the contrast and stuff
using functions and such. But I like a more direct solution better.

Regards,
Tim

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


Post a reply to this message

From: Rune
Subject: Re: Raising contrast inside POV-Ray?
Date: 31 Aug 2005 17:30:35
Message: <4316217b$1@news.povray.org>
Tim Nikias wrote:
>> scenes/textures/pigments/transmitfx.pov ?
>
> Hm. Precise answer. I'll have to find out if I does what I want.
> Thanks though! :-)

Sorry. transmitfx.pov demonstrates how for example a pigment with rgb 0.5 
and transmit 2.0 doubles the contrast of everything that's behind the 
surface. Using a small sphere around your camera with such a pigment will 
double the contrast of the entire image.

Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

From: Tim Nikias
Subject: Re: Raising contrast inside POV-Ray?
Date: 31 Aug 2005 18:01:43
Message: <431628c7$1@news.povray.org>
> Sorry.

No need. My remark about "precise answer" was honest, with POV-Ray, you
can't get any more precise than with a link to source. Especially not if the
source ships directly with POV-Ray itself! :-)

But that technique was exactly what I was looking for. I was dimly aware of
such a thing, but couldn't exactly come up with how it was done. But raising
lightsource-intensity and lowering pigment-values is another nice technique,
and, for my taste, "cleaner" as well. :-)

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


Post a reply to this message

From: Rune
Subject: Re: Raising contrast inside POV-Ray?
Date: 31 Aug 2005 19:13:53
Message: <431639b1$1@news.povray.org>
Tim Nikias wrote:
>> Sorry.
>
> No need. My remark about "precise answer" was honest

Ah. With a text-based medium it's sometimes a bit difficult to determine if 
something is meant ironic.

> But that technique was exactly what I was looking for. I was dimly
> aware of such a thing, but couldn't exactly come up with how it was
> done. But raising lightsource-intensity and lowering pigment-values
> is another nice technique, and, for my taste, "cleaner" as well. :-)

I agree about cleaner. If, however, you'd want a contrast high enough that 
the lowest set of dark colors in the image are clipped off (becoming 
completely black), then merely using lower pigment-values won't do it, 
unless you use negative components in the color, which probably doesn't 
count as "clean" either. :)

Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

From: Kenneth
Subject: Re: Raising contrast inside POV-Ray?
Date: 3 Oct 2005 01:40:01
Message: <web.4340c321d1f8c4a0cc7029a60@news.povray.org>
"Tim Nikias" <JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote:
> Some of you might have seen my current WIP, the image currently entitled
> "Windows". I make excessive use of radiosity in that image to get a soft,
> realistic lighting.
>
> Anyways, I've fiddled with some of the images in Paint Shop Pro and noticed
> that some higher contrast does a lot for the image. I'm a sucker for doing
> things right inside POV-Ray, so does anyone have ideas or techniques on how
> to raise the contrast inside POV-Ray?

This might sound like a very "simpleton" suggestion, and perhaps not what
you had
in mind, but from working in Photoshop, I've noticed that raising the
contrast of an image seems to increase the color SATURATION of all the
colors. This could be duplicated in POV, though not quickly, by actually
changing the   pigment {color rgb}   values of each and every OBJECT!!!  A
chore, I know.  In other words, if an object has rgb <1,.5,.5> as a reddish
color, then a more saturated color would be <1,.3,.3>.  Then, of course,
also lower the AMBIENT lighting of each object. The rendered scene might
then *appear* to be of higher contrast. Worth a try?


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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