Results 1 to 3 of 3

Thread: glColorTable

  1. #1
    Member Contributor
    Join Date
    May 2006
    Posts
    55

    glColorTable

    I create a color table with the functiong glColorTable(), but how to use the color table
    I created.

    For example, when I Draw a triangle,
    how can I use the color table to render it?

  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: glColorTable

    What are you trying to do?

    Color Tables are for pixel LUTs in imaging.

    There is also other functionality for color index rendering but I'd recomment (very firmly) that you stick with RGB rendering.

  3. #3
    Member Contributor
    Join Date
    May 2006
    Posts
    55

    Re: glColorTable

    Use 3D texture to rendering a volume and use 1D texture to control the 3D texture's alpha value.
    Create 3D texture need much more time.So I want to find a way to do these in real-time mode
    That is what I want to do.

    Now I know that I can't use glColorTableEXT.
    Becouse my graphic card do not support it.

    I want to use texture combiner.Could you tell me the better method?

Similar Threads

  1. glColorTable using lots of CPU power
    By tborgers in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-30-2011, 03:50 PM
  2. How to use glColorTable(attach code)
    By LLM in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-01-2006, 01:34 AM
  3. glColorTable
    By LLM in forum OpenGL: GLSL
    Replies: 1
    Last Post: 05-29-2006, 04:41 AM
  4. gl_texture_rectangle_nv and glcolortable() together does not work?
    By analogic in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-02-2004, 12:20 PM
  5. glColorTable works for 8bit but not 16 bit??
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-02-2004, 10:48 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