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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,149

    I was able to fix the problem: ///1st Pass...

    I was able to fix the problem:



    ///1st Pass
    ShadowProgram.Bind();
    glBindFramebuffer(GL_FRAMEBUFFER, ShadowProgram.GetFrameBufferID());
    glClear(GL_DEPTH_BUFFER_BIT); //I wasn't...
  2. Replies
    4
    Views
    1,149

    1208 Projection =...

    1208



    Projection = perspective(Source.Cutoff, 1.0f, .1f, 30.f);
    View = lookAt(Source.Position_WS, Source.Position_WS + Source.Direction_WS, vec3(0,1,0));


    I set the camera to light, and...
  3. Replies
    4
    Views
    1,149

    Problem Rendering Shadow Map

    I'm attempting to add shadow mapping to my programs using a spotlight as the light source. I've set up enough to be able to render my shadow map, but whenever I look at it, it's just a black square....
  4. Replies
    0
    Views
    917

    Loading and Rendering Terrain

    I'm currently trying to render a terrain by loading one stored in a heightmap. I'm creating a class for loading and displaying it, but I'm having trouble displaying it (I assume that it's being...
  5. Replies
    2
    Views
    1,271

    Wish I had known that sooner. I'll have to do a...

    Wish I had known that sooner. I'll have to do a little more research on functions next time I try something like this. Also, thank you for the advice. I have the function working correctly now.
  6. Replies
    2
    Views
    1,271

    Need help taking a screenshot

    I'm looking for advice from someone who is knowledgable, or could become so, about .bmp files. I'm currently trying to make a function that will take a screenshot and output it as a .bmp file. I...
  7. Thread: Loading Screen

    by Niven07
    Replies
    7
    Views
    2,420

    ok, thanks. I think the way I tried to do this...

    ok, thanks. I think the way I tried to do this before posting this thread was just overcomplicating things. Also, I won't implement it exactly like the loop I posted. I wrote it like that there...
  8. Thread: Loading Screen

    by Niven07
    Replies
    7
    Views
    2,420

    The reason I was thinking of multi-threading was...

    The reason I was thinking of multi-threading was because I was going to have the program load the files and then have a separate thread actually display the loading screen while the files were being...
  9. Thread: Loading Screen

    by Niven07
    Replies
    7
    Views
    2,420

    Loading Screen

    I'm trying to implement a loading screen in my program because it has quite a few files to load and it takes a bit of time to load it all. I want my program to display a simple loading screen while...
  10. Replies
    4
    Views
    1,803

    I changed the ordering of the calls to...

    I changed the ordering of the calls to glVertexAttrib so that the position one is called last and it worked perfectly. Thanks for the advice
  11. Replies
    4
    Views
    1,803

    I tried flipping it all possible ways but none of...

    I tried flipping it all possible ways but none of them worked correctly.
  12. Replies
    4
    Views
    1,803

    Trouble loading .md2 files

    I have a class I created for loading .md2 files which works almost perfectly. The one problem that I can't seem to fix is that the displayed model has its texture messed up. It's as if I'm using the...
Results 1 to 12 of 12