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

Search: Search took 0.01 seconds.

  1. Like I said, almost all modeling packages can...

    Like I said, almost all modeling packages can export to .obj format, including 'Blender'.
  2. The Wavefront .obj format is what you need. It's...

    The Wavefront .obj format is what you need. It's an ASCII format that is easy to understand and well documented. I've written code to input and display it in OpenGL myself. If you look around, you...
  3. Thread: CPPlay

    by Carmine
    Replies
    2
    Views
    98

    I hear ya. I went to the link provided and found...

    I hear ya. I went to the link provided and found - not much - as you say. That's why I asked if anyone knew anything about it. Looks like it runs on Apple only. I certainly wouldn't use it for...
  4. Thread: CPPlay

    by Carmine
    Replies
    2
    Views
    98

    CPPlay

    Does anyone know anything about CPPlay? Which version(s) of OpenGL are implemented - fixed pipeline, Modern GL? How fully implemented is it?

    Thanks.
  5. Replies
    2
    Views
    98

    Even without the texture turned on, your sphere...

    Even without the texture turned on, your sphere is messed up. Looks like depth testing and/or gl_cull_face haven't been enabled or set up properly.
  6. Correct. Angle 'a' comes from the law of cosines.

    Correct. Angle 'a' comes from the law of cosines.
  7. Reading my own post made me realize there might...

    Reading my own post made me realize there might be an easy way to solve this problem correctly and succinctly.
    By 'correctly', I mean capping the small sphere with a larger sphere of radius = earth...
  8. The sphere is made up of lots of small polygons,...

    The sphere is made up of lots of small polygons, i.e. it is a surface not a solid. By default, a GL polygon is a thin surface that can only be seen from one side, which is why when you look into the...
  9. Replies
    2
    Views
    201

    I started doing OpenGL on an iMac with...

    I started doing OpenGL on an iMac with Code::Blocks recently. It turns out that Code::Blocks provides a template for developing GL apps using GLUT. It comes with a small demo program that compiles...
  10. Replies
    9
    Views
    499

    Don't understand your question. Can U provide an...

    Don't understand your question. Can U provide an example - perhaps pictures of a 3D model with and without the 'contour'?
  11. Had some time to fool around with clipping...

    Had some time to fool around with clipping gluSpheres today. Had to play around with the commands to get any sort of handle on it. Reading the docs usually doesn't do it for me when I'm trying out...
  12. Replies
    2
    Views
    210

    glutbitmapcharacter

    glutbitmapcharacter
  13. Will be a few days before I can look at your...

    Will be a few days before I can look at your code.
    Suggest trying to set up a simple scene with a sphere at the origin being clipped by a plane.
    The idea being to make sure you can get clipping to...
  14. I used a geometric modeling/animation package...

    I used a geometric modeling/animation package called 'modo' to draw my spheres. You could think of it as using a CAD package. So that's not going to be of use to you since you are working in OpenGL....
  15. Thread: ufo

    by Carmine
    Replies
    8
    Views
    463

    For the fun of it, I tried to compile and run...

    For the fun of it, I tried to compile and run your code. Worked fine. Where did this code come from? Did you write it, or parts of it? The UFO's are propagated using trig functions which have...
  16. The figure below demonstrates a 'clipped' versus...

    The figure below demonstrates a 'clipped' versus a 'flattened' sphere.
    Which is it that you want? Seems to me that you want a flattened sphere.
    BTW - I'm not explicitly clipping the parts of the...
  17. Thread: ufo

    by Carmine
    Replies
    8
    Views
    463

    Can you compile, link, and run this code? Do...

    Can you compile, link, and run this code?

    Do you know what sin, cos functions are all about?
  18. Thread: ufo

    by Carmine
    Replies
    8
    Views
    463

    Mr. Prateek - I am wondering if you can...

    Mr. Prateek -

    I am wondering if you can compile and run this code?
    If so, what shows up on the screen?

    Can you make changes, recompile, and run again?
    If so, you could always take the...
  19. Replies
    2
    Views
    222

    Do you mean creating a 3D 'model' or 'modeler'?...

    Do you mean creating a 3D 'model' or 'modeler'?
    Creating a modeler would require, I'm guessing, 100,000 lines of code.
    You don't really want to do that, do you?

    Question for people in the know: ...
  20. Replies
    7
    Views
    590

    This sounds promising. Are you saying that you...

    This sounds promising. Are you saying that you can draw a sphere successfully using 'glusphere'? I assume this means that somewhere in your program gluSphere is called? The radius of the sphere is...
  21. Replies
    7
    Views
    590

    This will not put your object at 75.2 degs lat...

    This will not put your object at 75.2 degs lat and 32.5 degs lon. Lat and lon are angles (i.e. rotations), not translations. For simplicity, forget about the second sphere, and simply try to place a...
  22. Replies
    12
    Views
    1,076

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

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

    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...
  24. Replies
    12
    Views
    1,076

    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.
  25. 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...
Results 1 to 25 of 239
Page 1 of 10 1 2 3 4