Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johanbrook/renderingtest
Testing out rendering
https://github.com/johanbrook/renderingtest
Last synced: about 1 month ago
JSON representation
Testing out rendering
- Host: GitHub
- URL: https://github.com/johanbrook/renderingtest
- Owner: johanbrook
- Created: 2012-03-14T11:12:18.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-14T20:31:07.000Z (almost 13 years ago)
- Last Synced: 2024-04-15T12:13:31.696Z (9 months ago)
- Language: Java
- Homepage:
- Size: 108 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.Mainwhere `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.