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. Replies
    18
    Views
    3,633

    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,...
  2. Replies
    6
    Views
    936

    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...
  3. Replies
    6
    Views
    936

    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...
  4. Replies
    5
    Views
    550

    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...
  5. 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...
  6. Replies
    2
    Views
    665

    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...
  7. Replies
    5
    Views
    550

    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...
  8. 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....
  9. 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...
  10. 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...
  11. Replies
    7
    Views
    2,924

    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...
  12. Replies
    7
    Views
    2,924

    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...
  13. 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...
  14. 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...
  15. 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...
  16. Replies
    2
    Views
    1,212

    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 ?
  17. 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;
  18. 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;
  19. Replies
    2
    Views
    1,212

    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...
  20. 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...
  21. 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...
  22. 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...
  23. Replies
    6
    Views
    6,969

    You can take a look at Mesa about the software...

    You can take a look at Mesa about the software rasterizer but I don't know if your platform can to be handled by this OpenGL implementation
    (a generic software OpenGL implementation but that can...
  24. Replies
    5
    Views
    10,493

    Here a simple example with the use of DevIL :...

    Here a simple example with the use of DevIL :
    (this load nearly every graphics files, thanks to DevIL, and you can dynamically resize the displayed size of the picture with it)
    [this is a test, it...
  25. Replies
    1
    Views
    1,924

    You can take at look http://nehe.gamedev.net/...

    You can take at look http://nehe.gamedev.net/ that have a lot of goods tutorials for nearly alls platforms
Results 1 to 25 of 269
Page 1 of 11 1 2 3 4