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

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    479

    Agreed, this program is meant to show what each...

    Agreed, this program is meant to show what each method looks like, even if they are wrong. It's more of a demonstration as to why quaternions are ideal for this sort of thing.
  2. Replies
    3
    Views
    479

    Interpolating With Matrices/Quaternions

    So i am making a simple program in opengl that allows the user to create a list of keyframes then animates a skeleton through those keyframes using 4 different types of interpolation.

    I have...
  3. Applying rotation/translation to a hierarchy of joints

    Let's say i have a skeleton with several joints. I want to make it so i can rotate a joint and all of its child joints will rotate with it.

    Firstly, you grab the joint and move the mouse. An axis...
  4. Replies
    0
    Views
    1,069

    Raytracer - Triangle Intersection + Normals

    So i have written a basic raytracer which so far is functional with spheres. However i am extending its functionality to also work with meshes, which means implementing triangle intersections.

    I...
  5. Replies
    4
    Views
    1,572

    I fixed my toon shader! Apparently vec4...

    I fixed my toon shader!

    Apparently

    vec4 vertPos4 = gl_ModelViewMatrix * gl_Vertex;
    vertPos = vec3(vertPos4);

    needs to be handled in the .vert file, it causes errors otherwise.
    ...
  6. Replies
    4
    Views
    1,572

    For some reason my shaders aren't working at...

    For some reason my shaders aren't working at all... They just result in a white matte-style shader.

    I revert to an older version and i get this:

    http://i.imgur.com/NRP5SyS.png

    It's missing...
  7. Replies
    4
    Views
    1,572

    Simple GLSL Shaders Not Working

    I am working on 2 very basic GLSL shaders. The first is a basic shader that has a diffuse + specular component. My grasp on the mathematics behind specular lighting is a bit shaky and my shader...
  8. Replies
    1
    Views
    1,345

    Linear Blend Skinning

    I am working on implementing LBS for a model, however it is slightly different since the bone structure does not use a hierarchy. Transformations are given each frame in respect to the rest pose...
  9. Replies
    3
    Views
    1,157

    Oh sorry, that is done in the initialize...

    Oh sorry, that is done in the initialize function.

    Picking does work, just not all the time. Sometimes i click a vertex and it puts -1 and the number of the vertex in the buffer, other times i...
  10. Replies
    3
    Views
    1,157

    Picking In OpenGL

    I have followed several tuts about picking and i have gotten the basics figured out, however i have come across a strange issue... My picking seems to stop working randomly. I'll click directly on a...
Results 1 to 10 of 10