POV-Ray : Newsgroups : povray.binaries.images : Alpha output color problem Server Time
17 Nov 2024 21:20:00 EST (-0500)
  Alpha output color problem (Message 1 to 4 of 4)  
From: Slime
Subject: Alpha output color problem
Date: 1 Jan 2005 19:01:56
Message: <41d739f4@news.povray.org>
I noticed that when I output alpha transparency (+UA), colors seem to be
clipped/normalized strangely. This image illustrates it; the version on the
left is normal output, and on the right is with +UA. You can see that any
part of the image where a color channel would have a value greater than 1,
the color seems to be divided by that greatest value, rather than clipped as
usual. The result looks flat and dull.

Why does this happen? Can it be fixed?

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'transparencyoutput.jpg' (10 KB)

Preview of image 'transparencyoutput.jpg'
transparencyoutput.jpg


 

From: Zeger Knaepen
Subject: Re: Alpha output color problem
Date: 1 Jan 2005 20:30:35
Message: <41d74ebb@news.povray.org>
"Slime" <fak### [at] emailaddress> schreef in bericht
news:41d739f4@news.povray.org...
> I noticed that when I output alpha transparency (+UA), colors seem to be
> clipped/normalized strangely. This image illustrates it; the version on
the
> left is normal output, and on the right is with +UA. You can see that any
> part of the image where a color channel would have a value greater than 1,
> the color seems to be divided by that greatest value, rather than clipped
as
> usual. The result looks flat and dull.

That's something I also noticed (see my post and the whole thread: "possible
bug?" 28/11/2004 17:34h), but I kind of forgot to do a proper
bugreport-thingy.

cu!
-- 
ZK AKA Gaeriel
http://www.povplace.be.tf
"Ah ha... The worst movie you ever saw? Well, my next one will be even
better! Hello?..."


Post a reply to this message

From: Slime
Subject: Re: Alpha output color problem
Date: 1 Jan 2005 22:13:45
Message: <41d766e9@news.povray.org>
> That's something I also noticed (see my post and the whole thread:
"possible
> bug?" 28/11/2004 17:34h), but I kind of forgot to do a proper
> bugreport-thingy.

Ah, thanks for pointing out (in that thread) that the problem doesn't occur
with v3.5; maybe I'll be able to use that for the scene I'm having this
problem with.

In order to make this a more complete bug report:

The code was:

camera {
 location <2,1.7,-2>
 look_at 0
}

light_source {
 <-1.0, 0.8,-0.7>*9999
 rgb 1
 rotate -50*y
}

object {
 sphere{0,1}
 scale .25

 pigment {rgb <0.6,  1.4,  2.0>}
}

The difference is when rendered with or without +UA.

I'm using version 3.6.1.icl8.win32 on Windows XP with a pentium 4 and, uh,
that's it, right? =)

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: GrimDude
Subject: Re: Alpha output color problem
Date: 1 Jan 2005 23:02:00
Message: <41d77238@news.povray.org>
Psst..., I thought the use of 'x' as a color value was really clever, 
completely understandable, and unique in a good way. Well, okay, not 
precisely unique since I've done it too. (sits down)

- Grim


Post a reply to this message

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