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.05 seconds.

  1. Replies
    0
    Views
    77

    Making Desktop App Run on Web.

    My experience with GL is limited to running fixed function pipeline on Windows workstations and imac. I have an OpenGL/C++ application running on Windows made up of about 10,000 lines of code. My...
  2. Replies
    2
    Views
    117

    The OBJ format is not limited to triangles. It...

    The OBJ format is not limited to triangles. It can handle polygons with many sides. Not sure what the maximum is. If you are only seeing triangles in the OBJ files you are working with, it's because...
  3. Replies
    2
    Views
    232

    The first translate is o.k. I'd take out the...

    The first translate is o.k. I'd take out the glRotate and replace the second glTranslate with something like this -



    float r = 200.0,
    x = r * cos (rotation_angle), // This...
  4. Replies
    2
    Views
    235

    I have the same problem. I'm working with an...

    I have the same problem. I'm working with an NVidia K2000 on an HP Z440 workstation running Windows 7 Professional. I have a small app that displays a model with just over 2000 polygons in it. ...
  5. Replies
    1
    Views
    152

    https://www.opengl.org/

    https://www.opengl.org/
  6. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    494

    Thanks. I'll take a look at it.

    Thanks. I'll take a look at it.
  7. Thread: GLUT disused?

    by Carmine
    Replies
    3
    Views
    342

    I'm running GLUT on Yosemite with no problems.

    I'm running GLUT on Yosemite with no problems.
  8. Replies
    37
    Views
    2,213

    The other guys have stated the options pretty...

    The other guys have stated the options pretty clearly. Either redraw the entire scene leaving out the polygon you want to 'clear', or re-render only that polygon without calling glClear at the...
  9. Like I said, almost all modeling packages can...

    Like I said, almost all modeling packages can export to .obj format, including 'Blender'.
  10. 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...
  11. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    494

    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...
  12. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    494

    CPPlay

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

    Thanks.
  13. Replies
    2
    Views
    217

    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.
  14. Correct. Angle 'a' comes from the law of cosines.

    Correct. Angle 'a' comes from the law of cosines.
  15. 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...
  16. 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...
  17. Replies
    2
    Views
    325

    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...
  18. Replies
    10
    Views
    1,035

    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'?
  19. 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...
  20. Replies
    2
    Views
    333

    glutbitmapcharacter

    glutbitmapcharacter
  21. 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...
  22. 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....
  23. Thread: ufo

    by Carmine
    Replies
    8
    Views
    692

    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...
  24. 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...
  25. Thread: ufo

    by Carmine
    Replies
    8
    Views
    692

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