Results 1 to 5 of 5

Thread: how can i load 8bit bitmap image with gldrawpixel?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2008
    Posts
    13

    how can i load 8bit bitmap image with gldrawpixel?

    I can't load 8bit grayscale image. Is there another way?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: how can i load 8bit bitmap image with gldrawpixel?

    Can you give us more information?

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2008
    Posts
    6

    Re: how can i load 8bit bitmap image with gldrawpixel?

    Reading

  4. #4
    V-man
    Guest

    Re: how can i load 8bit bitmap image with gldrawpixel?

    The format would be GL_LUMINANCE, GL_UNSIGNED_BYTE

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2008
    Posts
    13

    Re: how can i load 8bit bitmap image with gldrawpixel?

    thanks, i succeeded as i gave the same arguments as you mentioned

Similar Threads

  1. Replies: 1
    Last Post: 05-07-2017, 03:36 AM
  2. How to use glTexImage2D load bitmap?
    By 尘羽泯 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-25-2011, 04:39 PM
  3. How do I load a bitmap without using AUX ?
    By guzba in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-20-2003, 01:24 PM
  4. How to Load A Bitmap From File
    By Stack Overflow in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 12-13-2002, 07:17 AM
  5. How do I load a grayscale bitmap?
    By lucidmm in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-10-2002, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean