Skip to content

Commit

Permalink
Added two more tutorials
Browse files Browse the repository at this point in the history
Summary:
Added two more tutorials. For mesh rendering and for hand fitting

Also fixed missing copyright in css file

Reviewed By: una-dinosauria

Differential Revision: D63805824

fbshipit-source-id: e232299b1b4572adc9573d441e1d9b34414ac8e3
  • Loading branch information
podgorskiy authored and facebook-github-bot committed Oct 3, 2024
1 parent c69fe35 commit bdfb5eb
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/

#rtd-footer-container {
margin-top: 0px !important;
margin-bottom: 0px !important;
Expand Down
Binary file added docs/source/_static/tutorial_hand_fitting.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/tutorials/DRTK_Tutorial_hand_fitting.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/source/tutorials/DRTK_Tutorial_rendering_meshes.ipynb

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions docs/source/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ Tutorials
DRTK_Tutorial_2_optimizing_geometry
DRTK_Tutorial_3_geometry_intersection

.. toctree::
:maxdepth: 4
:caption: Mesh Rendering
:hidden:

DRTK_Tutorial_rendering_meshes


.. toctree::
:maxdepth: 4
:caption: Computing Gradients and Fitting
:hidden:

DRTK_Tutorial_hand_fitting

.. grid::

.. grid-item-card:: :doc:`DRTK_Tutorial_1_hello_triangle`
Expand All @@ -35,3 +50,21 @@ Tutorials

.. image:: ../_static/tutorial_3_animation.gif
:width: 400

.. grid::

.. grid-item-card:: :doc:`DRTK_Tutorial_rendering_meshes`

In this tutorial, we demonstrate how to rendering simple meshes with DRTK.

.. image:: ../_static/tutorial_rendering_meshes.png
:width: 400

.. grid::

.. grid-item-card:: :doc:`DRTK_Tutorial_hand_fitting`

In this tutorial, we demonstrate fitting of a simple hand model with simple lambertian material to a single photo.

.. image:: ../_static/tutorial_hand_fitting.gif
:width: 400

0 comments on commit bdfb5eb

Please sign in to comment.