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

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

[Octave-bug-tracker] [bug #39535] FaceAlpha property not working for Ope


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #39535] FaceAlpha property not working for OpenGL backend
Date: Tue, 10 Oct 2017 15:13:32 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Update of bug #39535 (project octave):

                  Status:          Patch Reviewed => In Progress            

    _______________________________________________________

Follow-up Comment #8:

Attached is a patch that also adds the same basic support for facealpha to
surface objects.

The following shows a circle that is covered by a semi-transparent peaks
surface that partly clips through the circle:

close all
figure ();
[Xs, Ys, Zs] = sphere ();
hs = surf (2*Xs, 2*Ys, 2*Zs-3);
hold on

[Xp, Yp, Zp] = peaks ();
hp = surf (Xp, Yp, Zp, "facealpha", 0.8, "edgecolor", "none");
axis equal
view (2)


Since there are no sorting primitives, the solid objects have to be drawn
before the ones with transparency. You can see the limits when rotating the
plot or by reversing the order in the above example.

(file #42116)
    _______________________________________________________

Additional Item Attachment:

File name: bug39535_basic_facealpha.patch Size:8 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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