|
|
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3BD6EBAB.3816042C@gmx.de...
>
>
> Bill DeWitt wrote:
> >
> > If a line or a point is smaller than a pixel or so, the averaging of
the
> > color values of the pixels surrounding it makes it fade into
insignificance,
> > ie: Erasure.
>
> But this is not solved by not using AA. In fact (as someone mentioned in
> .newusers), AA usually helps to make it better visible.
I am not sure what you are saying, but sometimes lines disappear because
of AA. Here is an example (image below). The only way to fix this particular
example is to make the "edge" a little larger.
////////////////////////////////////////////
////////////// Camera //////////////////////
camera { //
right < -1.333, 0.0, 0.0 > //
up < 0.0, 1.0, 0.0 > //
direction < 0.0, 0.0, 1.0 > //
location < 2.0, 3.0, 5.0 >/2 //
look_at < 0.0, 1.0, 0.0 > //
} //
////////////// end Camera //////////////////
/////////////// Light ////////////////
light_source { < -100.0, 100.0, 100.0 >
color rgb < 1.0, 1.0, 1.0 > }
///////////////////////////////////////
/////////////// Light ////////////////
light_source { < -100.0, 100.0, -100.0 >
color rgb < 1.0, 1.0, 1.0 > }
///////////////////////////////////////
#declare edge = 0.0015;
box {
<-1, -1, -1> // one corner position <X1 Y1 Z1>
< 1, 1, 1> // other corner position <X2 Y2 Z2>
pigment { rgb 0.75 }
translate < 0.5, 0.0, 0.0 >
}
box {
<-1, -1, -1> // one corner position <X1 Y1 Z1>
< 1, 1, 1> // other corner position <X2 Y2 Z2>
pigment { rgb 0.75 }
Post a reply to this message
Attachments:
Download 'AA Line Test.jpg' (16 KB)
Preview of image 'AA Line Test.jpg'
|
|