Skip to main content
GameDev.net gamedev.net
🔒 Locked

Colloda Files & Indicies (SOLVED)

Started by Jcoose Jun 14, 2012 at 3:34 AM 0 replies 1.1k views
Original Post
Jcoose
Jcoose
35iagqd.jpg


-0.947236 0.315745 -0.0552245
-0.867472 0.289157 -0.404821
-0.904534 0.301511 0.301511




3 3

2 0 0 0 0 0 1 1 0 0 3 0 2 0 0 3 0 2 0 0 1 2 3 1 0 2 0 0 0 0




I have a really simple mesh that looks something like what you see above. I exported it as a colloda file and started looking with the format (my aim is to write an importer for my model viewer). Everything makes sense, but I can not for the life of me figure out what is going on with the indices ().

First of there are a lot more than there should be for just two triangles, and none of them really make any sense to me. The "3 3" makes sense as its saying there are two 3 sided polygons but the rest baffles me. Does anyone know whats going on?
Jcoose
Jcoose
I was finally able to find an answer. I didn't realize that texture coordinates could also have indices. That doesn't make a lot of sense to me, but anways there is an offset specified. So every 4th number is vertics indicie in this case.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.