Vertices Count == Indices Count ??
Posted: Sun Nov 30, 2003 7:26 pm
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:
I would expect 4 Vertices and 6 Indices for the two triangles, while two Vertices are used twice.
Do i expect something wrong ?
Gastar
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
Do i expect something wrong ?
Gastar