Hi,

in my programs for J3D 1.2.x I created the geometry data for Shape3Ds this
way:

GeometryInfo MyGInf=new GeometryInfo(GeometryInfo.QUAD_ARRAY);
MyGInf.setTextureCoordinates(TexArr);
MyGInf.setCoordinates(CoordArr);
GArr=MyGInf.getGeometryArray();
...

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?

Michael

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