Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ See `llff/math/pose_math.py` for the code that generates these path trajectories
#### Render video with CUDA
You can build this in the `cuda_renderer/` directory by calling `make`.

In order to use make, you must install the following dependencies:

```
sudo apt install nvidia-cuda-toolkit
sudo apt-get install build-essential
sudo apt-get install g++
sudo apt-get install make
sudo apt-get install libeigen3-dev
sudo apt-get install libglew-dev
sudo apt install openmpi-bin libopenmpi-dev
```

Uses CUDA to render out a video. Specify the height of the output video in pixels (-1 for same resolution as the MPIs), the factor for cropping the edges of the video (default is 1.0 for no cropping), and the compression quality (crf) for the saved MP4 file (default is 18, lossless is 0, reasonable is 12-28).
```
./cuda_renderer mpidir <your_posefile> <your_videofile> height crop crf
Expand Down
1 change: 1 addition & 0 deletions cuda_renderer/mpi_cuda.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <cstdint>
#include "mpi_cuda.h"


Expand Down