PDA

View Full Version : Shared vertices



Jan
08-19-2002, 01:45 AM
Hi,
i was thinking of using shared vertices in my little engine. However i then realized, that this means that not only the vertex has to be identical, but also the normal at that vertex and especially the texturecoordinates.
I donīt think i will find many vertices which match all conditions.

So my question: Do you think that current game-engines use shared vertices at all (i mean indoor-engines, not outdoor engines)?

If not, i want bother of trying to implement it in my engine.

Thanks.
Jan.

Mezz
08-19-2002, 08:50 AM
Use shared vertices when possible, otherwise you'll have to duplicate them. I'm sure many engines make use of shared vertices where they can, and where they can't they'll duplicate them (e.g. the texture coord problem, that seems to be a common one).

-Mezz