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

objects3.hpp::drawSphere() sometimes not spheres #3

Closed
jpaoneMines opened this issue Nov 9, 2019 · 3 comments
Closed

objects3.hpp::drawSphere() sometimes not spheres #3

jpaoneMines opened this issue Nov 9, 2019 · 3 comments
Labels

Comments

@jpaoneMines
Copy link
Owner

For some architectures, the spheres do not appear as spheres.

It is either the step size for the vertices or the indices that causes the triangles to jump across the sphere and form a very jagged cube-y looking sphere.

@jpaoneMines
Copy link
Owner Author

marbles

@jpaoneMines
Copy link
Owner Author

Solved locally, not yet pushed to master repo yet.

Shaders were using single precision while VBOs were generating double precision. Changed objects.hpp and teapot.hpp to use only GLfloat every where.

@jpaoneMines
Copy link
Owner Author

Will close when pushed.

jpaoneMines added a commit that referenced this issue Sep 25, 2020
…n problem. Shaders were working with floats while VBO was passing in doubles. All data generated now single precision using GLfloat.
@jpaoneMines jpaoneMines added the bug label Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant