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

 
 

bug #59132: line invisible behind patch with given alpha

Submitted by:  Hg200 <hg200>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Member
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5