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

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,402

    Now that I think about it, that would probably...

    Now that I think about it, that would probably make quite a few things easier. For most models I have however, this will suffice until I get around to implementing that.




    I don't fully...
  2. Replies
    8
    Views
    1,402

    Oh, I thought the shadows looked slightly...

    Oh, I thought the shadows looked slightly triangle-y

    And because some model files export weirdly and duplicate vertices, making each vertex index different. "faces[f].vertices[i]" would give...
  3. Replies
    8
    Views
    1,402

    ah! I didn't even think to change my lighting...

    ah! I didn't even think to change my lighting settings!

    I played around with it and now the specular on the material has been removed and the shininess has been changed to 2f. I've added the...
  4. Replies
    8
    Views
    1,402

    Thanks for the help! I believe I've normalized...

    Thanks for the help!

    I believe I've normalized it with

    float total = (float) Math.pow( Math.pow(vertNorm_x,2) +
    Math.pow(vertNorm_y,2) +
    Math.pow(vertNorm_z,2)
    ,.5);...
  5. Replies
    8
    Views
    1,402

    My vertex normals appear to be messed up.

    Hello! I've been learning the Java binding of OpenGL (Jogl) and have been having trouble with lighting.

    I've been writing an .OBJ file loader for the past week and have been getting pretty far. I...
Results 1 to 5 of 5