Authors: Daniel Triviño and Rubén Sardón
The program loads a skyboxes and a sample model by default and dumps them to a scene with a camera the user can move. The way models render can be changed using the menu's tools.
By default Patrick model is loaded. To add another model to the scene just select a file in the explorer and it will load together with its diffuse and specular texture if has any.
All loaded models in the scene have a transform component through wich the model's position, rotation and size can be changed. The model can also toggle its Active check be drawn or discarded in the rendering process.
The way the models prints can be changed using the upper "Shaders" panel. From the list of options you can choose wich mode the shader will use to render the model. The 8 first options just draw the imported model data information. The next 2 will render the model either reflecting and refracting the skybox. Refraction index can be set for each model. Selected meshes will be marked using an orange border. Border drawing can be toggled on/off at the same menu.
By deafault, 2 different skyboxes load and it can be toggled wich one shows.
- WASD: move camera
- Q/E: move camera down/up
- Mouse Drag: pan camera
- Mouse Drag + Alt: orbit selected Model
- Mouse Wheel: zoom
- F: focus selected model
- R: toggle camera light on/off
- T: toggle camera light follow/stay
- C: reset lights (turn all off)
- Space: drop light at camera position (up to 32 lights including camera's)
Deferred Light Shading
Reflection
Refraction
Borders
Secondary Skybox
Vertex Position
Vertex Normal
Vertex Texture Coord
Vertex Bitangent
Vertex Tangents
Depth
Linear Depth