[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfa
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly |
Date: |
Wed, 7 Feb 2018 07:28:58 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?53087>
Summary: getframe not always rendering 3D surfaces properly
Project: GNU Octave
Submitted by: pantxo
Submitted on: Wed 07 Feb 2018 12:28:57 PM UTC
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
As an example see the following example:
demo light 2
frame = getframe (gcf); ## make use of glReadPixels
set (gcf, "visible", "off");
frame2 = getframe (gcf); ## make use of osmesa
imwrite (frame.cdata, "frame_visible.png")
imwrite (frame2.cdata, "frame_invisible.png")
open frame_visible.png
open frame_invisible.png
I attached the resulting png files. When the figure is visible, getframe makes
use of glReadPixels and some primitives are simply not drawn. When the figure
is invisible, getframe makes use of osmesa pixel buffer and all primitives are
drawn properly.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 07 Feb 2018 12:28:57 PM UTC Name: frame_invisible.png Size: 14KiB
By: pantxo
<http://savannah.gnu.org/bugs/download.php?file_id=43199>
-------------------------------------------------------
Date: Wed 07 Feb 2018 12:28:57 PM UTC Name: frame_visible.png Size: 14KiB
By: pantxo
<http://savannah.gnu.org/bugs/download.php?file_id=43200>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53087>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Pantxo Diribarne, 2018/02/09
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Pantxo Diribarne, 2018/02/09
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Philip Nienhuis, 2018/02/09
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Philip Nienhuis, 2018/02/09
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Philip Nienhuis, 2018/02/09
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Pantxo Diribarne, 2018/02/10
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Philip Nienhuis, 2018/02/10
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Pantxo Diribarne, 2018/02/11
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Philip Nienhuis, 2018/02/11
- [Octave-bug-tracker] [bug #53087] getframe not always rendering 3D surfaces properly, Pantxo Diribarne, 2018/02/20