IPAS Selection Routines
23-Mar-94 11:43:25
Sb: #92924-IPAS Selection Routines
Fm: Danny Mercurio 76666,1030
To: Douglas Holt 76640,2515
I'm sorry to hear that you're still having these face problems Doug. I can
think of two things that may or may not be affecting your objects.
First, are you welding the vertices? I had a problem, when I started writing
the blob code, that had to do with assigning more than one vertex to a
particular point in space. I wrote a subroutine that analyzes all the vertices
and discards any that share the same space, reassigning the faces to the proper
vertex.
Second, (and less likey), are you using the pxp functions in the right order?
I'm probably reaching here because I don't even know what would happen if you
used them in the wrong order. They probably just wouldn't work at all. But
just in case, here's the order I use with the blob code:
pxp_create_item(&blobdata.name, status);
pxp_set_verts(blobdata.name, vsize, 0, status);
pxp_put_verts(blobdata.name, 0, vsize, &vertdata, status);
pxp_set_faces(blobdata.name, fsize, status);
pxp_put_faces(blobdata.name, 0, fsize, &facedata, status);
pxp_draw_item(blobdata.name);
I don't know if these suggestions will help you. Let me know if you get this
problem figured out.
Thanks for the selection code. I'll take a look at it as soon as I send this
message. I hope to have the pick object code finished soon and I'll send it to
you.
Take care,
Danny…