-
Advanced Member
Frequent Contributor
Cubes -> vertex arrays?
Hi.
Here's my problem: I've got a series of primitives, all of which are 8-noded cubes. These can be joined together to form larger shapes. I want to put the cubes into a vertex array, but I don't know if there exists a way to efficiently convert them to one. Anyone know a way? I don't mind if the faces remain as cubes or if I render them as 2 triangles. Ideally, I would want not just individual cubes as vertex arrays, but the whole mesh as a vertex array which I suspect is going to be impossible. For those interested, it's a finite element mesh.
-
Advanced Member
Frequent Contributor
Re: Cubes -> vertex arrays?
Oh, goes without saying that I was hoping to use either quad strips or triangle strips. Obviously quads or triangles would be trivial. Basically I want to minimize the number of vertices sent.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules