Results 1 to 2 of 2

Thread: using double buffer when using texture mapping?

  1. #1
    Guest

    using double buffer when using texture mapping?

    I would like to know if i use the double buffer(ie. glutInitDisplayMode(GLUT_DOUBLE....)

    is it mean that i can't use texture mapping for the object? because I try it ,and no response from the screen, but if i use single buffer, it works?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: using double buffer when using texture mapping?

    When using double buffers, you must call glutSwapBuffers in the end of your drawing function.

Similar Threads

  1. Shadow Mapping / z-Buffer texture on ATI card
    By smani in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 12-04-2010, 06:40 AM
  2. GLSL shadow mapping & depth buffer copy into a texture
    By dletozeun in forum OpenGL: GLSL
    Replies: 3
    Last Post: 01-18-2007, 03:42 AM
  3. Replies: 6
    Last Post: 01-16-2006, 11:27 PM
  4. depth buffer and texture mapping-based volume rendering
    By alark in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 06-08-2005, 08:51 AM
  5. Texture mapping using folat buffer
    By mczhao in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-12-2002, 10:05 PM

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