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

Need to write a new function to create the vertex points for the block highlight #30

Closed
benmoran56 opened this issue Apr 24, 2018 · 2 comments · Fixed by #33
Closed
Assignees
Labels
improved code Code optimization and more

Comments

@benmoran56
Copy link
Collaborator

The block highlighting is currently a little strange looking, due to changes in my recent pull request. Please assign this to me, and I will fix it when I have some time.

@XenonLab-Studio
Copy link
Owner

Thanks so much.

@XenonLab-Studio XenonLab-Studio added the improved code Code optimization and more label Apr 24, 2018
@benmoran56
Copy link
Collaborator Author

As part of this, I will also look into switching over to indexed vertex lists. Currently, there are 24 vertex points for each Block, but most of these are repeated.

Using indexed vertex lists will save some GPU memory, but it might take longer to create each block in the Scene. We don't really need to worry about GPU memory for this type of game, so switching to indexed vertex lists is only a good idea if it's faster. I'll try to make a small benchmark and see the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improved code Code optimization and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants