What mipmap-levels do you mean exactly? setBaseLevel(0) and
setMipMapMode(Texture.BASE_LEVEL) doesn't helps either...

On Tue, 10 Feb 2004 12:14:33 -0800, Alan Hudson <[EMAIL PROTECTED]> wrote:

Michael Pfeiffer wrote:

Because setTextureCoordinates(Point2f) caused deprecation warnings with
J3D 1.3.1 and because texture mipmapping doesn't works I modified the
code:

GeometryInfo MyGInf=new GeometryInfo(GeometryInfo.QUAD_ARRAY);
MyGInf.setTextureCoordinateParams(1,2); // NEW
MyGInf.setTextureCoordinates(0,TexArr); // CHANGED
MyGInf.setCoordinates(CoordArr);
GArr=MyGInf.getGeometryArray();

Now I got rid of the warnings but the texture mipmapping still doesn't
works, calling

MyTexture.setMagFilter(Texture.NICEST);
MyTexture.setMinFilter(Texture.NICEST);

doesn't has any effect for these Shape3Ds (but for Primitive-objects it
works). So do I have to do anything else to get it working with the new
J3D?

Are you setting the mipmap levels on the texture objects?  If you don't
provide the levels then it can't mipmap.

--
Alan Hudson
President: Yumetech, Inc.                      http://www.yumetech.com/
Web3D Open Source Chair        http://www.web3d.org/TaskGroups/source/

===========================================================================
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".

=========================================================================== 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