Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch to issue #790 RasterizationSettings perspective_correct=False n… #792

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/tutorials/fit_textured_mesh.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
"# rasterization method is used. Refer to docs/notes/renderer.md for an \n",
"# explanation of the difference between naive and coarse-to-fine rasterization. \n",
"raster_settings = RasterizationSettings(\n",
" perspective_correct=False, \n",
" image_size=128, \n",
" blur_radius=0.0, \n",
" faces_per_pixel=1, \n",
Expand Down Expand Up @@ -401,6 +402,7 @@
"# Rasterization settings for silhouette rendering \n",
"sigma = 1e-4\n",
"raster_settings_silhouette = RasterizationSettings(\n",
" perspective_correct=False, \n",
" image_size=128, \n",
" blur_radius=np.log(1. / 1e-4 - 1.)*sigma, \n",
" faces_per_pixel=50, \n",
Expand Down Expand Up @@ -526,6 +528,7 @@
"# Renderer for Image-based 3D Reasoning', ICCV 2019\n",
"sigma = 1e-4\n",
"raster_settings_soft = RasterizationSettings(\n",
" perspective_correct=False, \n",
" image_size=128, \n",
" blur_radius=np.log(1. / 1e-4 - 1.)*sigma, \n",
" faces_per_pixel=50, \n",
Expand Down Expand Up @@ -703,6 +706,7 @@
"# Renderer for Image-based 3D Reasoning', ICCV 2019\n",
"sigma = 1e-4\n",
"raster_settings_soft = RasterizationSettings(\n",
" perspective_correct=False, \n",
" image_size=128, \n",
" blur_radius=np.log(1. / 1e-4 - 1.)*sigma, \n",
" faces_per_pixel=50, \n",
Expand Down