Skip to content

Commit a977253

Browse files
author
Christopher Remde
committed
Reduced normal smoothing, fixed Converter UI, removed clutter
1 parent b0d2055 commit a977253

15 files changed

+3
-1147
lines changed

Converter/Sequence_Converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def convert_model(self, file):
198198

199199
# For pointclouds, normals can be estimated
200200
if(self.convertSettings.generateNormals and self.convertSettings.isPointcloud):
201-
ms.compute_normal_for_point_clouds(k = 10, flipflag = False, smoothiter = 10)
201+
ms.compute_normal_for_point_clouds(k = 10, flipflag = False, smoothiter = 3)
202202
normals = ms.current_mesh().vertex_normal_matrix().astype(np.float32)
203203

204204
#Pointcloud normal estimation leads to randomly flipped normals between frames

Converter/Sequence_Converter_UI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def set_SRGB_enabled(self, enabled):
405405

406406
def set_viewport_height(self, pointcloud_settings, texture_settings):
407407
default_viewport_height = 450
408-
pointcloud_settings_height = 50
408+
pointcloud_settings_height = 70
409409
textures_settings_height = 70
410410

411411
height = default_viewport_height

Unity_Test_Project/Assets/LegacyShader.mat

Lines changed: 0 additions & 84 deletions
This file was deleted.

Unity_Test_Project/Assets/LegacyShader.mat.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Unity_Test_Project/Assets/NewSurfaceShader.shader

Lines changed: 0 additions & 32 deletions
This file was deleted.

Unity_Test_Project/Assets/NewSurfaceShader.shader.meta

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)