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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    759

    There was some errors in my code. Now it works...

    There was some errors in my code. Now it works correct. But I didn't find in internet why this message is showed:


    Corrected code:


    #include <GL\freeglut.h>

    // Window size
    int width = 512;
  2. Replies
    5
    Views
    759

    FreeGLUT on VirtualBox. Console message: fgInitGL2: fghGenBuffers is NULL

    Hello,

    This code works fine. It draws two line. I run it on Virtual Box, Windows XP, Visual Studio 2010 Express Edition

    But it shows this message in console:


    But when I uncomment this line...
  3. Replies
    5
    Views
    1,074

    I installed Visual Studio 2012 and build SOIL to...

    I installed Visual Studio 2012 and build SOIL to Win32 and x64.

    Contents:
    soil/include
    soil/lib-vc2012/Platform_Win32/SOIL.lib
    soil/lib-vc2012/Platform_x64/SOIL.lib

    Maybe it will be useful...
  4. Replies
    5
    Views
    1,074

    Could anyone build soil_x64.lib in Release from...

    Could anyone build soil_x64.lib in Release from VS2008 - VS2012 x64?
  5. Replies
    5
    Views
    1,074

    I include SOIL libs in "Additional Library...

    I include SOIL libs in "Additional Library Directories" like this:
    $(SolutionDir).\Libs\soil\lib\Platform_Win32
    $(SolutionDir).\Libs\soil\lib\Platform_x64
  6. Replies
    5
    Views
    1,074

    I have built both versions of SOIL.lib: x86 and...

    I have built both versions of SOIL.lib: x86 and x64 in VS2015. I keep them in my projects in "Libs/soil/lib/Platform_Win32" and "Libs/soil/lib/Platform_x64" folders. But if my projects were...
  7. Replies
    5
    Views
    1,074

    Where can I get SOIL.lib for x64?

    Hello,

    I have VS2015, but I need SOIL.lib for VS2012 both: x86 and x64 in Release. Where can I download them? I don't want to install VS2012.
  8. Replies
    5
    Views
    1,038

    This is an useful example how to draw two objects...

    This is an useful example how to draw two objects with
    different shaders (with solid colour and textured) in WebGL: https://jsfiddle.net/8Observer8/jnd0j6w0/

    It is simple to port it in C++,...
  9. Replies
    5
    Views
    1,269

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

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

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

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

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

    You can run and test my problem in VS2012 - VS2015: DrawPointsByClick_Problem.zip
  14. Replies
    5
    Views
    1,269

    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;
  15. Replies
    3
    Views
    1,112

    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...
  16. 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".
  17. 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" +
    ...
  18. Replies
    5
    Views
    2,626

    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(...
  19. Replies
    5
    Views
    2,626

    I see the blinking and this message:

    I see the blinking and this message:
  20. Replies
    5
    Views
    2,626

    "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...
  21. Replies
    9
    Views
    4,418

    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...
  22. Replies
    9
    Views
    4,418

    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):
  23. Replies
    9
    Views
    4,418

    glfwOpenWindow returns false :)

    glfwOpenWindow returns false :)
  24. Replies
    9
    Views
    4,418

    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+
  25. Replies
    9
    Views
    4,418

    I will use Qt instead GLFW :)

    I will use Qt instead GLFW :)
Results 1 to 25 of 26
Page 1 of 2 1 2