Bug with org.xith3d.geometry.Sphere texturing

Hello!

(I’m french, sorry for my english…)
I’m a beginner in xith3d programmation, but I worked with Java3d…
I have a problem with the Sphere shape in xith. When I put a Texture on a Sphere, a thin black band appears at texture join…
I tried some different stacks and slice…but I still have the problem…
I attach screenshots for [slice:6 stack:6] and [stacks:50 slice:50]

If someone could help me !!
thanks !

C’est quelque-chose qui s’appelle le “border color” et c’est spécifique à OpenGL. Je ne me souviens plus exactement comment on fait pour l’éviter mais je me rappelle que c’est généralement assez difficile.
Tu devrais essayer ceci :


tex.setBoundaryModeS(Texture.CLAMP_TO_EDGE);
tex.setBoundaryModeT(Texture.CLAMP_TO_EDGE);

Ou tex est un objet Texture (Texture2D en l’occurence).


For english-speaking guys : I answered in french but if you want I can translate.