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

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    im now linking to GLew and have included glew.h

    except this the new code for loading the shaders is now looking like that:

    int installShaders(const GLcharARB *Vertex,
    ...
  2. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    okay I got it running now. I think the main reason for the crashing was that I was using GLee to load my extensions. Now the job is done by Glew. Except this I tweaked the code a bit around here and...
  3. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    hello,
    Yes I've built the kernel myself. Rivafb is not compiled into the kernel. And I've reinstalled the nvidia-drivers(newest version) after installing the new kernel.
    I cant check what has...
  4. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    if(!vertCompiled OR !fragCompiled)
    {
    cout <<"nix compilieren gehen!";
    return 0;
    }

    Prog=glCreateProgramObjectARB();
    glAttachObjectARB(Prog,VS);
    glAttachObjectARB(Prog,FS);
  5. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    wtf?
    </font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
    if(!vertCompiled
  6. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    right now it attracted my attention, that some of the code was snapped off, too.
    here is the missing code:
    </font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre...
  7. Replies
    9
    Views
    989

    Re: Loading shader-sourcecode

    uuh it's too late here in Germany ;)
    I've forgotten to post these things(misteriously they became snapped away as I posted :confused: ...) so here they are :
    I don't really get why the prog...
  8. Replies
    9
    Views
    989

    Loading shader-sourcecode

    Hello,
    today I've updated my linux-kernel to version 2.6.10. Everything ran okay, but as I tried to compile and run my program (which is using shaders) I became a Segmentation Fault. I've debugged...
  9. Replies
    2
    Views
    308

    Re: GLSlang `glGetUniformLocationARB' undefined

    thank you
    it's compiling now :D
  10. Replies
    2
    Views
    308

    GLSlang `glGetUniformLocationARB' undefined

    Hello,
    first of all, sorry for my bad english :)
    At the moment I'm trying to learn something about GLslang and I'm stuck at the first code example of the Orange-Book("OpenGL Shading Language"...
Results 1 to 10 of 10