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

Thread: Combining pixels with arithmetic & logical operators

  1. #1
    Guest

    Combining pixels with arithmetic & logical operators

    I'm interested in 2D work.

    Quickdraw's got a lot of esoteric penmodes that allow you to combine two pixels' RGB values using a variety of arithmetic and logical operators (OR,AND,ADD,etc.). The only close equivalent I've been able to find in the OpenGL environment is for blending and transparency. Have I missed something? Is there any way of patching a primitive somewhere in OpenGL to add this capability?

    Please reply via email to wriddick@usa.net.

  2. #2
    Intern Newbie
    Join Date
    May 2000
    Location
    LONDON
    Posts
    46

    Re: Combining pixels with arithmetic & logical operators

    Do not forget the accumulation buffer. You can do some pixels operations using that. But not many.
    Being crazy is not a requirement but it helps.

Posting Permissions

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