Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: Overlap Problems!!

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    4

    Overlap Problems!!

    I want to show Image.

    When using "glBlendFunc()", one image is well, but two or over have a problem.

    There are unprepared border-line Alpha value . (please see attachment file)

    This is key value. so overlap part must be white!!

    if you know solve this problem, or useful information. please help me.

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    4
    I cant use urls.. so. please show this url.

    => cfile296.uf.daum.net/image/1521CD4150ED17DB0D91C3

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    When rendering with blending to get the correct result the objects must be sorted from furtherest from the camera to the nearest. Then render the furtherest first. Are you doing this?

  4. #4
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    4
    Actually, I just use sample.

    so I can't understand and I don't know what to do..

    So Please show me some example code...I beg you.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117

  6. #6
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,213
    Not sure why you can't use images. Try this:

    [img]http://cfile296.uf.daum.net/image/1521CD4150ED17DB0D91C3[/img]

    for instance, here it is (same bbcode):


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •