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

Search: Search took 0.00 seconds.

  1. Problems Running Linux GLSL code on Mac

    Hi All,

    I'm trying to get some code I've written for linux working for Mac. However, if I can get a specific example from the Lazyfoo tutorials working then I can apply to to my code.
    ...
  2. Replies
    4
    Views
    773

    Yeesh. Well, alright, I'll press on. I'll...

    Yeesh. Well, alright, I'll press on.

    I'll stick with Dual Quaternions because I like the math. In theory, though, couldn't I define a class with a quaternion member (rotation) and a vec4 member...
  3. Replies
    4
    Views
    773

    Alright, I can see how that would make things...

    Alright, I can see how that would make things easier to chain. Thanks.

    However, given all that, is my SLERP code correct?
  4. I'm no expert here, and I'm not familiar enough...

    I'm no expert here, and I'm not familiar enough with these libraries to say anything for certain, but could it be that one uses degrees while the other uses radians?
  5. Replies
    4
    Views
    773

    Dual Quaternion Slerp

    Hey All,

    I'm implementing a skinning algorithm using dual quaternions to represent the translation/rotation of my joints a la wscg.zcu.cz/wscg2012/short/A29-full.pdf. However, I'm getting some...
  6. Replies
    7
    Views
    1,398

    Neat, glad that got cleared up. I may try...

    Neat, glad that got cleared up. I may try interleaving my data just for kicks.

    MtRoad, I think you were correct in that I wasn't declaring the frustum matrix properly. I did some tests and found...
  7. Replies
    7
    Views
    1,398

    Thanks for the reply. Just for the record, it...

    Thanks for the reply. Just for the record, it turns out that the matrices I was printing out were the transposes of the actual matrices (does glm do this by default?)

    Anyway, I've got it working...
  8. Replies
    7
    Views
    1,398

    When does homogenization occur?

    Disclaimer: I already posted this in the Beginner forum, so if that's a no no please let me know....
  9. Replies
    7
    Views
    1,398

    When does homogenization occur?

    Hey All,

    I'll start by outlining the issue, and then afterwards provide some code samples to give context to my problem. However, the meat of my question is this: at what point in the graphics...
  10. Replies
    0
    Views
    813

    GLM Matrix Reuse

    Hey all, I sure hope this sub is active...

    So I'm just learning about incorporating GLM into my code, and I was concerned about whether or not I was doing it correctly.

    I'm writing a simple...
  11. Replies
    1
    Views
    790

    Hey all, if anyone cares I found the answer to my...

    Hey all, if anyone cares I found the answer to my question here:
    http://stackoverflow.com/questions/15991599/android-opengl-es-2-0-black-textures/20939919#20939919

    Thanks to Lizzard for the help
  12. Replies
    1
    Views
    790

    OpenGL ES Texturing question

    First off I know this isn't the place to post this, but the opengl es forum seems a bit dead. I'm trying to port some C code to run on an android device, and what I need is to draw a 2-D array of...
  13. Replies
    2
    Views
    990

    Thanks for your response, but I should have been...

    Thanks for your response, but I should have been more clear. I'm trying to optimize a physics simulation my professor showed me where we calculate the voltages in a 2-d field through time, getting a...
  14. Replies
    2
    Views
    990

    Computing Pixel Color via GLSL

    Hi All,

    I've got a program that takes a (screen sized) 2-D float array and uses a color map function to generate an RGBA pixel array. I am drawing the array via glDrawPixels, and it works fine,...
Results 1 to 14 of 15