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

Search: Search took 0.00 seconds.

  1. Transparency doesn't work? - Depth test disabled & blend enabled.

    Hi, I disabled the depth test and enabled the blending like said in other threads, however the map is not transparent.
    Here is my current code,


    glBegin(GL_TRIANGLE_STRIP);
    boolean water =...
  2. Importing model colours into the game + Adding them to the object?

    Hi, i currently have a brown ship, which i would like to colour.

    How could i import colours from a .obj file, and then add those colours to my ship?

    I have currently tried nothing, i just have...
  3. Replies
    11
    Views
    2,131

    Am i being stupid or are you unable to just use...

    Am i being stupid or are you unable to just use glRotate(); to rotate the model to the desired angle?
  4. Thank you very much :)! I have now solved the...

    Thank you very much :)! I have now solved the problem.

    Many thanks!
  5. Sorry, could you please clarify? I do not know...

    Sorry, could you please clarify? I do not know what a VAO is either. I am trying to use a CannonBall VBO, but instead the ship VBO is still being used, and i do not know how to switch to the...
  6. How to render/switch between multiple VBOs?

    Hi, i currently have a ship, and wish to shoot cannonballs from the ship. The problem is, i do not know how to switch from 1 VBO to another.
    I have tried glBindBuffer(GL_ARRAY_BUFFER,...
  7. Im not understanding this. Whatever order or...

    Im not understanding this. Whatever order or whatever i select, it just doesn't work. I know i'm probably being dumb. :(
    glTranslatef(-0, -0, -plus);
    glRotatef(rotate, 0.f, 1.f,...
  8. Yes, i would like it to sail in a straight line...

    Yes, i would like it to sail in a straight line and turn at the ship's location and not the origin location before translation.
  9. Unfortunatley that did not work. (Using spaces...

    Unfortunatley that did not work.
    (Using spaces in links due to site denying links)

    My current code is:
    http://pastebin.com/1a2Nk6HC

    The problem is:...
  10. I just typed a whole reply... and it didnt appear...

    I just typed a whole reply... and it didnt appear when i posted it. :S

    Anyway your answer was very good, very informative and helpful, however could you post the exact code in the exact order i...
  11. No, i don't unfortunatley. I may be using it or...

    No, i don't unfortunatley. I may be using it or whatever however i do not actually know a lot of the names of the code i am using as i often copy it from elsewhere and change bits around to learn...
  12. Transforming + Rotating an object without going weird?

    Hi, i guess im fairly advanced in lwjgl however this is a newbie question.

    When i rotate an object and then translate the object (its a model ship in a VBO), the object rotates around the centeral...
Results 1 to 12 of 12