More document/tutorial will be added soon!
Read more about my particle implementation here
Read more about my animation implementation here
- You can use following command to create the project
mkdir build64 || cmake -A x64 -S . -Bbuild64
- Or if you have node installed you can run
npm run cmake-windows
- Also you can use cmake tools that does everything for you (Available as extension for VS-Code)
- Find .sln files inside build64 and then run the project
Currently most of recent examples won't run on mac because of no geometry shader support. I'm trying to use compute shader for animation, particle and replace all geometry shader usages with compute shader
(Editor is not avialable yet)
- Using make
mkdir build64
cd build64
cmake .. -DCMAKE_BUILD_TYPE=Debug (Release) Or you can use npm run cmake-mac
make
./MFaEngine
- If you prefer Xcode, create a build folder then execute following command from inside that folder:
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=./ios.toolchain.cmake -DPLATFORM=MAC
Use clang
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
(Editor is not avialable yet)
mkdir build
cd build
cmake ..
For debug build
cmake -DDEBUG_MODE=ON ..
For release build
No extra flag needed
https://gameworksdocs.nvidia.com/PhysX/4.1/documentation/platformreadme/linux/readme_linux.html
You might need to install x11 library on your machine
sudo apt install libx11-dev
Open android folder using android studio. You might need to change ndk version based on your installed version
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=./ios.toolchain.cmake -DPLATFORM=OS64COMBINED