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

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    174

    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"
  2. Replies
    3
    Views
    174

    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
  3. Replies
    4
    Views
    514

    So what happens when you try to run this code?

    So what happens when you try to run this code?
  4. Replies
    6
    Views
    651

    (You're welcome) x 4

    (You're welcome) x 4
  5. Replies
    6
    Views
    651

    2367 //...

    2367


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

    Have you solved this problem yet?
  7. Replies
    10
    Views
    1,646

    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...
  8. Replies
    4
    Views
    615

    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 <...
  9. 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...
  10. ??? 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...
  11. 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.
  12. 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...
  13. 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?
  14. 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...
  15. 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...
  16. Replies
    1
    Views
    361

    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...
  17. Replies
    1
    Views
    547

    You might try the FLTK forum for this question.

    You might try the FLTK forum for this question.
  18. Move the Update routine above the handleKeypress...

    Move the Update routine above the handleKeypress routine.
  19. 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;
  20. Replies
    9
    Views
    1,172

    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.
  21. Replies
    5
    Views
    2,271

    OpenGL is a standard which looks like a...

    OpenGL is a standard which looks like a subroutine library when you get down to using it. It is not a development environment (IDE) and does not come with an editor. The good news is that most major...
  22. Here's a suggestion (without looking too closely...

    Here's a suggestion (without looking too closely at your code).

    Do not enable light0 or light1 until you are inside the 'drawRoom' routine.
    Then do something like this -



    glEnable ...
  23. Replies
    1
    Views
    484

    One path people have taken is to first export or...

    One path people have taken is to first export or convert the model into .obj format. Then do an obj to .h conversion. Apparently people have written scripts to do this. I've never tried them. Try...
  24. Replies
    7
    Views
    1,020

    Codeblocks provides a sample opengl project. ...

    Codeblocks provides a sample opengl project. That's how I got started. It was very easy.
  25. Replies
    6
    Views
    1,042

    This implies that you can currently open a GL...

    This implies that you can currently open a GL window and display a scene with a bunch of points on the screen. Is that right?
Results 1 to 25 of 402
Page 1 of 17 1 2 3 4