Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你不是在这里覆盖索引吗?
for (tt=0; tt<faces; tt++) { fscanf(in_ply, "3 %d %d %d\n", &indices[tt], &indices[tt+1], &indices[tt+2]); }
对于 tt==0,您将获得索引 0、1、2。对于 tt==1,您将编写索引 1、2、3,我认为应该是 3、4、5(tt*3、tt*3+1、 tt*3+2)