CRender
An offline Rendering Engine.
Discord server!
Getting Started
If you're a developer, and want to get started and contribute to this. The instructions are below.
WARNING: If you just want to use the application, look at Installation
- Make sure you have Embree 3.0 installed.
- Clone this repository with
git clone https://github.com/LegendWasTaken/CRender.git
- If you're compiling from the command line
cd CRender
(Or what the directory is called)cmake .
To configure the buildcmake --build . --target {TARGET}
TARGET
can be Release or Debug- You should find your executable in
/cmake-build-{TARGET}/CRender
- If you're using an IDE with cmake integration, just build the project as you normally would.
Installation
- Download the latest release for your operating system from here
- Extract to destination
- Download and install Embree
Note: On Windows, make sure to addbin
to thePATH
variable - follow the instructions on the Embree repository for your OS. - Run
CRender.exe
and enjoy!
Building
Linux
- To build this project you will require Intel Rendering Toolkit, specifically Embree 3.0 & Open Image Denoise (online version), Intel Threaded Building Blocks, CMake, and
libxi-dev build-essential xorg libglfw3 libglfw3-dev libxinerama-dev libxcursor-dev
(these are the packages for Debian/Ubuntu) - You will need to run
source /opt/intel/oneapi/setvars.sh
so it sets the global vars needed for building. If this doesn't work please look for this file, and source that file in the same terminal window you compile in. - Next you will need to run
cmake -DCMAKE_BUILD_TYPE=RELEASE .
this will build the cache - Finally you need to build it using
cmake --build . --target CRender
, now this will take a while. - Run
./CRender
Bugs/issues with building:
If you get an error such as ./CRender: symbol lookup error: /opt/intel/oneapi/oidn/1.4.0/lib/libOpenImageDenoise.so.1: undefined symbol: _ZN3tbb6detail2r15spawnERNS0_2d14taskERNS2_18task_group_contextE
you need to remove every tbb package except the intel one.
If if you get a glenable
etc error you need to get new drivers
If it cannot find embree you will need to go to /opt/intel/oneapi
and move embree to a folder called embree
instead of embreeX.XXX
Contributing
If you would like to contribute to this repository, just make a half decent PR. I have no requirements for now... OB[3~[3~