From d2bbd0cdb7f3df33be8df5cffbb71aca795b8ee1 Mon Sep 17 00:00:00 2001 From: Alex Naumann Date: Mon, 30 Aug 2021 13:10:30 -0700 Subject: [PATCH] Fix link to render textured meshes example (#818) Summary: Great work! :) Just found a link in the examples that is not working. This will fix it. Best, Alex Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/818 Reviewed By: nikhilaravi Differential Revision: D30637532 Pulled By: patricklabatut fbshipit-source-id: ed6c52375d1e760cb0fb2c0a66648dfeb0c6ed46 --- docs/notes/visualization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/notes/visualization.md b/docs/notes/visualization.md index ec93cb88..71aa5165 100644 --- a/docs/notes/visualization.md +++ b/docs/notes/visualization.md @@ -5,12 +5,12 @@ sidebar_label: Plotly Visualization # Overview -PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](../../pytorch3d/vis/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots. +PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/vis/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots. # Examples -These rendering functions accept plotly x,y, and z axis arguments as `kwargs`, allowing us to customize the plots. Here are two plots with colored axes, a [Pointclouds plot](assets/plotly_pointclouds.png), a [batched Meshes plot in subplots](assets/plotly_meshes_batch.png), and a [batched Meshes plot with multiple traces](assets/plotly_meshes_trace.png). Refer to the [render textured meshes](../tutorials/render_textured_meshes.ipynb) and [render colored pointclouds](../tutorials/render_colored_points) tutorials for code examples. +These rendering functions accept plotly x,y, and z axis arguments as `kwargs`, allowing us to customize the plots. Here are two plots with colored axes, a [Pointclouds plot](assets/plotly_pointclouds.png), a [batched Meshes plot in subplots](assets/plotly_meshes_batch.png), and a [batched Meshes plot with multiple traces](assets/plotly_meshes_trace.png). Refer to the [render textured meshes](https://pytorch3d.org/tutorials/render_textured_meshes) and [render colored pointclouds](https://pytorch3d.org/tutorials/render_colored_points) tutorials for code examples. # Saving plots to images