Multiple vertex arrays

Started by
11 comments, last by edotorpedo 21 years, 1 month ago

This won''t be possible in my implementation, because I calculate the LOD for each patch individually, so it may be possible that all my four neighbours all have different LOD.

But somehow I''m missing something. Either it''s incredibly simple but I''m just plain stupid, or nobody knows the answer:

Do I need to call glVertexPointer() for each leaf every frame ??? There''s nothing like activeVertexArray(int array) is there? So how do I load say 100 different vertex arrays into memory without resetting them each frame.

If I know this, I don''t think I will be having any more problems implementing this.

Thanks,

Edo
Edo
Advertisement

Or in other words: how fast is glVertexPointer(). If I call this for each leaf, will it still be fast, or is there a way around this?

Thanks,

Edo
Edo
It''s very fast.

This topic is closed to new replies.

Advertisement