Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Commit made automatically to show authorship. This version of the code is not usable.
  • Loading branch information
pvl-bot committed Jun 30, 2023
0 parents commit fd99ac2
Show file tree
Hide file tree
Showing 98 changed files with 7,704 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Bug report
about: Report an issue with using or installing infinigen
title: "[BUG]"
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steps to Reproduce**
- What version of the code were you using? Tell us the output of `git log -n 1`
'''
$ git log -n 1
...
'''

- What command did you run?
```
Add your command here
```

- What are your output logs?
```
Add your logs here, preferably from a job run with --debug
```

** (If this is your first time running Infinigen) What are the full output logs of `install.sh` ?**
```
Add your install.sh logs here
```

**Platform**
- OS & OS Version:
- GPU (?) :
- GPU Driver Version (?) :
- RAM (GB):

**Additional context**
Add any other context about the problem here.
65 changes: 65 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Python-3.10.2
Python-3.10.2.tgz
blender
blender.tar.xz
Blender.app

*/rclone.zip
*/miniconda.sh

.vscode
*/wandb
.vscode

slurm-*.out
__pycache__
*.blend
*.blend1
*/worldgen/terrain/gen_occlusions/dependencies/*
*.obj
*.DS_Store
**._.DS_Store
**.swp

.idea
Blender.app/
blender.dmg
screenlog.*

dev_install.sh

dev.py

cache
Blender-FLIP-Fluids
*.mp4

*.npz
*.obj
*.blend
*.blend1
*.in
*.out
profiles_*.npz
*outputs
snippets
resources
times.txt
wandb
screenlog.0
polycounts.txt
START_*
FINISH_*
*_times.txt
_start.txt
config/custom.gin
*.so
*pyx.cpp
blends
generated_surface_script.py
build
*egg-info
dist
build
blends
*.ipynb_checkpoints
30 changes: 30 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[submodule "worldgen/terrain/gen_occlusions/dependencies/eigen"]
path = process_mesh/dependencies/eigen
url = https://gitlab.com/libeigen/eigen.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/argparse"]
path = process_mesh/dependencies/argparse
url = [email protected]:p-ranav/argparse.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/cnpy"]
path = process_mesh/dependencies/cnpy
url = [email protected]:rogersce/cnpy.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/indicators"]
path = process_mesh/dependencies/indicators
url = [email protected]:p-ranav/indicators.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/tinycolormap"]
path = process_mesh/dependencies/tinycolormap
url = [email protected]:yuki-koyama/tinycolormap.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/glm"]
path = process_mesh/dependencies/glm
url = [email protected]:g-truc/glm.git
[submodule "worldgen/terrain/gen_occlusions/dependencies/fast_obj"]
path = process_mesh/dependencies/fast_obj
url = [email protected]:thisistherk/fast_obj.git
[submodule "process_mesh/dependencies/json"]
path = process_mesh/dependencies/json
url = https://github.com/nlohmann/json.git
[submodule "process_mesh/dependencies/stb"]
path = process_mesh/dependencies/stb
url = https://github.com/nothings/stb.git
[submodule "process_mesh/dependencies/glfw"]
path = process_mesh/dependencies/glfw
url = https://github.com/glfw/glfw.git
40 changes: 40 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
ARG APP_IMAGE=continuumio/miniconda3
FROM ${APP_IMAGE}
ARG APP_IMAGE
ENV PATH="/root/miniconda3/bin:${PATH}"
RUN if [ "$APP_IMAGE" = "nvidia/cuda:12.0.0-devel-ubuntu22.04" ]; then \
echo "Using CUDA image" && \
apt-get update && \
apt-get install -y unzip sudo git g++ libglm-dev libglew-dev libglfw3-dev libgles2-mesa-dev zlib1g-dev wget cmake vim libxi6 libgconf-2-4 && \
wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh; \
else \
echo "Using Conda image" && \
apt-get update -yq \
&& apt-get install -yq \
cmake \
g++ \
libgconf-2-4 \
libgles2-mesa-dev \
libglew-dev \
libglfw3-dev \
libglm-dev \
libxi6 \
sudo \
unzip \
vim \
zlib1g-dev; \
fi

RUN mkdir /opt/infinigen
WORKDIR /opt/infinigen
COPY . .
RUN chmod +x worldgen/tools/compile_opengl.sh
RUN conda init bash \
&& . ~/.bashrc \
&& conda create --name infinigen python=3.10 \
&& conda activate infinigen \
&& ./install.sh
Loading

0 comments on commit fd99ac2

Please sign in to comment.