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 3 1 2 3

Search: Search took 0.00 seconds.

  1. I'll try both suggestions and see what I can come...

    I'll try both suggestions and see what I can come up with. Thanks guys!
  2. Billboard shader with preserved pitch

    I'm working on a simple billboard shader that always faces the camera but maintains pitch. If the camera rotates up around the x axis, the billboard will shrink as if looking down on an actual...
  3. Replies
    7
    Views
    755

    Hmmm... Shouldn't all the buffers be bound using...

    Hmmm... Shouldn't all the buffers be bound using GL_ELEMENT_ARRAY_BUFFER to ensure that the VAO has the proper buffers bound when switching back and forth between VAOs? My current program is only...
  4. Replies
    7
    Views
    755

    Can you give me an example? I don't quite...

    Can you give me an example? I don't quite follow.

    ... and thank you for your help so far. I found diff. eq. easier to learn than OpenGL. :(

    Edit: I really hope this is the problem I'm...
  5. Replies
    7
    Views
    755

    I don't think I made myself clear. My apologies....

    I don't think I made myself clear. My apologies.

    Let me elaborate with pseudo-code.

    I create a buffer this way:



    glGenBuffers(1, &mybuffer_for_mesh_vertices);...
  6. Replies
    7
    Views
    755

    Multiple vba's, single buffer

    Is it possible to bind a single GL_ARRAY_BUFFER to multiple vba's, and if so what happens if you delete one of the vba's?
  7. 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...
  8. 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...
  9. 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...
  10. Replies
    2
    Views
    371

    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!
  11. Replies
    2
    Views
    371

    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...
  12. Replies
    4
    Views
    2,051

    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...
  13. Replies
    4
    Views
    2,051

    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
    ...
  14. Replies
    4
    Views
    2,051

    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. . .
  15. Replies
    4
    Views
    2,051

    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...
  16. Replies
    2
    Views
    1,472

    Finally got it working with your suggestions. ...

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

    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...
  18. 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! :)
  19. Replies
    2
    Views
    1,021

    Interesting, and good to know! Thanks! :)

    Interesting, and good to know! Thanks! :)
  20. Replies
    2
    Views
    1,021

    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...
  21. 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...
  22. 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...
  23. 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...
  24. Replies
    2
    Views
    1,001

    Re: glGetName?

    Not a bad idea. Thanks. That got me past a bug.
  25. Replies
    2
    Views
    1,001

    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.
Results 1 to 25 of 56
Page 1 of 3 1 2 3