rendering that doesn't involve displaying or printing, usually directed to a buffer or a file.
Questions tagged [off-screen]
117 questions
5
votes
3 answers
CSS: Floating two div elements with 100% width off screen?
I remember asking this question a while back but i can't seem to find it again! I've searched but i can't seem to find the solution i'm looking for.
Let's say i have two divs with 100% width floated next to each other. As they take up the entire…

qwerty
- 383
- 3
- 7
- 14
5
votes
2 answers
pbuffer vs fbo in egl offscreen rendering
I'm very confused at egl pbuffer surface. In my opinion, a pbuffer surface is a platform independent surface, just like the windows surface or the pixmap surface. Things drawn to that surface, although not visible, should be able to be read…

Bill Yan
- 3,369
- 4
- 27
- 42
5
votes
1 answer
OpenGL: Fast off-screen rendering
I need to render quite alot (tens of thousands) images off-screen using OpenGL.
I am running under Windows and using QT as a framework. the solution can be windows only, it doesn't really matter.
From what I've found using Google there are a number…

shoosh
- 76,898
- 55
- 205
- 325
5
votes
1 answer
Use javascript replace on text off-screen
Let's say I have a long body of text, for example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In fermentum purus eu ipsum gravida sagittis. Curabitur auctor, enim vitae accumsan viverra, tellus massa cursus diam, posuere mattis turpis…

Sang Froid
- 973
- 1
- 7
- 10
4
votes
0 answers
iOS render-to-texture with metal does not update render texture
I would like to use a fragment shader to render to a texture offscreen. Once this is done I want to use the result of that as the input for another fragment shader.
I create a texture and clear it with red (to know it is set). I use the render…

user1675629
- 51
- 3
4
votes
2 answers
Android offscreen view draws only its background and nothing else
I'm trying to create and render a view completely offscreen. First, I've tried (from http://arpitonline.com/2012/07/17/capturing-bitmaps-of-views-in-android/):
Bitmap result = Bitmap.createBitmap(1080, 1080, Bitmap.Config.ARGB_8888);
Canvas c = new…

Can Poyrazoğlu
- 33,241
- 48
- 191
- 389
4
votes
2 answers
Can I use OpenGL for off-screen rendering?
I want to try to make a simple program that takes a 3D model and renders it into an image. Is there any way I can use OpenGL to render an image and put it into a variable that holds an image rather than displaying an image? I don't want to see what…

seedasharp
- 89
- 1
- 4
4
votes
1 answer
Leadbolt Banner off-screen
My banners sometimes go off the screen. I am using the Leadbolt SDK 4.00a and Android 4.1 with the following code:
mAdView = new AdController(mActivity, "MY ID",…

Rui Gaspar
- 154
- 8
4
votes
1 answer
Android Canvas Off Screen Drawing Performance
I'm developing an Android game using Canvas element. I have many graphic elements (sprites) drawn on a large game map. These elements are drawn by standard graphics functions like drawLine, drawPath, drawArc etc.
It's not hard to test if they are in…

Emir Akaydın
- 5,708
- 1
- 29
- 57
3
votes
1 answer
How to properly compile ParaView for headless offscreen rendering?
I'm running OpenFOAM on a remote server and basically manage to visualize the results via paraview's pvserver as described here. However upon connection the client yields
Server DISPLAY not accessible!
Display is not accessible on the server side.…

Tobias Kienzler
- 25,759
- 22
- 127
- 221
3
votes
1 answer
Minimal OpenGL offscreen rendering using QT
I am trying to make a simple offscreen renderer to produce a bunch of image files using QT. There are lots of examples around, though I haven't found any dealing with this sort of one-shot rendering, without a loop and without a visible window. Plus…

canaldin
- 63
- 1
- 5
3
votes
1 answer
Showing JFrame in a non Raster Graphics Configuration
Greetings,
I'm trying to get a JFrame drawing in a non screen device. The JFrame constructor has a
JFrame(GraphicsConfiguration)
to seemingly allow this:
My First attempt was to create my own GraphicsConfiguration, who's GraphicsDevice reported…

MeBigFatGuy
- 28,272
- 7
- 61
- 66
3
votes
0 answers
Offscreen rendering with QOffscreenSurface - QPainter with Alpha pen-color failing
I have tried this method (Answer of NikitaFeodonit) for offscreen rendering and creating a QImage and saving to disk. Everything is working fine, except when using a QColor with Alpha-Channel for QPen.
QPainter.drawEllipse without ALPHA in…

J.P.
- 31
- 2
3
votes
1 answer
processing 3 offscreen ugly
I'm using Processing 3 (and 2) on both, OSX and Windows. The linear graphics in offscreen PGraphics buffer is significantly uglier than directly drawn lines. It seems like the antialiasing on the edges of the shape doesn't work well.
Can you help…

janper
- 31
- 6
3
votes
1 answer
Most efficient way to reuse an HTML5 canvas's drawn content
I use an offscreen canvas to dynamically generate certain images based on the runtime value of certain variables. Once the image has been drawn on the offscreen canvas, I want to get it and use it in several places of my webapp.
Strategy 1: use the…

Jean-Philippe Pellet
- 59,296
- 21
- 173
- 234