Hi guys,
I'm back to flash and back to away3d (lite). I had this issue 1 year
ago and never got the chance to fix it/find a decent workaround for
it. Today I played a bit with ExPlane sample and saw that basic
template with -900 camera.z and a plane with rotateX set to 90 degrees
should be the correct settings for getting a pixel perfect render of
an image. Problem is that texture sampling is wrong along horizontal
(for y = 0) and vertical (for x = 0) lines (world space). I've set up
a fine grained grid pattern texture to emphasize this behavior. I know
the sampler in flash is not accurate enough I have the feeling it uses
nearest neighbor sampling but this behavior looks like something else
to me.  Maybe it makes more sense to you guys.

Stripped down sample and texture can be found here:
http://smartmedia.proibito.ro/bug/gridbug.rar

Texture can also be downloaded separately:
http://smartmedia.proibito.ro/bug/grid.png

Bug can be seen here (the axis lines should not be there):
http://smartmedia.proibito.ro/bug/bug.png

Please let me know if you think there's a fix for this.
thanks,
Rus.

Reply via email to