Questions tagged [off-screen]

rendering that doesn't involve displaying or printing, usually directed to a buffer or a file.

117 questions
1
vote
0 answers

Failed to link osmesa correctly

Mesa version = 12.0.1 Tried version before this as well. At link time this error comes up: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libGL.so: undefined reference to _glapi_tls_Dispatch'. The script i am using to install…
asad
  • 281
  • 4
  • 11
1
vote
0 answers

OpenGL glReadPixels gets 1282 error

I would like to create an offscreen renderer with OpenGL. I've created a FBO and a RBO to call the glReadPixels(), but I always get an error. This is my code: // Init GLuint fbo; GLuint rbo; glGenFramebuffers(1, &fbo); glGenRenderbuffers(1,…
Tiberius
  • 29
  • 5
1
vote
1 answer

How to get correct color and /or stencil-renderable internal format supported by current implementation?

Using OpenGL FBO to do Offscreen rendering. Main code fragment of creating FBO is listed bellow: glGenFramebuffers(1, &fbo); // Create new framebuffers with new size. int maxSize; glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE, …
Shaobo Zi
  • 709
  • 1
  • 10
  • 25
1
vote
1 answer

WebGL Three.js Something is not loaded until canvas Div is made visible

I have an HTML5 application using 3 canvases, two of which contain a WebGL 3D scene rendered using Three.js These three canvases are located inside a custom slidder that only displays one canvas at the time in full window size. The problem I have is…
XaviGG
  • 171
  • 2
  • 19
1
vote
0 answers

vtk offscreen rendering crash

I am working on an application with VTK windows. (my VTK version is 5.8.0) Leaving "VTK render window", all other windows are hidden. But it is necessary to render the hidden windows because the rendered images of the hidden windows are needed to be…
Study
  • 1
  • 4
1
vote
1 answer

linear layout or scrollview getting pushed off the screen

for some reason, the scrollview is getting pushed off of the screen
ash
  • 11
  • 4
1
vote
0 answers

glReadPixels works but returns INVALID_OPERATION when working with PBO

I am confused because I have working code that gives me INVALID_OPERATION with glreadpixels My guess is that it is causing / will cause performance issues, and even if it does not I wonder if it may result in unreliable code. I am doing offscreen…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
1
vote
1 answer

Off-Screen JTextComponent

I am making a paint program and I'm coming across some trouble figuring out how to make a text tool. What I want to do is click and drag to make a textbox appear on the canvas. The problem is that I don't want this to just be a JTextComponent…
pigi5
  • 74
  • 1
  • 10
1
vote
2 answers

Java OpenGL draw offscreen buffer to image

I'm trying to write a java opengl (JOGL) method that writes to an offscreen drawable and then writes that to an image. I have verified this works when using an onscreen drawable as well as GLP buffers, but the output image in its current state is…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
1
vote
1 answer

How can I off-screen render?

I have a problem with off-screen rendering with OpenGL. I searched for a lot about FBO and PBO but nothing was helpful for me. I guess the matter was from memDC which was made by CreateCompatibleDC. Here is a part of my code void…
phraust
  • 123
  • 1
  • 9
1
vote
2 answers

Remote off-screen rendering (Linux / no GUI)

The situation is as follows: There is a remote Linux server (no GUI), which builds the OpenGL scene. Objective: Transfer generated image(s) to client windows machine I can not understand some thing with offscreen rendering, read a lot of literature,…
snk
  • 175
  • 3
  • 10
1
vote
2 answers

WPF - simulate mouse events on off-screen rendered Grid

I'm rendering a WPF grid with multiple elements (buttons, textbox, ...) to a bitmap which is then used as a texture for a 3D surface in a Direct3D scene. For user interaction I create a 3D ray from the 2D mouse cursor position into the 3D scene…
user233880
1
vote
1 answer

libOSMesa.so is missing during Mesa installation

I am trying to setup a Virtual Box for doing off-screen rendering with ParaView. I have Ubuntu 12.04 64-bit Server installed in the box. For setting up ParaView and Mesa I have followed the instructions the links…
user2849756
  • 11
  • 1
  • 3
1
vote
0 answers

android animating buttons from offscreen bottom to onscreen are blank

I have a RelativeLayout container with 5 Buttons on it. When I use a TranslationAnimation from offscreen (below the screen), the buttons are blank until the animation is done. At the end of the animation, I explicitly draw the buttons and they…
RaiderJ
  • 193
  • 1
  • 7
1
vote
1 answer

Apple OSX OpenGL offline rendering with CoreGL

I'm trying to render on OSX using CoreGL and a Framebuffer: it seems that the triangle rendering is not working at all, while for example a glClear with a color will be shown in the resulting PPM image. I've tried several variation of the code…
user2631521