Questions tagged [off-screen]

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

117 questions
0
votes
1 answer

Qt: render QML window to buffer

My code looks like this: QApplication app(argc, argv); QQmlApplicationEngine app_engine; app_engine.load("qml/main.qml"); return app.exec(); Could somebody please help me how to make Qt render everything to the buffer I provide? OpenGL must be…
tselmeci
  • 125
  • 1
  • 1
  • 11
0
votes
1 answer

OpenGL selective offscreen render to one of 2 textures in one fragment shader

I'm writing a glsl shader for rotation manipulator. I'm aiming at Autodesk Maya style, 3 axes for each of x y and z rotation and one axis over them for rotation along camera forward axis equals 4; The user is able to limit the result of his…
Antiusninja
  • 157
  • 1
  • 17
0
votes
2 answers

OSG uses client-side GPU not host GPU

I made a simple OSG off screen renderer that renders without popping up a window. osg::ref_ptr traits = new osg::GraphicsContext::Traits; traits->x = 0; traits->y = 0; traits->width = screenWidth; traits->height =…
VforVitamin
  • 946
  • 10
  • 12
0
votes
1 answer

OpenGL Framebuffer Offscreen Rendering

I'm doing an SDL/OpenGL project on MinGW Windows Code::Blocks 12.11, using GLEW. I'm trying to implement 2D off-screen rendering, so that I can eventually try some fragment shader effects. Here is the scene rendered to the default…
Luminaire
  • 334
  • 6
  • 11
0
votes
1 answer

virtual canvas putimagedata not working

Am new to concept of virtual canvas, any idea why the below code does not work?