Also got transparency rendering correctly. It wasn't enabled before. Oops.
…n and max index.
…itions, with implementation in BaseCamera. This is taken pretty much straight from my OBJViewer project.
… including the FindXXX modules directly.
Removed the (now redundant) link_directories command. Also decided that tests probably shouldn't be installed so I took out the install command from the test function.
This is instead of relying on them all being in one of a small number of hardcoded known locations, so it's Definitely Better.
This automatically gives you the correct command line arguments for compiling and linking with OpenGL and OpenMP respectively.
Using find_library now which does the right thing regardless of which OS we're building on (I think - I haven't been able to test it on Linux yet).
It doesn't nicely separate out the build results yet though - the vgl library, the examples and the tests all get built into the same folder - and it doesn't copy the headers out either. It doesn't use any fancy compiler or linker options either yet, besides those necessary to get it building at all.
…iding their own. Where appropriate, of course. The arcball example still explicitly provides a camera, even though it's actually the same as the default camera we'd get. But the point of that example is to show how to create and use an ArcballCamera, so it seemed counter-productive to take it out... Naturally the imageview example still uses an OrthoCamera, too.