Texture gets blurry with increasing distance

Software: Away3D 4.x

Ontheronix, Jr. Member
Posted: 08 April 2012 10:55 AM   Total Posts: 37

My texture is a simple 256x256px bitmap, in the examples I have one light in the scene, but nothing changes when i do.
The code is basic stuff that I copied from examples.
Is there anyone who recognises this behavior or knows what to do about it? Thanks in advance!

In example 2 and 3, i drawed a 1px thin line over a radial gradiant map
http://pic80.picturetrail.com/VOL952/7205667/23849157/401996530.jpg

   

Avatar
theMightyAtom, Sr. Member
Posted: 08 April 2012 06:37 PM   Total Posts: 669   [ # 1 ]

Try setting mipmap to true.
I haven’t experimented much with this myself, but it should help.
There’s a good article about it here…
http://www.adobe.com/devnet/flashplayer/articles/mipmapping.html

Good Luck!

   

Ontheronix, Jr. Member
Posted: 08 April 2012 06:51 PM   Total Posts: 37   [ # 2 ]

This is funny, the mipmap property of the TextureMaterial is by default set to true. Setting it to false solves my problem :D

Bilinear/Trilinear filtering is an interesting matter by the way! I’ll take a look at the MipmapGenerator class.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X