POV-Ray : Newsgroups : povray.binaries.images : Problem with +UA option (Alpha rendering) Server Time
5 Nov 2024 00:27:40 EST (-0500)
  Problem with +UA option (Alpha rendering) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: EagleSun
Subject: Problem with +UA option (Alpha rendering)
Date: 12 Feb 2007 22:30:01
Message: <web.45d12f3355e01ed18fafdc490@news.povray.org>
Here is the image with normal render.


Post a reply to this message


Attachments:
Download 'earth512.png' (291 KB)

Preview of image 'earth512.png'
earth512.png


 

From: EagleSun
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 12 Feb 2007 22:40:00
Message: <web.45d131842a2b82398fafdc490@news.povray.org>
"EagleSun" <nomail@nomail> wrote:
> Here is the image with normal render.

Here it is again when I added only the "+UA" option in the command line.


So.. what's wrong with this?


Post a reply to this message


Attachments:
Download 'earth512-alpha.png' (317 KB)

Preview of image 'earth512-alpha.png'
earth512-alpha.png


 

From: Ross
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 13 Feb 2007 11:08:00
Message: <45d1e260$1@news.povray.org>
"EagleSun" <nomail@nomail> wrote in message
news:web.45d131842a2b82398fafdc490@news.povray.org...
> "EagleSun" <nomail@nomail> wrote:
> > Here is the image with normal render.
>
> Here it is again when I added only the "+UA" option in the command line.
>
>
> So.. what's wrong with this?

I don't know, what is wrong with it? I opened it up in Gimp and it
definately had a transparent "background". The earth itself isn't
transparent.


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 13 Feb 2007 15:59:02
Message: <45d22696$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

EagleSun wrote:
> "EagleSun" <nomail@nomail> wrote:
>> Here is the image with normal render.
> 
> Here it is again when I added only the "+UA" option in the command line.
> 
> 
> So.. what's wrong with this?
> 
	Looks fine to me... What were you expecting?

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFF0iaWd0kWM4JG3k8RAucBAKCYQwJySuUdHcSXR2WV6Yj4R9xvAACgmaL/
eZ13p1ZQsiNVfanu7uEdRys=
=A6q+
-----END PGP SIGNATURE-----


Post a reply to this message

From: EagleSun
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 13 Feb 2007 21:40:00
Message: <web.45d275d02a2b82392ca695fb0@news.povray.org>
"Ross" <rli### [at] speakeasynet> wrote:
> "EagleSun" <nomail@nomail> wrote in message
> news:web.45d131842a2b82398fafdc490@news.povray.org...
> > "EagleSun" <nomail@nomail> wrote:
> > > Here is the image with normal render.
> >
> > Here it is again when I added only the "+UA" option in the command line.
> >
> >
> > So.. what's wrong with this?
>
> I don't know, what is wrong with it? I opened it up in Gimp and it
> definately had a transparent "background". The earth itself isn't
> transparent.

Very strange you don't see a problem.... I see a THICK BLUE circle around
the earth on the version I created with the "+UA" option.  When I tried
converting it to PPM format, the THICK BLUE circle was included.


Post a reply to this message

From: Tim Attwood
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 13 Feb 2007 23:17:13
Message: <45d28d49$1@news.povray.org>
The atmoshpere looks a bit thick, but it's
only 3 or 4 pixels, and fades opaque.
The atmosphere isn't usually sitting there with
a white backdrop.
Here's a link to an OK moonrise pic.
http://www.space.com/php/multimedia/imagegallery/igviewer.php?imgid=55&gid=4
After looking at that, I'd think the air in your
model should be clearer a bit.


Post a reply to this message

From: Slime
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 14 Feb 2007 00:35:47
Message: <45d29fb3$1@news.povray.org>
> Very strange you don't see a problem.... I see a THICK BLUE circle around
> the earth on the version I created with the "+UA" option.  When I tried
> converting it to PPM format, the THICK BLUE circle was included.

If you take the +UA version and put it on a black background in Photoshop,
it's nearly identical to the original (some pixels around the edge are off
by a very slight amount (7 or 8 out of 255), which might be caused by how
POV-Ray handles transparency on emissive media). The majority of the visible
difference is caused by the fact that you've displayed the second version on
a grey background, which makes the blue ring around the earth more visible
(probably mostly because of your monitor's gamma.)

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


Post a reply to this message

From: Ben Chambers
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 14 Feb 2007 01:08:32
Message: <45d2a760@news.povray.org>
EagleSun wrote:
> Very strange you don't see a problem.... I see a THICK BLUE circle around
> the earth on the version I created with the "+UA" option.

That's called an "atmosphere", and it's present in both versions of the 
picture.  Try layering it over a background to see how it acts; the 
background will be filtered through it.

...Chambers


Post a reply to this message

From: Penelope20k
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 14 Feb 2007 06:25:32
Message: <45d2f1ac@news.povray.org>
use white background

or use green

AND  set you 'right color transparency ' if you use PSP ..




news:web.45d12f3355e01ed18fafdc490@news.povray.org...
> Here is the image with normal render.
>
>


----------------------------------------------------------------------------
----


Post a reply to this message


Attachments:
Download 'Image1.png' (113 KB)

Preview of image 'Image1.png'
Image1.png


 

From: EagleSun
Subject: Re: Problem with +UA option (Alpha rendering)
Date: 14 Feb 2007 12:25:00
Message: <web.45d3457b2a2b82392b4445240@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> > Very strange you don't see a problem.... I see a THICK BLUE circle around
> > the earth on the version I created with the "+UA" option.  When I tried
> > converting it to PPM format, the THICK BLUE circle was included.
>
> If you take the +UA version and put it on a black background in Photoshop,
> it's nearly identical to the original (some pixels around the edge are off
> by a very slight amount (7 or 8 out of 255), which might be caused by how
> POV-Ray handles transparency on emissive media).

Hmm... I have GIMP... perhaps you can show me how in GIMP?  (I don't have
Photoshop.)

> The majority of the visible
> difference is caused by the fact that you've displayed the second version on
> a grey background, which makes the blue ring around the earth more visible
> (probably mostly because of your monitor's gamma.)

Grey?  As in Grey and white checkerboard?  How do I change the background?
I didn't modify the source when I re-rendered using the "+UA" option.

And, yes, the atmosphere is very thick by design, so that I'll have plenty
of space to fade away the atmosphere without having any appearance of "hard
cut-off".

In this "game" I was playing, I was hoping to produce 2 identical images,
where 1 would have an alpha channel.  But I'm not convinced that I have 2
identical images.  Would like to see someone take the image with alpha,
remove the alpha and see if it looks identical to the first... and tell me
what software you used to do it (and I hope you mention "GIMP" :) )

Here's what I get when I attempt to remove the Alpha.  I get this using
XnView and NetPBM.  Obviously it's not identical to the original.  Maybe I
need more explanation?


Post a reply to this message


Attachments:
Download 'earth512-alpha-removed.png' (281 KB)

Preview of image 'earth512-alpha-removed.png'
earth512-alpha-removed.png


 

Goto Latest 10 Messages Next 2 Messages >>>

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