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

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

[Octave-bug-tracker] [bug #48873] Matlab incompatibilities in plot routi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #48873] Matlab incompatibilities in plot routines revealed through dump_plot_demos
Date: Wed, 24 Aug 2016 18:47:09 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #2, bug #48873 (project octave):

To be honest, I do not understand what Matlab is doing. According to [1], I
think we are doing the correct thing.
If I understand the following sentences correctly, it should not matter in
which direction the surface normals are pointed when "BackFaceLighting" is set
to "reverselit":

Face lighting when the vertex normals point away from camera, specified as one
of these values:
'reverselit' — Light the face as if the vertex normal pointed towards the
camera.


This is what is done in Octave: Normals pointing away from the camera are
reversed.

Additionally, I cannot see any visual difference between "lit" and "unlit" in
Matlab [2]. According to [1], there should be a difference:

'unlit' — Do not light the face.
'lit' — Light the face according to the vertex normal.


Those short sentences seemed easy enough to understand correctly when I first
read them. I might have misunderstood them anyway. Can someone help me out,
what else could be meant?

[1]
http://de.mathworks.com/help/matlab/ref/primitivesurface-properties.html#property_backfacelighting
[2] http://josoansi.de/octave_plot_compare/compare_plot_demos_04.html#light_08

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48873>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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