Questions tagged [compositing]

Compositing is the combining of visual elements from separate sources into single images.

See Digital compositing on Wikipedia.

61 questions
1
vote
1 answer

How to get correct SourceOver alpha compositing in SDL with OpenGL

I am using an FBO (or "Render Texture") which has an alpha channel (32bpp ARGB) and clear that with a color that is not fully opaque, for example (R=1, G=0, B=0, A=0) (i.e. completely transparent). Then I am rendering a translucent object, for…
dialer
  • 3,367
  • 4
  • 27
  • 47
1
vote
1 answer

Gstreamer Compositing image with three streams

I am trying to composite three streams using the videomixer plugin of gstreamer. I found this thread Combine multiple images with gstreamer and I can managed to put side by side two of my streams, but I have no idea of how to add a third one. Can…
1
vote
1 answer

How to tackle display tearing during drawer animations

I'm using a 3rd party drawer that allows bottom- and top-edge drawers (https://gist.github.com/patrickfav/6284130 MultipleOrientationSlidingDrawer). When I animate opening of the drawer, I get display tearing but only under particular circumstances.…
Robin Davies
  • 6,889
  • 1
  • 29
  • 41
1
vote
1 answer

Soft, transparent paint stroke textures not blending like I expect

I'm trying to implement soft brushes into my GL 4.5 application. I've achieved 100% hard brushes but the soft brush functionality is sub par. This type of paint mode I'm trying to achieve is referred to as "wash" painting in Krita and is the normal…
bvs
  • 321
  • 5
  • 17
1
vote
1 answer

Compositing: how to change canvas new drawings dynamically based on selected option from radio button?

I had a related question months ago regarding coloring canvas via Compositing (HTML5 Canvas). I do somehow understand how it works now when I encountered it again. But my question today, is it possible to change the layering of the drawn pixels via…
novice
  • 147
  • 5
  • 15
1
vote
2 answers

X11 and ARGB visuals: does DefaultDepth() never return 32?

I'm establishing a connection to the X server like this: display = XOpenDisplay(NULL); screen = DefaultScreen(display); depth = DefaultDepth(display, screen); I'm wondering now why "depth" is always set to 24. I would expect that it is only 24 when…
Andy
  • 11
  • 2
1
vote
1 answer

OpenGL window manager - multiple process compositing

I'd like to design a simple window manager capable of compositing the outputs from multiple processes. My first idea was to only use different threads for standalone applications so I use only one context and share it between the applications' and…
user3735658
1
vote
0 answers

How to embed a Text on bottom of video in Android App in Realtime

I would like to embed a text on a video as it records, then save it in the photo Gallery. When this video is played on any other device this text should show.
Kamrul Hasan
  • 201
  • 2
  • 4
1
vote
1 answer

How to embed text (caption) a video in iOS in realtime?

I would like to embed a text on a video as it records, then save it in the Camera Roll. When this video is played on any other device this text should show
Kamrul Hasan
  • 201
  • 2
  • 4
1
vote
1 answer

How can I use SVG Masks to make a Luma Mask?

I want to make a Luma-Mask (Matte) in SVG. In other words I want to mask a layer to the luminance channel (acquired from the RGB channels) of a different layer. How can this be done? Thanks
Maurice Tempelsman
  • 715
  • 1
  • 9
  • 12
1
vote
2 answers

Way to detect if WebGL viewport is on screen?

Is there any way to be able to query the GPU to tell me if my viewport in my webpage is currently on screen or not? For example, if I had a 3d scene rendering in a canvas in an iframe, is there a way to query the hardware (within my iframe and only…
xtr33me
  • 764
  • 1
  • 10
  • 30
0
votes
2 answers

HTML5 Video Pixel Tracking

I know that generally, it's no problem to overlay HTML (and even do advanced compositing operations) to HTML5 native video. I've seen cool tricks with keying out green screens in realtime, in the browser, for example. What I haven't see yet,…
rcd
  • 1,300
  • 1
  • 14
  • 27
0
votes
0 answers

Unreal Engine Composure Plugin not working in Play Mode

I have a simple Media Player and is receiving video feed from camera via HDMI, On Begin Play in the Level Blueprint I open the Media Player and play. If I create a plane and apply the material it works. The problem is that when I click play…
0
votes
0 answers

Unreal Engine - Realtime compositing need more CPU cores or GPU?

We are doing an AR work for windows desktop (x64). This involves camera tracking + real time compositing on blackmagic (both I/O). I've learned that UE is primaraly single threaded during game play (not dev, please correct me if i am wrong). If it…
eric
  • 189
  • 1
  • 3
  • 11
0
votes
1 answer

Problem with porting SVG composition standard in Matlab

I have ported most of the 24 methods from the SVG composition standard (2009, https://www.w3.org/TR/2009/WD-SVGCompositing-20090430/) in Matlab but four methods (like color-dodge) relay on comparing images within an if-statement (like: if Sca == Sa…