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: 8Observer8

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    254

    Maybe my port of program "ClickedPoints" will be...

    Maybe my port of program "ClickedPoints" will be useful for someone.

    These programs are equivalent:

    ClickedPoints (WebGL)
    DrawPointsByClick (OpenTK)


    Screenshot:
    2342
  2. Replies
    5
    Views
    254

    This code draws the point in mouse click...

    This code draws the point in mouse click position:



    protected override void OnMouseDown(MouseButtonEventArgs e)
    {
    base.OnMouseDown(e);

    if (e.Button...
  3. Replies
    5
    Views
    254

    The solution: 1. Open to: C:\Program Files...

    The solution:

    1. Open to: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
    2. Right click on devenv.exe.
    3. Hover to the "Run with graphics processor..."
    4. Select "High-end...
  4. Replies
    5
    Views
    254

    I try to port this example from WebGL:...

    I try to port this example from WebGL: ch02/ClickedPoints in OpenTK. This example draws the points in position of mouse click.

    I draw one point in my example. In beginning the point is drawn in...
  5. Replies
    5
    Views
    254

    You can run and test my problem in VS2012 -...

    You can run and test my problem in VS2012 - VS2015: DrawPointsByClick_Problem.zip
  6. Replies
    5
    Views
    254

    OpenTK. Drawing points by mouse click.

    Hello,

    I want draw points by mouse click. For testing I draw a point in coordinate (0f, 0.5f) It works fine:

    VertexShader.glsl


    #version 330

    in vec4 a_Position;
  7. Replies
    3
    Views
    254

    I made the simple examples for you to show how to...

    I made the simple examples for you to show how to use OpenTK GLControl in WinForms, WPF and Console GameWindow projects.

    You can open and run it in VS2012-VS2015. I use modern OpenGL 3.3 and .NET...
  8. The solution. You need to set for files...

    The solution. You need to set for files "vShader.glsl" and "fShader.glsl" in settings: "Copy to Output Directory" to "Copy always".
  9. WPF/OpenTK. I cannot load shaders from files.

    Hello,

    This version of my program works perfect. It gets shaders from strings:



    string vShaderSource =
    "#version 330\n" +
    "in vec4 a_Position;\n" +
    ...
  10. Replies
    5
    Views
    1,925

    I found mistake! I forgot to initialize m_xstep...

    I found mistake! I forgot to initialize m_xstep and m_ystep:


    Scene::Scene( QWidget *parent ) :
    QGLWidget( parent ),
    m_x( 0.0f ),
    m_y( 0.0f ),
    m_rsize( 25.0f ),
    m_xstep(...
  11. Replies
    5
    Views
    1,925

    I see the blinking and this message:

    I see the blinking and this message:
  12. Replies
    5
    Views
    1,925

    "Bounce" example from SuperBible (3th)

    Hello!

    I am rewriting the second example (Bounce) of SuperBible (3th) in Qt. But my square doesn't move! This is the original example from the disk of the book:



    // Bounce.c
    // Demonstrates...
  13. Replies
    9
    Views
    3,440

    I found the solution. This is my step-by-step...

    I found the solution. This is my step-by-step instruction:
    - Open the folder with the exe-file
    - Right click on the exe-file
    - Select: "Run with graphics processor" -> "Change default graphics...
  14. Replies
    9
    Views
    3,440

    I have: - Notebook: Asus X53S - OS: Win7 -...

    I have:
    - Notebook: Asus X53S
    - OS: Win7
    - IDE: Qt Creator and Visual C++ 2010 Express Edition

    Asus X53S has two graphics processor:

    First graphics processor (by default):
  15. Replies
    9
    Views
    3,440

    glfwOpenWindow returns false :)

    glfwOpenWindow returns false :)
  16. Replies
    9
    Views
    3,440

    What is "model zip"? Yes, I sure. I found the...

    What is "model zip"?

    Yes, I sure. I found the answer. I have OpenGL drivers 3.0 But for glfwOpenWindow need the version 3.3+
  17. Replies
    9
    Views
    3,440

    I will use Qt instead GLFW :)

    I will use Qt instead GLFW :)
  18. Replies
    9
    Views
    3,440

    First example in OpenGL

    Hi,

    Sorry for my English in advance :)

    I am new in OpenGL. I started from the book SuperBible, 6th

    I downloaded the examples from the website: www.openglsuperbibleDOTcom/

    I opened...
Results 1 to 18 of 18