Datasets:

Languages:
English
ArXiv:
License:
mattdeitke's picture
add rendering script
203a301
|
raw
history blame
No virus
869 Bytes
# Objaverse-XL Rendering Script
## Setup
1. Clone the repository and enter the rendering directory:
```bash
git clone https://github.com/allenai/objaverse-xl.git && \
cd objaverse-xl/scripts/rendering
```
2. Download Blender:
```bash
wget https://download.blender.org/release/Blender3.2/blender-3.2.2-linux-x64.tar.xz && \
tar -xf blender-3.2.2-linux-x64.tar.xz && \
rm blender-3.2.2-linux-x64.tar.xz
```
3. If you're on a headless Linux server, install Xorg and start it:
```bash
sudo apt-get install xserver-xorg -y && \
sudo python3 start_x_server.py start
```
4. Install the Python dependencies. Note that Python >3.8 is required:
```bash
cd ../.. && \
pip install -r requirements.txt && \
pip install -e . && \
cd scripts/rendering
```
## Usage
After setup, you can render objects using the `main.py` script:
```bash
python3 main.py
```