A 3D Test with SDL2, OpenGL and AssImp with a Gradle build script.
For AssImp you will need CMake and an environment variable named CMAKE_EXECUTABLE pointing to the cmake executable.
You will need to download a font and put it into res/font/
.
Also I did not include textures. They have to be present in res/textures/
.
Then just run gradle build
.
Let the camera look down towards -Z, with the up vector pointing to Y. Now hit Ctrl-A with the camera selected and pick 'Rotation to Deltas'. Now apply its final rotation.
Select every mesh and make it look in the direction of the Y axis, with the Z axis pointing up. Set the center of the mesh as you need it. Hit Ctrl-A and pick 'All Transforms'. Now apply its final rotation.
Export to COLLADA with 'Forward Axis Z', 'Up Asis Y' and 'Apply' checked in 'Global Orientation'. This will ensure that the camera vectors are correct.
See LICENSE