Page 1 of 1

Vertices Count == Indices Count ??

Posted: Sun Nov 30, 2003 7:26 pm
by gastar
Hi,

while i was writing a function that would compute the right Normals for a 3DS file i stumbled into something weird.

To compute the Normals i need to check every Vertex and than check the Indices how often it is used. But the Indices count is equal to the Vertices count and every Vertex was only used one time.

If i have something like this:

Code: Select all

V---V
|  /|
| / |
|/  |
V---V
I would expect 4 Vertices and 6 Indices for the two triangles, while two Vertices are used twice.

Do i expect something wrong ?

Gastar