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

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    149

    Re: Imaged background

    Basically this is how I do it and it works well.

    variables needed:

    // Window size (GLdouble)
    w = width
    h = height

    // Texture ID of the texture you want to draw
    nTextureID
  2. Replies
    2
    Views
    141

    Re: OpenGL splitter windows

    It's probably best to create a class for each splitter window so you don't have to keep track of the different options for each view separately. I'm not sure what you're trying to do, but lets say...
  3. Replies
    2
    Views
    141

    Re: glReadPixels crash

    Thanks. I figured it out by searching for another topic on glReadPixels and trying it out. Turns out that when I would use a standard size (hard coded) like 640x480 or even 1280x1024 it would work....
  4. Replies
    2
    Views
    141

    glReadPixels crash

    I'm not sure why this is happening, but if I try to do a glReadPixels with a large screen, my program dies horribly inside OpenGL (Win32). If I cut back the size to something smaller it works fine...
  5. Replies
    2
    Views
    421

    Re: Scanline vs raytracing

    Okay, I guess I should have asked this up front. Where can I find some information/code on building a scanline renderer? TIA

    liB
  6. Replies
    2
    Views
    421

    Scanline vs raytracing

    I want to build a renderer (or perhaps make use of a free one) in my application. I read that MAX uses a scanline renderer and I know that raytracing takes forever. I'm not looking to build something...
  7. Replies
    5
    Views
    261

    Re: Finding a good 3D modler?

    Other than the fact that I'm building one myself (http://www.simfreaks.com/blueprint) I think one of the best ones is Anim8or (http://www.anim8or.com). Steven works at nVidia and really knows his...
  8. Replies
    2
    Views
    214

    Re: Slicing images?

    Hi Tom,

    Yes, slicing the image in 2D is simple but what I'm trying to achieve is a slice in 3D, sort of like doing those exploded views you see of engines where there's a cutaway of the model and...
  9. Replies
    2
    Views
    214

    Slicing images?

    This might seem like an odd question and I have a few theories on how to do it, but not sure what's best.

    If I take an OpenGL scene and plop a sphere with a diametre of 4.0 into it I want to...
  10. Replies
    5
    Views
    318

    Re: Putting on textures on a WireSphere

    If you use the gluQuadricxxx commands, you can create a sphere, auto-generate the texcoords and normals and flip between solid and wireframe mode quite easily with a call to glPolygonMode.
    ...
  11. Re: How do you draw Objects? (Spheres, Cones, etc)

    Yes, it's not really the most efficient cone. Triangle strips or fans would work much better but the original poster wanted a fast way to draw it. The performance isn't that bad unless you have...
  12. Thread: Drawing a cube

    by bsimser
    Replies
    4
    Views
    167

    Re: Drawing a cube

    It depends on how you want to draw the cube. If you're using glut, then glutWireCube or glutSolidCube will work. Otherwise you'll have to create 6 faces yourself. Take a look at the cube.c that came...
Results 1 to 12 of 12