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

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    794

    Try making 'animate' a global variable. Then...

    Try making 'animate' a global variable. Then when up >= 18, set animate = 0.
  2. Replies
    12
    Views
    794

    Not sure what you mean by that. Under what...

    Not sure what you mean by that. Under what circumstances do you want to stop the bullet? I've added two scenarios to your code. I assume 'up' is a global variable? You don't need...
  3. Replies
    12
    Views
    794

    If you want stuff to move on the screen by...

    If you want stuff to move on the screen by themselves (i.e. without holding a key down), you have to use glutIdlefunc. Google it. Look for sample code, etc. Good luck.
  4. What do you mean by 'have'? The output of a...

    What do you mean by 'have'? The output of a Marching Tet utility is an iso-surface made up of triangles. Can you display this iso-surface? If so - how? With code you've written? With some other...
  5. Replies
    1
    Views
    325

    Where did the vertex coordinates come from? Have...

    Where did the vertex coordinates come from? Have you checked to make sure they really are vertices of the letter 'A'? This can be done easily by using GL_POINTS in the glBegin statement instead of...
  6. Replies
    6
    Views
    820

    You are going to have to write 2D contouring or...

    You are going to have to write 2D contouring or 3D iso-surface codes. This is not trivial. Have you thought about bringing your data into an application like Matlab? It will do the contouring and...
  7. Replies
    5
    Views
    961

    I don't use modern GL, so I'm not sure this...

    I don't use modern GL, so I'm not sure this suggestion will work for you.

    If it was me (old guy - old GL), I'd use a large, anti-aliased point.
    Triangles or polygons of any kind would not be...
  8. Replies
    8
    Views
    2,011

    I'm familiar with bump-mapping from rendering...

    I'm familiar with bump-mapping from rendering codes such as Lightwave. Didn't know it was being used in real-time apps like games. Thanks for explaining 'deferred rendering'. Have seen the term...
  9. Replies
    8
    Views
    2,011

    So my question is - Which type of shading is used...

    So my question is - Which type of shading is used in state of the art OpenGL applications such as Grand Theft Auto? Are shaders used to do Phong shading? Is something even more sophisticated or...
  10. Replies
    2
    Views
    353

    I've played with this stencil buffer stuff. ...

    I've played with this stencil buffer stuff. Downloaded some code, put it on my windows desktop, and it worked! The code isn't that complicated but I don't really know why it works. I played with it...
  11. Replies
    3
    Views
    499

    You may run into trouble here. Texture and...

    You may run into trouble here. Texture and normal info is optional in OBJ format. For example you can have statements like -

    f 15 47 29, or f 15//22 24//21 29//16.

    You may also encounter...
  12. Replies
    2
    Views
    348

    The objects either render correctly, or not at...

    The objects either render correctly, or not at all. When they don't show up there is some small corruption to characters strings that appear near where missing objects should be.

    Just looked...
  13. Replies
    2
    Views
    348

    Display Lists Disappearing?

    I have a scene which can be viewed through 4 different cameras. I can look at all 4 views at once in split screen mode. Or, I can make any of the individual views full screen. The scene is about to...
  14. I do a lot of orbital graphics. I strongly...

    I do a lot of orbital graphics. I strongly suggest you start with a sphere of radius = 1.0 (they use 2.0 in the example). Then scale the satellite cords down by r = 1/6371. An easy way to do this...
  15. Replies
    2
    Views
    349

    What happens when you run this code now? Do you...

    What happens when you run this code now? Do you see the graphics you expect to see? Does it currently stop when you push the 'esc' key?
  16. Assume rocket is modeled with X axis through the...

    Assume rocket is modeled with X axis through the nose, and you want Z to be in the orbit plane as the rocket propagates.
    So with no rotations, the rocket lies in the horizontal plane pointed...
  17. Thread: User Interface

    by Carmine
    Replies
    2
    Views
    366

    You should also take a look at FLTK. I've been...

    You should also take a look at FLTK. I've been using it for years and am very happy with it.
  18. Replies
    4
    Views
    788

    What do you mean by 'get this done'? What's your...

    What do you mean by 'get this done'? What's your final objective? I'm guessing that you want to bring an STL(s) file(s) into OpenGL to put into some sort of simulation? How does Rhino come into...
  19. Replies
    4
    Views
    788

    You've encountered a drawback to .stl format....

    You've encountered a drawback to .stl format. It's very primitive. You could have 6 polygons sharing a vertex, but those vertex coordinates would be repeated 6 times in the .stl file. You probably...
  20. Not correct. A basic understanding of 'C' is...

    Not correct. A basic understanding of 'C' is adequate. However, if you are not comfortable with programming in general, you'll have a tough time. Look at the tutorials. You'll see that not much...
  21. Replies
    1
    Views
    479

    That's a big ask. Couple of things. It's not...

    That's a big ask. Couple of things. It's not recommended to use your display function as your idle function. What happens when U run the code U posted? As an intermediate step I'd forget the...
  22. Replies
    9
    Views
    1,126

    Your comments make sense. In reality both of the...

    Your comments make sense. In reality both of the scenarios you discuss come up in my simulation. Most of the time I'm simply compositing cloud cover over a world map. It's a static texturing...
  23. Replies
    9
    Views
    1,126

    I combine two textures on a sphere using fixed...

    I combine two textures on a sphere using fixed pipeline GL (i.e. no shaders). The first texture is a world map. The second is global cloud cover expressed as a grey scale image. The texture images...
  24. Replies
    1
    Views
    914

    NetBeans and OpenGL On A Mac

    Is anyone using NetBeans on a Mac to do C/C++/OpenGL development?
    I use Windows at work with MVC++. I recently acquired Mac for home use.
    I would like to develop new OpenGL software in the same...
  25. When I read your first post, it sounded like you...

    When I read your first post, it sounded like you wanted an animation of balls or points moving as new positions were computed. But your last post seems to indicate that all you need is to show the...
Results 1 to 25 of 217
Page 1 of 9 1 2 3 4