Mercurial > octave
diff NEWS @ 25867:49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
* graphics.in.h, graphics.cc (surface::properties::update_face_normals):
New function.
* gl-render.cc (draw_surface): Use face normals if lighting mode is "flat".
* genpropdoc.m (surface): Document "facenormals(mode)" and
"vertexnormals(mode)".
* light.m: Document usage of "facenormals" and "vertexnormals".
* NEWS: Announce changes.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 08 Sep 2018 20:36:30 +0200 |
parents | 0da1b45c23f2 |
children | ba937c3dce82 |
line wrap: on
line diff
--- a/NEWS Sat Sep 08 17:23:57 2018 +0200 +++ b/NEWS Sat Sep 08 20:36:30 2018 +0200 @@ -51,6 +51,12 @@ However, if the property "IntegerHandle" has been set to "off" then the property will return an empty matrix ([]). + ** 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. + ** Printing using the -dtiff output device will now create compressed images using lzw compression. This change was made for Matlab compatibility. To produce uncompressed images use the -dtiffn @@ -63,6 +69,9 @@ when using OpenGL graphics, the Qt QOFFSCREENSURFACE feature must be available and you must use the qt graphics toolkit. + ** It is now possible to use files and folders containing Unicode characters + in Windows. + ** New functions added in 5.0: isfile