|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
: No, 3.5 fades to black while 3.1 would fade to the background color. The
: border do not fade to black because of the alpha channel. If you deactivate
: view of the alpha channel (like I can do in the Mac version even if it is
: on), you will notice it.
I made a small test file:
global_settings { assumed_gamma 1 }
camera { location -z*10 look_at 0 angle 35 }
cylinder { <10,22,0><-10,-22,0>, 1 pigment { rgb x } finish { ambient 1 } }
and rendered with:
./povray35 test.pov -w512 -h384 +a0.1 +ua +fn
Then I checked how many colors are there in the resulting image. There
are exactly two colors, black (0,0,0) and red (255,0,0). There are no other
colors in the image. The pixels have a varying amount of alpha, but their
color is either (0,0,0) or (255,0,0), nothing else. (To be more specific,
all the pixels which have an alpha value which is not completely transparent,
are colored (255,0,0).)
I can't understand how it could "fade to black" if alpha channel would not
be taken into account when drawing the pixels.
This seems to work perfectly ok.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |