- SVN
- Git
- Cmake
- Ninja (optional)
- Library sources:
- ZMQ version 4.X.X or build from source/install from package manager
- LibSodium version 1.X.X or build from source/install from package manager, used only as optional dependency of ZMQ
- libjpeg-turbo OS X/Linux ONLY version 1.X.X or build from source/install from package manager
- OR Pre-built libraries: GIT repository
- Compiler:
- Windows: MSVC 2017
- Linux: GCC 4.8.X
- OS X: Any
- Prebuilt libs for:
- Clone this repository
git clone https://github.com/bdancer/blender-for-vray
- Checkout git branch
git checkout dev/vray_for_blender/vb35
(from inside of blender-for-vray) - Get all submodules
git submodule update --init --recursive
- Put ZMQ, LibSodium and jpeg in the following structure
blender-for-vray-libs └───<Windows/Linux/Darwin> ├───jpeg-turbo │ ├───include │ └───lib │ ├───Debug │ └───Release ├───sodium (only if ZMQ is build with libsodium support) │ └───lib │ ├───Debug │ └───Release └───zmq ├───include └───lib ├───Debug └───Release
- Alternatively the requiered libraries can be obtained built from the GIT repository
- Assuming Windows and all libs are in C:/dev make a build dir C:/dev/build run the following cmake:
cmake -G "Visual Studio 15 2017 Win64" \ -DWITH_VRAY_FOR_BLENDER=ON \ -DLIBS_ROOT=C:/dev/blender-for-vray-libs \ -DLIBDIR=C:/dev/win64_vc14 \ C:/dev/blender-for-vray \
- Open Visual Studion and build the INSTALL project
- Inside the build folder (C:/dev/build/bin/Debug//scripts/addons) run
git clone https://github.com/ChaosGroup/vray_for_blender_exporter vb30
- Inside the vb30 folder
git submodule update --init --recursive