Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for non interleaved vertex attributes to generic mesh #173

Open
3 of 6 tasks
ScanMountGoat opened this issue Jun 28, 2020 · 1 comment
Open
3 of 6 tasks
Labels
enhancement New or improved feature

Comments

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Jun 28, 2020

This will probably need to be a separate class due to the differences in how attributes are handled. A separate buffer should be stored for each attribute to avoid the issues from using a global buffer.

https://stackoverflow.com/questions/14249634/opengl-vaos-and-multiple-buffers

  • Separate non related code into abstract class
  • Generic Mesh Non Interleaved
  • Unit Tests for attribute validation.
  • Configure buffers and attributes separately
  • Configure buffers and attributes in one function if whole buffer is used
  • Add buffer using an existing buffer object (allows sharing a buffer between meshes)
@ScanMountGoat ScanMountGoat added the enhancement New or improved feature label Jun 28, 2020
@ScanMountGoat
Copy link
Owner Author

ScanMountGoat commented Jun 30, 2020

glVertexAttribBinding and glBindVertexBuffer will likely be required to support Smash Ultimate's buffers. This will require bumping the OpenGL version to 4.30. It may be possible to create this functionality using the existing functions.
https://www.khronos.org/opengl/wiki/Vertex_Specification#Separate_attribute_format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New or improved feature
Projects
None yet
Development

No branches or pull requests

1 participant