A better alternative may be to use the "built-in" texture coordinates
of the Sphere Primitive.
Try:
new Sphere(1.0f, Primitive.GENERATE_TEXTURE_COORDS, appear)
where the appear is the Appearance bundle you make with the texture.
Of course this Sphere object must be added to the scene graph.
I can't help much more since your description of the problem is vauge
and you didn't send any code.
Chapter 7, Textures, of The Java 3D API Tutorial is finished and will
be published in a few days.
Find the Java 3D Tutorial, "Getting Started with the Java 3D API", at
java.sun.com/products/javamedia/3d/collateral
Tria wrote:
>
> Hi..
>
> I set texture coordinate by texcoordgeneration to my sphere..
> but the image now becomes so big and not as good as when I put it with
> texture loader and not doing any setting to it's texture coordinates.
> I've ever read a mail from someone of you who had the same problem.
>
> Please tell me if you know how to fix it..
>
> Thanks..
> Tria
>
> ===========================================================================
> 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".
--
-----
Dennis J Bouvier
[EMAIL PROTECTED]
===========================================================================
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".