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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. glDrawElements vs glDrawElementsInstanced: When to switch?

    Hello OpenGL experts!

    I recently asked about this topic as an add-on to another (related) post, but I thought the answers to this might help other struggling would-be OpenGL coders.

    This issue...
  2. So, it appears to be behaving normally? Isn't it...

    So, it appears to be behaving normally? Isn't it generally a good idea to use the least number of CPU draw calls as possible? This begs the question: does the decision to use instancing depend on...
  3. glDrawElementsInstanced poor performance?

    Hello all,

    I am using glDrawElementsInstanced to draw 720 objects, each having 12 polys, on the screen, for a total of 8640 polys. I'm using full-lighting with diffuse, ambient, specular and...
  4. Replies
    2
    Views
    146

    Interesting! That was definitely not explained...

    Interesting! That was definitely not explained in the intro book I read, but then again it was a short book. Thank you for clearing that up!
  5. Replies
    2
    Views
    146

    Auto-culling?

    I don't know what constitutes a 'Beginner' question, but if I have to ask then odds are it is one. :/

    I'm developing an engine that currently instance-draws many different grass objects on the...
  6. Replies
    4
    Views
    1,812

    I hate to drag this back out into the light, but...

    I hate to drag this back out into the light, but I still have no idea why this isn't working, and I don't know how to debug the situation. As far as I can tell, I set up the frame buffer and texture...
  7. Replies
    4
    Views
    1,812

    The drawing part of my code looks like this: ...

    The drawing part of my code looks like this:



    //pglBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); // switching to default buffer allows quad to show up normally
    ...
  8. Replies
    4
    Views
    1,812

    Anyone? I just need to know if the code I...

    Anyone? I just need to know if the code I presented is correct so I can narrow my debugging. I'm not sure how to examine the internals of the frame buffer during real-time. . .
  9. Replies
    4
    Views
    1,812

    Drawing to background frame buffer

    Hello all,

    I'm trying to get my feet wet with using frame buffers. I've set up a frame buffer based off of a number of online tutorials, but the texture that I attached to it doesn't seem to be...
  10. Replies
    2
    Views
    1,340

    Finally got it working with your suggestions. ...

    Finally got it working with your suggestions. Thanks! (sorry for delay in response. . . had a hospital emergency).
  11. Replies
    2
    Views
    1,340

    Specular light shader

    Hello all,

    I have the following function within a vertex shader that I got from "Egon Rath's Notes" on www.matrix44.com. Unfortunately, I can't seem to get it to work.




    uniform mat4...
  12. Cool! Thanks! That should give me a place to...

    Cool! Thanks! That should give me a place to start.

    Started the account a long time ago, then was pulled away from OpenGL for a while. . . It's changed a bit. Thanks again! :)
  13. Interesting, and good to know! Thanks! :)

    Interesting, and good to know! Thanks! :)
  14. When is data sent into the pipeline?

    I've been coding OpenGL purely by example, and I'm at the point where I want (and need) to understand what I'm doing rather than just mimic code. :( Especially considering the project I'm working...
  15. Render onto previous frame with blending

    Hello all,

    I'm a relative beginner, but I've created a simple program where I'd like to render each additional frame onto the previous frame, ignoring the color black and all other colors are...
  16. The matrix is generated separate from OpenGL. ...

    The matrix is generated separate from OpenGL. For a variety of reasons, I keep a history of the transformations separate from OpenGL, for now anyway.

    I have decided to switch to quaternions in...
  17. N-Arbitrary Rotations -> Euler angle shortcut?

    Hello all,

    I've tried looking through the posts that have already been made regarding the topic of Euler angles, but I'm not sure if Euler angles are the route to take for my current problem. My...
  18. Replies
    2
    Views
    909

    Re: glGetName?

    Not a bad idea. Thanks. That got me past a bug.
  19. Replies
    2
    Views
    909

    glGetName?

    Supposing I use the glPushName() . . . glPopName() functions, how would I be able to retrieve the current name pushed? I need it for debugging purposes.

    Thank you.
  20. Replies
    7
    Views
    1,552

    Re: GL_UNSIGNED_INT_8_8_8_8 is undefined

    Oh, I see. You mean right click the link. . . I didn't know you could do that. :o

    Thanks! It works now.
  21. Replies
    7
    Views
    1,552

    Re: GL_UNSIGNED_INT_8_8_8_8 is undefined

    Perhaps I'll look into the glew headers.

    I'm not sure why the glext.h file isn't working. :( I went to the website, hit "select all", "copy", and then pasted the code as-is into my own file...
  22. Replies
    7
    Views
    1,552

    Re: GL_UNSIGNED_INT_8_8_8_8 is undefined

    I just got around to downloading glext.h. Unfortunately, we I add a file glext.h and copy all the contents of the online file into it, I get the following error:

    fatal error C1070: mismatched...
  23. Re: A glfont that is not Windows dependent

    Rats. :( Based on what I can tell, that is what glfont2 does.
    Has anyone been able to get glfont2 to work? I really don't want to recode the entire thing.
  24. Re: A glfont that is now Windows dependent

    That's what I was afraid of. . .

    Does anyone have a working glf file, like say "timesnewroman.glf" I can try? I'd like to minimize variables in order to figure out why glfont2 doesn't work. I...
  25. A glfont that is not Windows dependent

    Does anyone know a simple way to print text using OpenGl that is not Windows dependent? I tried using glfont2, but I can't get it to work. :( What are the options?
Results 1 to 25 of 50
Page 1 of 2 1 2