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 unit tests for rendering #15

Closed
cochrane opened this issue Jan 24, 2013 · 1 comment
Closed

Add unit tests for rendering #15

cochrane opened this issue Jan 24, 2013 · 1 comment

Comments

@cochrane
Copy link
Owner

This part will take a bit longer, but should provide some clear advantages: One can verify that all shaders work, as well as posed models and special new features (like clothes #7 , texture packs #10 , new render groups #8 ). This should make it easier and quicker to iterate on graphic-related things.

It will be necessary to have some automatic way to generate new "expected" values, because if I do change things in an incompatible way, I don't want to have to generate all expected images again.

Not sure if it's possible and useful to simply compare screenshots; OpenGL doesn't really promise pixel-perfect accuracy.

@cochrane
Copy link
Owner Author

Implemented (without use of AppleScript). Comparing screenshots doesn't work, so every computer has to calculate its own set of "expected" images first and then keep them forever.

cochrane added a commit that referenced this issue Mar 15, 2013
This fixes #15 again; the previous commit only solved this for .mesh and .mesh.ascii files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant