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: elfeck

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    534

    I'm quite new to textureing could be elaborate a...

    I'm quite new to textureing could be elaborate a bit or link me a tutorial?

    Thanks!
  2. Replies
    2
    Views
    534

    [ES 2.0] Imitating texture arrays

    Hello,

    I'm working with OpenGL ES 2.0 which does not support 2D texture arrays. For my image processing project I need to have access to more than jsut one 1024x1024 texture per shader pass.
    ...
  3. Replies
    1
    Views
    1,989

    16 Bit int to save uniform location

    Hello,

    to prevent glGetUniformLocation calls for every uniform and every frame, I want to save the uniform location to an unsigned int (after checking for -1 error). It would be _very_ convenient...
  4. Well I just want to pointer out few odd things: ...

    Well I just want to pointer out few odd things:

    > Exception is handled and doesn't crash the program
    > Exception lists the intel driver dll (ig7icd32.dll) (I use an Intel HD4000)
    > Exception...
  5. I use offsets into the index-buffer to change...

    I use offsets into the index-buffer to change shader-programs. e.g. I have 2 triangles in my indexbuffer, drawing one with offset 0, the other with 3 * sizeof(GLushort) and change shader inbetween.
    ...
  6. void Vao::bindVboGL() {...

    void Vao::bindVboGL() {
    glBindBuffer(GL_ARRAY_BUFFER, vboHandle);
    for(std::vector<VertexAttribute*>::size_type i = 0; i < attribs.size(); i++) {
    attribs.at(i).bindVertexPointerGL();
    }
    }
    ...
  7. What part exactly? Here is my init, update...

    What part exactly? Here is my init, update (upload data) and draw-function:

    void Vao::initGL() {
    if(vaoHandle == 0) {
    glGenVertexArrays(1, &vaoHandle);
    glGenBuffers(1, &vboHandle);...
  8. Handled exception: Memory Violation on first call of drawElements

    Hello,
    I'm using VAOs with glew to render stuff. I didn't noticed first but I get an handled (!) not-interrupting exception on (only) my first call of glDrawElements:

    First-chance exception at...
  9. Replies
    1
    Views
    1,095

    glslDevil crashing app

    Hello,

    I develop a OpenGL app using freeGlut and glew. I'm trying to profil my app with glslDevil but when running my app through glslDevil it crashes at the first call of glGenVertexArrays()....
  10. Replies
    11
    Views
    3,777

    Thats a mistake I made while trying to fix my...

    Thats a mistake I made while trying to fix my problems.

    Here are some important functions I use:


    void Vao::initGL() {
    if(vaoHandle == 0) glGenVertexArrays(1, &vaoHandle);...
  11. Replies
    11
    Views
    3,777

    Thats not the problem. Using freeGlut and calling...

    Thats not the problem. Using freeGlut and calling glewInit after the contex and window are created.
  12. Replies
    11
    Views
    3,777

    Here is the interception log: ...

    Here is the interception log:

    glViewport(0,0,480,320)
    glClearColor(0.000000,0.000000,0.000000,1.000000)
    glClear(GL_COLOR_BUFFER_BIT)
    glGenVertexArrays(1,03E92FE8)
    glBindVertexArray(1)...
  13. Replies
    11
    Views
    3,777

    Function Pointer are loaded. It crashes with ...

    Function Pointer are loaded.
    It crashes with

    Unhandled exception at 0x5936FD84 (ig7icd32.dll) in CPHemeral.exe: 0xC0000005: Access violation reading location 0x00000000.
    I'm at a loss here.
  14. Replies
    11
    Views
    3,777

    Okay nothing is fine :( I get memory...

    Okay nothing is fine :(

    I get memory violations at the more recent OpenGL functions starting at glDrawElements. glslDevil crashes the program as soon as it calls glGenVertexArray. Strangly some...
  15. Replies
    2
    Views
    764

    Stupid me ... thanks!

    Stupid me ... thanks!
  16. Replies
    2
    Views
    764

    Compile/Link InfoLog is empty

    Hello,

    I'm trying to compile and like a very simple shader and to test the InfoLogs I made a syntax-errors (in the vert-shader) on purpose. Problem is, that neither the compile-log nor the...
  17. Replies
    11
    Views
    3,777

    glewInit() ist returning GLEW_OK ... so I think...

    glewInit() ist returning GLEW_OK ... so I think that's not the problem.

    EDIT: I think I found the problem: I statically initalized the object calling glGenBuffers. At this point the OpenGL isn't...
  18. Replies
    11
    Views
    3,777

    [C++] Memory violation with glGenBuffers

    Hello,

    I'm using OpenGL with C++ through glew and freeglut. I also do successfully load the necessary OpenGL-extentions.
    I get an memory violation error


    Unhandled exception at 0x74DBC9F5 in...
  19. Replies
    3
    Views
    1,021

    I agree with you. Knowledge of language basics is...

    I agree with you. Knowledge of language basics is important and requirement for using a somewhat complicated library. Point is, I already am pretty "fluent" in OpenGL and just trying to port my...
  20. Replies
    3
    Views
    1,021

    Including glext with VS2012

    Hello there,

    I'm in the process of switching from java (LWJGL) to VC++ with Visual Studio 2012. I'm having some problems with setting up the basic OpenGL references:
    I need OpenGL 3.1+ support so...
Results 1 to 20 of 20