Hi @ all,

I have a problem which is new for J3D version 1.3.x. Here it is impossible
to get smooth textures when they have to be scaled due to the distance of
the viewer. To make that what should happen more clear:

When a texture is displayed somewhere in a scene relativley far away it
happens that it isn't possible to map one pixel of the texture exactly to
one pixel of my display (because objects become smaller with the
distance). So in J3D 1.2.x and with the NICEST-Option for the method
Texture.setMagFilter() set, there pixels have been put together. This
smooth scaling used all pixels of the texture which belonged to one
display pixel to calculate an average color value out of them for the
display. Thats nearly the same like it is done in graphics programs when
you scale images using an interpolation algorithm. So for an example the
average color of nine texture pixels has been used for the displayed pixel
in 1.2.x, the new version seems to use in every case only one of these
nine pixels (the one which is closest to the target pixel). That leads to
some strange kind of flickering with rough texture and movements.

Something similar happened to closer textures, here one pixel of the
texture had to belong to more pixels of the display. So 1.2 interpolated
the values between this pixel and its neighbors to display these
intermediate values. The result was an sometimes a little bit unsharp but
more realistic texture.

The funny thing is, setMagFilter()/setMinFilter() work very well with
primitive objects in 1.3 too - like I know it from the old version.

I can't imagine that this functionality was removed (but not for
Primitives), in my opinion that would be a great disadvantage.

Kind regards

Michael




-- http://www.3dchat.org - Welcome To The Unreal World http://java3d.virtualworlds.de - The J3D Developers Ressource

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to