https://github.com/hopson97/yare
Yet Another Render Engine. Just messing around with OpenGL stuff
https://github.com/hopson97/yare
Last synced: about 1 year ago
JSON representation
Yet Another Render Engine. Just messing around with OpenGL stuff
- Host: GitHub
- URL: https://github.com/hopson97/yare
- Owner: Hopson97
- Created: 2021-02-23T22:07:31.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T22:35:36.000Z (over 3 years ago)
- Last Synced: 2025-03-29T11:41:43.592Z (about 1 year ago)
- Language: C++
- Size: 3.57 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yare
Yet another render engine...
### Windows (Visual Studio)
The easiest way to build is to use [vcpkg](https://vcpkg.io/en/index.html) and install SFML through this.
```bash
vcpkg install sfml
vcpkg integrate install
```
Create a new visual studio C++ empty project, git clone the files, and copy them into the project directory.
Select the "Show All Files" options in Solution Explorer, and right-click on the src/ and deps/ directory, and choose the "include in project options"
Go into the project properies and under `C/C++ > General`, add the deps/ directory as an additional include directy.
Finally, under `Linker > Input`, add OpenGL32.lib as an additional dependancy.
### Linux
To build, at the root of the project:
```sh
sh scripts/build.sh install # only needed for the first time
```
The install argument is only needed for the first time compilation as this is what grabs the libraries from Conan
After that, you can simply run:
```sh
sh scripts/build.sh
```
To run, at the root of the project:
```sh
sh scripts/run.sh
```
To build and run in release mode, simply add the `release` suffix:
```sh
sh scripts/build.sh release
sh scripts/run.sh release
```