diff NEWS @ 26018:50583f514ae4

Add function to manually trigger calculation of [Vertex|Face]Normals (bug #54922). * graphics.cc (F__update_normals__): Add function to manually trigger calculation of normals. * graphics.in.h (update_normals, update_face_normals, update_vertex_normals of surface::properties and patch::properties): Add argument to force auto-calculation of face and vertex normals. * surfl.m: Call __update_normals__ before getting vertex normals. * NEWS: Explain conditions for automatic normals calculations.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 03 Nov 2018 15:42:44 +0100
parents 227e02c26617
children ca5170d4acb6
line wrap: on
line diff
--- a/NEWS	Sun Nov 04 13:28:27 2018 +0100
+++ b/NEWS	Sat Nov 03 15:42:44 2018 +0100
@@ -61,8 +61,11 @@
  ** Patch and surface graphic objects now use the "FaceNormals" property
     for flat lighting.
 
- ** "FaceNormals" and "EdgeNormals" for patch and surface graphic
-    objects are now calculated automatically if necessary.
+ ** "FaceNormals" and "VertexNormals" for patch and surface graphic
+    objects are now calculated automatically if necessary.  The
+    "FaceLighting" property must be set to "flat" (FaceNormals) or
+    "gouraud" (VertexNormals), AND a light object must be present in the
+    axes, before any normals will be calculated.
 
  ** Printing to raster formats now uses an opengl based method by default.
     The print options "-opengl" and "-painters" have been added (for "qt"