[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not vi
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible |
Date: |
Tue, 6 Nov 2018 11:35:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, bug #54970 (project octave):
Here is the output from Matlab:
>> P = patch ('Vertices', vertices, 'Faces', faces, ...
'FaceVertexCData', jet (5), 'FaceColor', 'interp', ...
'Parent', A, 'Visible', 'off');
>>
>> get (P, 'FaceNormals')
ans =
[]
>> L = camlight(A, 'headlight');
>> get (P, 'FaceNormals')
ans =
[]
>> set (P, 'Visible', 'on');
>> get (P, 'FaceNormals')
ans =
4x3 single matrix
0 0.8944 -0.4472
-0.8944 0 -0.4472
0 -0.8944 -0.4472
0.8944 0 -0.4472
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54970>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Guillaume, 2018/11/06
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Rik, 2018/11/06
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible,
Guillaume <=
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Markus Mützel, 2018/11/08
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Pantxo Diribarne, 2018/11/08
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Rik, 2018/11/08
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Markus Mützel, 2018/11/09
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Rik, 2018/11/10
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Guillaume, 2018/11/12
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Markus Mützel, 2018/11/12
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Guillaume, 2018/11/12
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Markus Mützel, 2018/11/12
- [Octave-bug-tracker] [bug #54970] Use of camlight when a patch is not visible, Guillaume, 2018/11/12