Triangular Glitch as displayed in Simple Client

Home Forums Syphon Syphon Implementations – User Triangular Glitch as displayed in Simple Client

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59092
    eight_io
    Participant

    I have implemented a syphon server within a GPUImage application. However it produces a triangular area as seen in the attached image.

    Can anyone say what’s wrong looking at the image?

    glitch

    Thanks.

    P.S. Just in case. This is how syphon server is embedded into the GPUImage

    1. In GPUImageView#viewDidLoad

    NSOpenGLContext *ctx = [[GPUImageContext sharedImageProcessingContext] context];
    syphonServer = [[SyphonServer alloc] initWithName:@”MulchCam” context:ctx.CGLContextObj options:[NSDictionary dictionaryWithObject:SyphonImageFormatRGBA8 forKey:SyphonServerOptionImageFormat]];

    2. In the filter “draw”

    [myServer publishFrameTexture:GL_TEXTURE0 textureTarget:GL_TEXTURE_RECTANGLE_EXT imageRegion:NSMakeRect(0, 0, size.width, size.height) textureDimensions:size flipped:YES];

    Thanks for the input.

    –8

    • This topic was modified 4 years, 12 months ago by eight_io.
    #59094
    bangnoise
    Keymaster
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.