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: Carmine

Page 1 of 16 1 2 3 4

Search: Search took 0.01 seconds; generated 20 minute(s) ago.

  1. Replies
    1
    Views
    98

    See glusphere for an easy way to draw a sphere.

    See glusphere for an easy way to draw a sphere.
  2. Replies
    5
    Views
    420

    In older versions of OpenGL, I used glViewPort...

    In older versions of OpenGL, I used glViewPort and glScissor to divide a Window in 'panels', where a different scene was drawn in each panel. Don't know if these still apply to modern GL?
  3. Replies
    1
    Views
    170

    Don't understand what your problem is. What...

    Don't understand what your problem is. What happens when you run this code? Do you see anything?
  4. Replies
    5
    Views
    592

    When you post code, it would help a lot if you...

    When you post code, it would help a lot if you use indentation to clarify the logic, AND put the code between [ code] and [/ code] tags (without the spaces). You'll get more helpful responses that...
  5. Replies
    5
    Views
    592

    Mouse functionality is provided by the utilities...

    Mouse functionality is provided by the utilities used to open the graphics window.
    Have you been able to get any of the NeHe tutorials to work?
    If so, how did you open the graphics window?
    Look at...
  6. Replies
    3
    Views
    487

    Just tried to follow up, but the errant behavior...

    Just tried to follow up, but the errant behavior didn't appear!
    Next time it happens, I'll post it. Thanks.

    "Standard Editor"
  7. Replies
    3
    Views
    487

    Question On 'code' Tag

    Why is it that when I post code using the [ code]tag, the filenames following #include disappear? I've noticed this in other posters' code too. Is there an easy work-around?

    Thanks
  8. Replies
    4
    Views
    776

    So what happens when you try to run this code?

    So what happens when you try to run this code?
  9. Replies
    6
    Views
    1,048

    (You're welcome) x 4

    (You're welcome) x 4
  10. Replies
    6
    Views
    1,048

    2367 //...

    2367


    // -------------------------------------------------------------------------------------------------
    // -------------------------------- May 17, 2017. Carmine. ...
  11. Have you solved this problem yet?

    Have you solved this problem yet?
  12. Replies
    10
    Views
    2,403

    My suggestion is to get an orbit mechanics...

    My suggestion is to get an orbit mechanics software library that you can link to.
    They are available for free. I'm guessing they would have planetary propagators built in.
    Google something like...
  13. Replies
    4
    Views
    839

    Perhaps the way you initialize xmin and xmax is...

    Perhaps the way you initialize xmin and xmax is the problem. Try something like below.


    xmin = pc[0].x;
    xmax = pc[0].x;

    for (i = 1; i < p.length; i++) {
    if (pc[i].x <...
  14. Sorry. Didn't see that. I think I understand...

    Sorry. Didn't see that.
    I think I understand what you want. It can be done easily using arbitrary clipping planes.
    See the documentation on glClipPlane. To me it's unintuitive, but it works.
    In...
  15. ??? Don't know what this means ??? Do you...

    ??? Don't know what this means ???


    Do you mean glScissor?


    It would help if you posted a picture pointing out what you don't like and what you want.
    Have a feeling it's pretty easy to do...
  16. I just tried googling "Visual C++ 2010 OpenGL...

    I just tried googling "Visual C++ 2010 OpenGL Example" and got many hits.
    The first one is a pretty good YouTube tutorial on how to set up an OpenGL project.
  17. If you're goal is to make it clear which is the...

    If you're goal is to make it clear which is the inside and outside surfaces of a sphere, I think there are better ways than what I've done below. Actually, I've done two things below. One is to...
  18. If the blue sphere is full, you wouldn't see any...

    If the blue sphere is full, you wouldn't see any of the green circles because they would be totally inside the sphere?
  19. There are 3 spheres in my figure. The left and...

    There are 3 spheres in my figure. The left and right spheres are only there to clarify my approach. The central sphere is the final product. Is this not what you asked for? If not, I don't know...
  20. Actually, with a little bit of finagling you can...

    Actually, with a little bit of finagling you can accomplish your goal using gluSpheres.
    An example with image and code is attached ...

    2321



    void Carmine_Spheres (void)
    {
    static int...
  21. Replies
    1
    Views
    457

    Hello Reserved - Took a look at your code...

    Hello Reserved -

    Took a look at your code today and tweaked it to make it work. The results are below. Tried to keep the programming style close to yours so you'd understand how it works. Your...
  22. Replies
    1
    Views
    659

    You might try the FLTK forum for this question.

    You might try the FLTK forum for this question.
  23. Replies
    7
    Views
    1,158

    Move the Update routine above the handleKeypress...

    Move the Update routine above the handleKeypress routine.
  24. Replies
    7
    Views
    1,158

    Add something like a 'z' key shown below. ...

    Add something like a 'z' key shown below.




    float _angle = 0.0f;

    void handleKeypress (unsigned char key, int x, int y)
    {
    static short anim = 0;
  25. Replies
    9
    Views
    1,738

    So each individual tube is straight, not bent...

    So each individual tube is straight, not bent like a strand of hair?

    If you have a starting program written in Legacy GL, post the code, and I'll help you.

    This is not that hard.
Results 1 to 25 of 399
Page 1 of 16 1 2 3 4