octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54922] demo surfl 1 fails


From: Rik
Subject: [Octave-bug-tracker] [bug #54922] demo surfl 1 fails
Date: Fri, 2 Nov 2018 13:52:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #7, bug #54922 (project octave):

Interesting.  Octave is, in effect, even more performance-oriented in that it
does not calculate the normals for surface objects unless required.  I would
actually be inclined to keep the Octave-behavior, unless there is only a small
performance benefit.

This was my attempt to check that


octave:22> Z = peaks (100);
octave:23> h = surf (Z, 'facelighting', 'none');
octave:24> hl = light;
octave:25> tic; set (h, 'facelighting', 'gouraud'); toc
Elapsed time is 0.00257993 seconds.


2.6 milliseconds doesn't seem like very much.  I guess I'm okay making the
change, or leaving it as is if that would be simpler.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54922>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]