Testing out rendering
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Tests with different rendering techniques

How to run

Compile into a bin dir or something alike.

cd bin
java main.Main <rendering-method>

where rendering-method is "m1", "m2", etc. Check core.ViewController. Current FPS will be shown in the graphics context and in the system prompt.

Add a new renderer

  1. Create a new renderer class that implements gui.Renderer.
  2. Override the render() method.
  3. Initialize the instance variable rendererin core.ViewController to your new renderer in constructor.