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 3 of 3

Thread: Transparency and zooming

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Concord, CA, USA
    Posts
    26

    Transparency and zooming

    I have rendered some transparent objects using alpha blending, and I have zoomed the transparent objects by changing fov (also tried camera src point change) and I get a color change near the top and bottom edges of the object when I zoom to close. Can anyone tell me why this is happening? Is there any work around for this.
    Thanking You,
    R.B
    R.B

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,749

    Re: Transparency and zooming

    this may be due to 2 things i think !
    1st, your z buffer isn't initializd correctly
    2nd, are you using texturing ? if yes, maybe correct the lod.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Concord, CA, USA
    Posts
    26

    Re: Transparency and zooming

    I am initializing the Zbuffer properly to 32bit and also setting the DEPTH_TEST accordingly. It was displaying properly
    when the objects are rotated, but it gives
    color change only when i zoom in only, that too when too close the objects.

    R.B
    R.B

Posting Permissions

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