I am trying to create a polyhedron in K-3D from a text file which
containes vertecies , edges, and edge points. When I append he
points to k-3D, there is an abnormal face that is generated to the
screen, along with the points. the face seems to be connected to
randoms points that have been read in. here is a small segment of
what is going on:
def import_poly(poly,index,file,result):
for n in range(vertex) :
bob = linecache.getline(result, index)
wordssplit = bob.split()
points.append(k3d.point3(float(wordssplit[0]),
float(wordssplit [1]), float(wordssplit[2])))
point_selection.append(0.0)
index = index + 1
All I have done is just append the points to k-#d, so this random
face that is created is really onfuding me. Is there any reason
this might be happening? Thank you.
--
TOMPSON LUBIN
"Life is a long lesson in humility."
-James M. Barrie
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development