You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Left and Right to load new Theatres (including custom Theatres loaded externally)
F turn your flashlight on and off (if the current Theatre has a LightFlashlight Actor)
Q toggle the color of your flashlight to a pure red and back to the original color
R reset all PhysicsActors to their initial orientation (use this to watch the cubes fall again!)
Tab to open and close the debug menu
[ and ] to cycle between the Blinn-Phong and Phong shaders
1-5 to switch to different debugging shader outputs
1 will isolate the diffuse output (flat colors and brightness)
2 will isolate the specular output (the "shiny" reflection of light sources on surfaces)
3 will isolate the ambient output (a simple, flat version of "global illumination")
4 will show all the outputs combined (this is the default, and how the shader is supposed to look)
5 will show the normal values for every mesh as different colors
I converted the range from -1 -> 1 to 0 -> 1 (resulting in desaturated colors)
G toggle ambient lighting on/off
J if you're debugging GraphX, this should toggle Jolt's asserts on and off
Esc to exit GraphX
What's New?
New Blinn-Phong shading now used by default
Use [ and ] to cycle between the Blinn-Phong and Phong shaders
More details in the debug menu
Actors and Devices now show the settings supplied to them via the GraphXTheatre file
Actors can now handle inputs directly (e.g: GraphXPlayer now handles mouse and keyboard input itself, instead of through the GLFW key callback function)
New template functions for finding any instance of a specific Actor/Device sub-class in a Theatre
Keep in mind, these functions will only return the first instance they find or, if none exist, a new instance (to avoid crashing)
The functions getCurrentPlayer and getCurrentEnvironment will create a new GraphXPlayer or Environment, respectively, if none exist in the current Theatre
They are also much safer and have much better printouts
Safeguarded multiple crash points when loading a new Theatre