Hi,
I think the problem is that you didn't set stripCountArray and countourCountArray by the methods, setStripCounts(int[]) and setContourCounts(int []), before you extracted the GeometryArray from GeometryInfo.
 
Greg 
----- Original Message -----
Sent: Friday, September 13, 2002 4:08 AM
Subject: [JAVA3D] GeometryInfo

Hi, I'm trying to draw surfaces from arbitray polygon but I haven't had any success so far. I always get this message when I try to set the geometry of the Shape3D:

java.lang.IllegalArgumentException: stripCounts sum inconsistent with number of vertices.

I use the GeometryInfo class to create the GeometryArray from the vertices. Do you have any idea how this could be accomplished without error? I managed to create surfaces from QuadArray but it just isn't enough for the project at hand. Please don't send me to the tutorial, I've been there and found nothing related to my problem.

thanks

FB

 



Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.

Reply via email to