mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
small website updates
Summary: Small fixes to website rendering Reviewed By: jcjohnson Differential Revision: D23281746 fbshipit-source-id: c9dc8edd5e52f39d4e0e19f10ecc7e035b39feda
This commit is contained in:
parent
9aeb88b48e
commit
c25fd83694
@ -1,3 +1,8 @@
|
||||
---
|
||||
hide_title: true
|
||||
sidebar_label: Cameras
|
||||
---
|
||||
|
||||
# Cameras
|
||||
|
||||
## Camera Coordinate Systems
|
||||
|
@ -1,3 +1,8 @@
|
||||
---
|
||||
hide_title: true
|
||||
sidebar_label: Cubify
|
||||
---
|
||||
|
||||
# Cubify
|
||||
|
||||
The [cubify operator](https://github.com/facebookresearch/pytorch3d/blob/master/pytorch3d/ops/cubify.py) converts an 3D occupancy grid of shape `BxDxHxW`, where `B` is the batch size, into a mesh instantiated as a [Meshes](https://github.com/facebookresearch/pytorch3d/blob/master/pytorch3d/structures/meshes.py) data structure of `B` elements. The operator replaces every occupied voxel (if its occupancy probability is greater than a user defined threshold) with a cuboid of 12 faces and 8 vertices. Shared vertices are merged, and internal faces are removed resulting in a **watertight** mesh.
|
||||
|
@ -1,3 +1,8 @@
|
||||
---
|
||||
hide_title: true
|
||||
sidebar_label: Data loaders
|
||||
---
|
||||
|
||||
# Data loaders for common 3D Datasets
|
||||
|
||||
### ShapetNetCore
|
||||
|
@ -41,7 +41,7 @@ Rendering requires transformations between several different coordinate frames:
|
||||
|
||||
For example, given a teapot mesh, the world coordinate frame, camera coordiante frame and image are show in the figure below. Note that the world and camera coordinate frames have the +z direction pointing in to the page.
|
||||
|
||||
<img src="assets/world_camera_image.png" width="1000">
|
||||
<img src="assets/world_camera_image.jpg" width="1000">
|
||||
|
||||
---
|
||||
|
||||
|
@ -131,10 +131,7 @@ loss_chamfer, _ = chamfer_distance(sample_sphere, sample_test)
|
||||
<Container>
|
||||
<ol>
|
||||
<li>
|
||||
<strong>Install PyTorch3D:</strong>
|
||||
<p>See the instructions
|
||||
<a href="https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md">here</a>.
|
||||
</p>
|
||||
<strong>Install PyTorch3D </strong> (following the instructions <a href="https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md">here</a>)
|
||||
</li>
|
||||
<li>
|
||||
<strong>Try a few 3D operators </strong>
|
||||
|
Loading…
x
Reference in New Issue
Block a user