bugGNU Octave - Bugs: bug #59132, line invisible behind patch with...

 
 

bug #59132: line invisible behind patch with given alpha

Submitter:  Hg200 <hg200>
Submitted:  Fri 18 Sep 2020 07:05:51 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Sep 2020 07:55:21 PM UTC, comment #1: 

This is probably a duplicate of bug #57980.

Compare your example to:

x = [0; 1; 1; 0];
y = [0; 0; 1; 1];
z = [0; 0; 0; 0];
line ([0, 1], [0, 1], [-0.1, 0.1], 'color', 'k', 'linewidth', 1);
patch (x, y, z, [1; 1; 1; 1], 'facealpha', 0.5);
view (3);
grid 'on';


Please, re-open if you think this is something different.

Markus Mützel <mmuetzel>
Group administrator
Fri 18 Sep 2020 07:05:51 PM UTC, original submission:  

Attached what i see in Matlab 2018 compared to Octave hg id: 9beec32ba3d6. Line behind transparent patch is invisible in Octave but is visible in Matlab.


x = [0; 1; 1; 0];
y = [0; 0; 1; 1];
z = [0; 0; 0; 0];
patch (x, y, z, [1; 1; 1; 1], 'facealpha', 0.5);
view (3);
line ([0, 1], [0, 1], [-0.1, 0.1], 'color', 'k', 'linewidth', 1);
grid 'on';


BTW: Surf-plot behind patch is visible (i.e. displayed correctly)

Hg200 <hg200>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49811:  matlab_vs_octave.png added by hg200 (33KiB - image/png)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by hg200 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-18 mmuetzel Dependencies- Depends on bugs #57980
    2020-09-18 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
    2020-09-18 hg200 Attached File- Added matlab_vs_octave.png, #49811

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code