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 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    924

    With only one midpoints step, this give something...

    With only one midpoints step, this give something like this :


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

    //======================================================
    // GLOBAL...
  2. Replies
    3
    Views
    591

    You can use DevIL http://openil.sourceforge.net/,...

    You can use DevIL http://openil.sourceforge.net/, this is a relatively simple library to use

    DevIL can handle a very big numbers of graphics files formats such as .jpg, .tif, .tga, .bmp, .pcx,...
  3. Replies
    9
    Views
    924

    Something like this...

    Something like this http://www.opengl.org/discussion_boards/showthread.php/131788-How-to-draw-a-bezier-curve-through-its-control-points ?
  4. Of course you can :) Here an example that...

    Of course you can :)

    Here an example that display a picture image file into an resizable OpenGL window



    #include <IL/il.h>
    #include <GL/glut.h>
  5. How can I install glload and glimg...

    How can I install glload and glimg libraries/headers ????

    Because without them, I can't test the code with them ...
  6. How can I install the glload and glimg library...

    How can I install the glload and glimg library ???

    Because without them, I can't test the entire code with them ...
  7. Perhaps to make the window creation **after** the...

    Perhaps to make the window creation **after** the image loading ?

    cf. move the bloc that initialize the GL context just after the image lmage loading instead before as now :



    // make...
  8. This version don't crash my linux box :) ...

    This version don't crash my linux box :)



    #include <stdlib.h>
    #include <stdio.h>
    #include <memory>
    // #include <glload/gl_all.h>
    // #include <glload/gll.hpp>
    // #include <glimg/glimg.h>
  9. I confirm, this crash too on my linux box with a...

    I confirm, this crash too on my linux box with a 800x600 definition :(
    (I have only commented all glload/glimg lines for to can compile the code)
  10. Have you test the values of width and height...

    Have you test the values of width and height after the line 55 ?

    Note that your 1600x900 window size don't seem me to be a very standard definition
    (you have a 1600x1200 screen or something like...
  11. Replies
    2
    Views
    281

    There is a problem on the last bresenham function...

    There is a problem on the last bresenham function when the line is more vertical than horizontal :(

    Here a corrected version where you can too :

    - dynamically resize the window,
    -...
  12. Replies
    2
    Views
    281

    You have forget a glutSwapBuffers() call at the...

    You have forget a glutSwapBuffers() call at the end your display

    And your bresenham implementation have a problem because you use int values instead floats in your division of deltay by deltax at...
  13. With a coffee and a sugar ? :) (note that you...

    With a coffee and a sugar ? :)
    (note that you have forgotten the "please" or the "thank you in advance" in your request, only "I want" ...)

    More seriously, you can find an example about one...
  14. Replies
    22
    Views
    2,239

    I have finally ordered a Xilinx FPGA Development...

    I have finally ordered a Xilinx FPGA Development Spartan-3E XC3S500E-PQG208 Board 4.3" TFT LCD 4 Nios

    Where can I find one very basic/minimalistic "OpenGL (ES) like" HDL for this Spartan ?
    (I...
  15. Replies
    2
    Views
    422

    Thanks, Tonyo_au So I think that I have to...

    Thanks, Tonyo_au

    So I think that I have to implement something like a mixt of Forsyth's or Tipify's algos (for to handle vertices reordering) and an extended vboindexer (for to transform v/t/n[/c]...
  16. For to manipulate the image, alls informations...

    For to manipulate the image, alls informations you need are already used at the line that load the texture from the RAM to OpenGL ...



    glTexImage2D(GL_TEXTURE_2D, 0,...
  17. Replies
    2
    Views
    422

    VAO/VBO indices [re]ordering

    Hi,

    I begin to play a little with "advanced" things like Vertex Buffer Objects, normal/light/shadow mappings and others instancing or render to texture methods

    I have founded a tutorial...
  18. This work without the "#version 150" ? Can you...

    This work without the "#version 150" ?

    Can you please give the code source you use ?
    (for to can see if the problem is not on other part of it)
  19. Have you test to display the string content of...

    Have you test to display the string content of the ouput of your GetFile() function using printf("%s", GetFile("yourshader.txt")) ?

    Because I don't see any "<" in your shader ...

    And/or have...
  20. In somes 3D model's formats, such as the .MD2...

    In somes 3D model's formats, such as the .MD2 format, the vertex and matrix data are pre-processed for to minimize the size of the model's data :



    // vertex typedef struct
    {
    ...
  21. Replies
    3
    Views
    316

    I have find a link that draw an dynamic...

    I have find a link that draw an dynamic helicopter at http://www.staroceans.net/helicopter-camera.htm

    I think that is more logical to add first the "simple" handling of the dynamic equation of a...
  22. You can find DevIL tutorials at...

    You can find DevIL tutorials at http://openil.sourceforge.net/tuts/tut_step/index.htm, http://openil.sourceforge.net/tuts/tut_5/index.htm or http://content.gpwiki.org/index.php/DevIL:Tutorials:Basics...
  23. You can too use libTIFF http://www.libtiff.org/ ,...

    You can too use libTIFF http://www.libtiff.org/ , libTGA http://tgalib.sourceforge.net/ or libJPEG http://libjpeg.sourceforge.net/ but DevIL is very more generic and work really very well for...
  24. Replies
    22
    Views
    2,239

    Lots of thanks, Ilian I think to buy the FPGA...

    Lots of thanks, Ilian

    I think to buy the FPGA XC3S500E for to begin (your second link)

    Can the devel of this FPGA to be make on a Linux box ?
    (I think that yes, but in the doubt ...)

    And...
  25. DevIL is a good image loader library

    DevIL is a good image loader library
Results 1 to 25 of 228
Page 1 of 10 1 2 3 4