Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johanbrook/renderingtest

Testing out rendering
https://github.com/johanbrook/renderingtest

Last synced: about 1 month ago
JSON representation

Testing out rendering

Awesome Lists containing this project

README

        

# Tests with different rendering techniques

## How to run

Compile into a `bin` dir or something alike.

cd bin
java main.Main

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 `renderer`in `core.ViewController` to your new renderer in constructor.