Skip to content

Commit

Permalink
use markdown latex support
Browse files Browse the repository at this point in the history
  • Loading branch information
martinResearch committed Feb 22, 2023
1 parent d02c4ab commit 7c5a6fd
Show file tree
Hide file tree
Showing 15 changed files with 164 additions and 963 deletions.
12 changes: 12 additions & 0 deletions DEODR.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.associations": {
"xiosbase": "cpp"
}
}
}
2 changes: 1 addition & 1 deletion create_venv.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C:\Users\madelago\AppData\Local\Programs\Python\Python310\python.exe -m venv python_venv
python.exe -m venv python_venv
.\python_venv\scripts\python.exe -m pip install --upgrade pip
.\python_venv\scripts\pip.exe install -r requirements.txt
.\python_venv\scripts\pip.exe install -e .
4 changes: 2 additions & 2 deletions deodr/examples/triangle_soup_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def create_example_scene(
n_tri: int = 30, width: int = 200, height: int = 200, clockwise: bool = False
n_tri: int = 30, width: int = 200, height: int = 200, clockwise: bool = False, textured_ratio:float=0.5
) -> Scene2D:

material = (
Expand Down Expand Up @@ -51,7 +51,7 @@ def create_example_scene(
"depths": (np.random.rand(1) * np.ones((3, 1))),
}

triangle["textured"] = np.random.rand(1) > 0.5
triangle["textured"] = np.random.rand(1) > (1-textured_ratio)

if triangle["textured"]:
triangle["uv"] = (
Expand Down
139 changes: 0 additions & 139 deletions images/adjoint.svg

This file was deleted.

Loading

0 comments on commit 7c5a6fd

Please sign in to comment.