|  | 
| 1 | 1 | # Pytorch3d playground | 
| 2 | 2 | 
 | 
|  | 3 | +## How to install Pytorch3D ? | 
|  | 4 | + | 
|  | 5 | +Everything is explained in the [README](https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md) of the pytorch3D lib. | 
|  | 6 | + | 
|  | 7 | +As I have CUDA 10.1, which is an old version, I need to run this command :  | 
|  | 8 | +``̀ pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html``` | 
|  | 9 | + | 
|  | 10 | +I wanted to build pytorch3d the easiest way so I sticked with an older version of torch : 1.6.0. | 
|  | 11 | + | 
|  | 12 | +In order to install pytorch, you need to run : | 
|  | 13 | + | 
|  | 14 | +``̀ pip install pytorch3d``` | 
|  | 15 | + | 
|  | 16 | +ATTENTION, as I was saying above, this works with pytorch 1.6.0 only. | 
|  | 17 | + | 
|  | 18 | +## Learning | 
|  | 19 | + | 
| 3 | 20 | Learning [PyTorch3D](https://github.com/facebookresearch/pytorch3d) in order to work on a university project for mesh transformation. | 
| 4 | 21 | 
 | 
|  | 22 | +### First step  | 
|  | 23 | + | 
| 5 | 24 | The first tutorial I made is based on the ["deform a source mesh to form a target mesh"](https://pytorch3d.org/tutorials/deform_source_mesh_to_target_mesh) tutorial. | 
| 6 | 25 | 
 | 
| 7 | 26 | From this, I learned how to load objects and meshes and how to modify them. | 
| 8 | 27 | 
 | 
|  | 28 | +### Second step | 
|  | 29 | + | 
| 9 | 30 | The next thing I read about is [rendering texture](https://pytorch3d.org/tutorials/render_textured_meshes) | 
| 10 | 31 | 
 | 
| 11 | 32 | For mesh texturing there is several options : vertex textures, UV textures and face textures | 
0 commit comments