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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,692

    I have to do this, because it is a university...

    I have to do this, because it is a university project. It doesn't have to be an optimal solution, just something that works. Basically, the requirement is to check if lines are in the viewport cuboid...
  2. Replies
    4
    Views
    1,692

    Implementing clipping in 3D Space

    I would like to implement the Cohen-Sutherland Algorithm with dynamic clipping volume in 3D Space. (i.e. with 27 regions). Assume I have somthing like this:


    glBegin(GL_LINES);
    ...
  3. Implementing rotation function like glRotate

    I am trying to implement my own rotation function in OpenGL on C++, i.e. something like glRotate. My code for rotating around y looks like this:


    void do_rotateY(GLdouble angle)
    {
    ...
Results 1 to 3 of 3