Skip to content

Commit

Permalink
Added teaser video
Browse files Browse the repository at this point in the history
Summary: Added teaser video

Reviewed By: una-dinosauria

Differential Revision: D63808117

fbshipit-source-id: 5302c43f2ddffd5b573a44b446a4aa40f4b113b5
  • Loading branch information
podgorskiy authored and facebook-github-bot committed Oct 3, 2024
1 parent bdfb5eb commit 0a535a3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ myst_parser
sphinx_design
nbsphinx
ipython
sphinxcontrib-video
4 changes: 4 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ p.bd-links__title {
font-size: 0.75em;
margin-left: 0.3em;
}

.full-width {
width: 100%
}
Binary file added docs/source/_static/teaser_video.mp4
Binary file not shown.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"sphinx.ext.intersphinx",
"myst_parser",
"sphinx_design",
"sphinxcontrib.video",
]
autosummary_generate = True
katex_prerender = True
Expand Down
8 changes: 8 additions & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ DRTK provides a set of differentiable components to build custom differentiable
* **edge_grad**: Computes gradients at discontinuities.
* **CUSTOM SHADING** and **LOSS FUNCTION**: User-defined components for shading and loss calculation.

```{video} _static/teaser_video.mp4
:loop:
:autoplay:
:class: full-width
```
Fitting of a simple hand model with simple lambertian material to a single photo. See tutorial [Single Image Hand Fitting](tutorials/DRTK_Tutorial_hand_fitting).


## Hello Triangle!

Here's a simple "Hello Triangle" example with DRTK:
Expand Down

0 comments on commit 0a535a3

Please sign in to comment.