--- Raj Vaidya <[EMAIL PROTECTED]> wrote: > Based on a very quick analysis, I think that your > indices look OK. > Just make sure that your coordinates array carries > the coordinates > in the corresponding order.
Err - maybe this is my problem? What do you mean by "make sure that your coordinates array carries the coordinates in the corresponding order?" As I understood the tutorial, you could specify the vertex data in any order: ul ur *---* |\ | | \ | | \| *---* ll lr Given this picture again, my vertex data is provided in a by-ref array aligned like this: ul, ur, ll, lr. Then (as I said previously) the index data is aligned like this: ul, ll, lr for tri 1 and lr, ur, ul for tri 2. Does that seem reasonable? Ultimately, my current code isn't this simple, so I'll probably have to go back and code up this simple example to see what I get. > Just wondering - because you mentioned > IndexedTriangleStripArray in > Part 2 of your post - are you sure that you are > using an > *IndexedTriangleArray* and not an > IndexedTriangleStripArray for > Part 1 ? Good eye, but no, I am using just an IndexedTriangleArray for Part 1. Part two is based on some different code I wrote using an IndexedTriangleStripArray. I have questions about using that class as well (beyond the one posed in Part 2), but I think I'll leave that for another time. > My suggestion would be to just create 2 tris and > play around with them > to get a feel for the API mechanics. I think I'll probably have to resort to that, thanks. -Bob __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ =========================================================================== 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".