Implement Index Buffers #16

Closed
opened 2026-01-18 14:16:44 +00:00 by akadmin · 0 comments
Owner

Description:
Add index buffer support to reduce duplicate vertices and improve memory efficiency.
Tasks:

  • Update model loader to extract indices
  • Create index buffer allocation function
  • Modify renderer to store index buffer
  • Update draw command to use draw_indexed()
  • Test with indexed model (compare vertex count)
  • Update vertex buffer to remove duplicates

Acceptance Criteria:

Models render correctly with index buffers
Vertex count reduced compared to non-indexed approach
Memory usage improved for complex models

Related Issues: Depends on #13
Estimated Time: 1 day

Description: Add index buffer support to reduce duplicate vertices and improve memory efficiency. Tasks: - [x] Update model loader to extract indices - [x] Create index buffer allocation function - [x] Modify renderer to store index buffer - [x] Update draw command to use draw_indexed() - [x] Test with indexed model (compare vertex count) - [x] Update vertex buffer to remove duplicates Acceptance Criteria: Models render correctly with index buffers Vertex count reduced compared to non-indexed approach Memory usage improved for complex models Related Issues: Depends on #13 Estimated Time: 1 day
akadmin added this to the Foundation milestone 2026-01-18 14:16:44 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akadmin/NemesisEngine#16
No description provided.