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: The Little Body

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. The thing about what I think is something like to...

    The thing about what I think is something like to transform the original Laplacian matrix to a matrix where the diagonal are degrees values (or 1 / degree values) and where only a **directed** graph...
  2. For to begin, I have decided to only use a 2x2...

    For to begin, I have decided to only use a 2x2 matrix for the computation of eigen-values and eigen-vectors with this very simple 2x2 matrix

    4 3
    -2 -3





    #include <stdio.h>
  3. Laplacian, eigen-values and eigen-vectors

    Hi,

    I want to graphically display eigen-vectors and eigen-values of a matrix

    I have begined with this relatively basic 3x3 matrix given at https://www.youtube.com/watch?v=C5uDVyKruFg&t=82

    ...
  4. Replies
    18
    Views
    5,987

    This can perhaps to be handled by a...

    This can perhaps to be handled by a transformation of RGBA components via a vec4 to ivec4 reduction/conversion followed by another transformation from this ivec4 to a final vec4 conversion/expansion,...
  5. Replies
    6
    Views
    1,564

    Yes, it is. OpenGL/GLUT only handle a static...

    Yes, it is.

    OpenGL/GLUT only handle a static image for each frame with of course multiples "planes" like the color-buffer, the depth-buffer or the alpha-buffer.

    For to handle dynamics scenes...
  6. Replies
    6
    Views
    1,564

    You have to use glutTimerFunc() with a...

    You have to use glutTimerFunc() with a glutPostRedisplay() call inside the timer function for to handle the animation.

    Here a simple example where you can animate the white circle using arrows...
  7. Replies
    5
    Views
    927

    What is the exact format of your initial data,...

    What is the exact format of your initial data, it's a packed format (alls components of the colour of a pixel are stored in the same continuous block of data ) or a planar format (each color...
  8. This seem to can be resolved with a transformator...

    This seem to can be resolved with a transformator that can handle a power of more than 2A

    I have only replace the 2.0A transformator with 2.4A transformator and the screen go to black "not as...
  9. Replies
    2
    Views
    1,747

    Take a look at...

    Take a look at http://goanna.cs.rmit.edu.au/~gl/teaching/Interactive3D/2016/tute-4.html at the "Hierarchical Modelling: Robot Arm" section

    The code given can to be compiled with a simple "gcc...
  10. Replies
    5
    Views
    927

    So only replace the "gl_FragColor = vec4(rgb,...

    So only replace the "gl_FragColor = vec4(rgb, 1);" line by something like "gl_FragColor = vec4(rgb, 1) * 256;" for example ?
    (or scale values by the 8bits to 16 bits factor into the 3x3 matrix...
  11. I have used the raspi-config utility for to...

    I have used the raspi-config utility for to activate the experimental OpenGL driver and performances are really very better :)

    pi@piYann:~ $ glxgears
    Running synchronized to the vertical refresh....
  12. OpenGL dev on the Raspberry Pi3 platform and the Rasbian 8.0 distrib

    Hi,


    I just begin OpenGL dev on a Raspberry Pi platform


    I have first installed GL and GLUT libs and devel packages and have run glxgears on my raspberry Pi3 platform with the Rasbian 8.0...
  13. Hi, Apollonio You think about something like...

    Hi, Apollonio

    You think about something like the computation of the octant when you write " compute in which part of the unit circle the camera vector falls." ?
    (the "how to check in which sector...
  14. Replies
    7
    Views
    3,751

    You say that you use **differents viewports** for...

    You say that you use **differents viewports** for each display, use you two distincts windows or only one window that is splitted in two ?

    If you use two windows, I think that it"s better to...
  15. Replies
    7
    Views
    3,751

    You can display your weather radar data into a...

    You can display your weather radar data into a texture on a thread A and use this texture on a thread B that display it

    When the display of your weather radar data is finish on the thread A, then...
  16. Effectively, contours are generally concaves and...

    Effectively, contours are generally concaves and not convex :(


    This is more the second idea about to create a distinct slice for each distinct materials/depths/altidudes possibles values that...
  17. I think that he want to can independantly select...

    I think that he want to can independantly select the GPU that handle the CUDA work on one side and independantly select the GPU that handle the display on the other side, with two NVIDIA cards
    (or...
  18. This can perhaps to be make using Z values...

    This can perhaps to be make using Z values generated on the zbuffer ?

    You have only to read the zbuffer line by line for to have the x, y and z values for each slice
    (this need of course to...
  19. Replies
    2
    Views
    1,538

    This is why I ask this question :D This can...

    This is why I ask this question :D

    This can certainly to be handled via the standard GLU library http://www.glprogramming.com/red/chapter12.html, no ?
  20. This version select automatically the nearest...

    This version select automatically the nearest corner and handle the resizing of the window



    #include <stdio.h>
    #include <GL/glut.h>

    typedef struct
    {
    GLfloat x;
  21. Here is a simple version that move only the first...

    Here is a simple version that move only the first corner with the initial position (-0.5f, -0.5f)



    #include <stdio.h>
    #include <GL/glut.h>

    GLuint width = 500;
    GLuint height = 500;
  22. Replies
    2
    Views
    1,538

    Advanced .OBJ loader/viewer

    Hi,

    I search one .OBJ (Wavefront 3D models) loader/viewer but than can handle free-form curve/surface body statements like this :



    cstype rat bspline
    deg 2 2
    surf -1.0 2.5 -2.0...
  23. This is exactely the same thing, only inverse the...

    This is exactely the same thing, only inverse the grow vs narrow action :(

    => I have reread your initial post and look about the needed transformation for to handle updates of x_move_cur and...
  24. The problem seem only to be generated by the sign...

    The problem seem only to be generated by the sign you use into the GLUT_MIDDLE_BUTTON in your mouse_motion() func
    => only use += instead -= and this seem to work fine



    void mouse_motion(int...
  25. The DXT1 format use 64 bits for 4x4 = 16 pixels ...

    The DXT1 format use 64 bits for 4x4 = 16 pixels
    (C0 and C1 rgb565 colors followed by 4x4 x2 bits = 64 bits)
    (the bloc size is 4x4 pixels and use 2x16bits palette colors C0 and C1 + 4x4x2bits...
Results 1 to 25 of 272
Page 1 of 11 1 2 3 4