Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03d2c1d

Browse files
authored
Update README.md
1 parent a5bc1f0 commit 03d2c1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ PyQt5 app for viewing SMAL meshes
1010
cd SMALViewer
1111
```
1212

13-
2. Clone the [SMAL-ST](http://smal.is.tue.mpg.de/) project website, and access the latest version of the SMAL deformable animal model. You should copy all of [these files](https://github.com/silviazuffi/smalst/tree/master/smpl_models) underneath the ./data directory.
13+
2. Clone the [SMAL-ST](http://smal.is.tue.mpg.de/) project website in order to access the latest version of the SMAL deformable animal model. You should copy all of [these files](https://github.com/silviazuffi/smalst/tree/master/smpl_models) underneath a SMALViewer/data directory.
1414

15-
Pro-tip: If you are a Windows user, you can still use these files but you'll need to edit the line endings. Try the following Powershell commands, shown here on one example:
15+
Windows tip: If you are a Windows user, you can use these files but you'll need to edit the line endings. Try the following Powershell commands, shown here on one example:
1616
```
1717
$path="my_smpl_00781_4_all_template_w_tex_uv_001.pkl"
1818
(Get-Content $path -Raw).Replace("`r`n","`n") | Set-Content $path -Force
@@ -29,7 +29,7 @@ PyQt5 app for viewing SMAL meshes
2929
os.environ['PYOPENGL_PLATFORM'] = 'osmesa'.
3030
```
3131
32-
If you are a Windows user and you experience issues here, you can fix by following the advice [here](https://github.com/mmatl/pyrender/issues/117). A quick fix is to edit the function "make_current" in pyrender/platforms/pyglet_platform.py, L53 (wherever it's installed for you) to:
32+
If you are a Windows user and you experience issues with OffscreenRenderer, you can fix by following the advice [here](https://github.com/mmatl/pyrender/issues/117). A quick fix is to edit the function "make_current" in pyrender/platforms/pyglet_platform.py, L53 (wherever it's installed for you) to:
3333
3434
```
3535
def make_uncurrent(self):
@@ -44,7 +44,7 @@ PyQt5 app for viewing SMAL meshes
4444
```
4545
python smal_viewer.py
4646
```
47-
## Differentiable Rendering (Sample)
47+
## Differentiable Rendering
4848
4949
For many research applications, it is useful to be able to propagate gradients from 2D losses (e.g. silhouette/perceptual) back through the rendering process. For this, one should use a differentiable render such as [PyTorch3D](https://github.com/facebookresearch/pytorch3d) or [Neural Mesh Renderer](https://github.com/daniilidis-group/neural_renderer). Although not usful for this simple demo app, I have included a script p3d_renderer.py which shows how one can achieve differentiable rendering of the SMAL mesh with PyTorch3D. You can flip between the two rendering methods by selecting between the two imports at the top of pyqt_viewer.py:
5050

0 commit comments

Comments
 (0)