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. 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...
  2. Replies
    4
    Views
    1,237

    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.
    ...
  3. Replies
    4
    Views
    1,237

    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...
  4. Replies
    4
    Views
    1,237

    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...
  5. Replies
    1
    Views
    1,044

    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...
  6. Replies
    3
    Views
    857

    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...
  7. Replies
    3
    Views
    857

    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 7 of 7