Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Freecraft

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    793

    Display lists and Texture

    Hello everyone,
    I wanted to use Fonts in my project, so I added this code: http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/ (a tutorial about freetype)
    But when I started to use...
  2. Replies
    9
    Views
    2,124

    Re: How to set up more than 32 Textures?

    Hmmmm
    I'm still getting some weird lines beetween the cubes when using the method above.
    Isn't there a chance to get this to work with Texture3D?
  3. Replies
    9
    Views
    2,124

    Re: How to set up more than 32 Textures?

    I thought that you HAVE to set up the mipmaps down to 1x1 pixel?
    I'm using:
    glTexParameteri([..] GL_GENERATE_MIPMAP[...]); where do I have to set up the minimal MipMap resolution then? Is there a...
  4. Replies
    9
    Views
    2,124

    How to set up more than 32 Textures?

    Hi
    The Subject already says it.
    I want to use a single VBO to render many cubes (already works). But I want to use many different Textures for each cube! I think the only chance I have is to bind...
  5. Re: Use of VBO and shaders causes a black screen

    NOTE: This is post is just to complete the topic and to tell what was wrong (for someone who has the same error)! I'm not expecting an answer!

    1) my struct was this:

    struct VERTEX {
    glfloat[3]...
  6. Re: Use of VBO and shaders causes a black screen

    I tried to do that, but it doesn't change anything.
    i got the code from here where it says:

    ^^here the full size of the vertex-struct is used, too. Is this wrong then?
    regards freecraft
  7. Re: Use of VBO and shaders causes a black screen

    oh, there's a mistake!
    where it says:

    it should be:

    glDrawRangeElements(GL_QUADS, 0, 24*(renderSize)-1,
    36*(renderSize), GL_UNSIGNED_SHORT, NULL);
    But, unfortunately, that doesn't solve my...
  8. Use of VBO and shaders causes a black screen

    Hi
    I'm trying to implement VBO's to my Application (that is using shaders).
    But when I use the code below, I just get an black screen.
    I guess I just mixed up some digits, but i didn't find my...
Results 1 to 8 of 8