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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Smooth Graphics

    by tdavie
    Replies
    9
    Views
    301

    Re: Smooth Graphics

    Jaggies are there simply because a diagonal line is a very hard thing to draw with a set of horizontaly and verticaly aligned dots (pixels on your monitor). There is only one real solution to this...
  2. Replies
    10
    Views
    2,841

    Re: Best way to draw hexes and texture them?

    It probably isn't possible to draw it all in one run, but drawing a whole load of strips is most definitely faster than drawing all of them individualy in any form. Remember that all you are trying...
  3. Thread: Lighting

    by tdavie
    Replies
    16
    Views
    1,257

    Re: Lighting

    I didn't check your code there but in reply to the previous post, you need to set the w coordinate to 1, not 0 to position the light. Also, it is always a good idea to have a very low level ambient...
  4. Thread: aglFullScreen

    by tdavie
    Replies
    1
    Views
    337

    Re: aglFullScreen

    It's quite a complicated function to use propperly, you have to do all sorts of setting up and other crap. Take a look a 'SetupGL' on developer.apple.com to get a load of free source. I seem to...
  5. Replies
    1
    Views
    277

    Re: How to compiler under OSX

    They should be in libraries called OpenGLEngine and the like... have a search around. If you're using codewarrior, you'll need to download the openGL sdk from apple's website.
  6. Replies
    7
    Views
    434

    Re: MacOS X, OpenGl, etc.

    Woops, forgot to mention - the cocoa API and framework are still being worked on by apple, and one of the many missing things at the moment is OpenGL support! (PANTS!)
  7. Replies
    7
    Views
    434

    Re: MacOS X, OpenGl, etc.

    Well, kinda right. Cocoa is a colective name for both the API and the framework, it's supposedly very good, if you want to find out more about it go and visit developer.apple.com. However with...
  8. Replies
    6
    Views
    733

    Re: Copy bits ? what is it? how 2 use it?

    Back to the origional message, you asked how to save OpenGL images as files, I attempted to do this a while ago and had great difficulty, but I did come up with a hacked together way of doing it:
    ...
  9. Replies
    2
    Views
    491

    Re: What happened to Tk.h and aux.h ?

    I don't buy that. tk lib had some really usefull stuff - like loading .sgi format images to be used as texture maps. Also, now that agl has gone, how are you supposed to set up draw sprocket...
  10. Replies
    8
    Views
    387

    Re: OpenGl 1.2.1 won't initialize for me!!!!

    It's almost certain to be your graphics card, my iMac 333 with 160 meg of ram and a RAGE pro barely manages to run Elite force at a crawl in really low resolution, so a rage II is unlikely to be able...
  11. Replies
    6
    Views
    307

    Re: How to program with OpenGL on mac?

    He isn't saying rebuild GLUT, he is saying change the file atributes using ResEdit. i.e. the reason your mac is making the file show up as a text file instead of an application is that it has lost...
  12. Replies
    6
    Views
    148

    Environment mapping

    Hi,
    I have been writing a game which involves a ball moving around in a scene (which is renderd using OGL, not just a big texturemapped thing), up untill now I have been using a specific texture...
  13. Replies
    1
    Views
    297

    Not quite openGL but close

    Hi,
    I have an OGL program which uses SetupGL from apple to initialise graphics hardware. It compiled and ran fine using Codewarrior Pro 5, however when I upgraded to codewarrior 6 it stopped...
  14. Thread: Shadowing

    by tdavie
    Replies
    1
    Views
    142

    Shadowing

    Could someone please explain to me how shadowing works in OpenGL, could you not direct me to a tutorial, because I have read a few of them and none of them really explain what is going on very well....
  15. Replies
    5
    Views
    194

    Re: drawing circles in opengl

    It may be easier, but it isn't as nice and it isn't as fast.
  16. Replies
    4
    Views
    231

    Re: Particle Engine Calamity!!!

    I know that NeHe's partical engine one uses glut on the mac, as the code for GLUT is totally portable, it should just recompile in linux, you will have to make your own project files of course.
  17. Replies
    5
    Views
    233

    Re: Light a beizer grid

    You may be having problems with your material setup. When you start doing lighting, the normal glColor3f commands stop working, instead you need to specify material propertys, e.g. colour, alpha,...
  18. Replies
    7
    Views
    451

    Re: Lighting performance

    Lighting does quite often give quite a performance hit, however you could improve your situation by using vertex and normal arrays, this way you can calculate the normals before hand, then create the...
  19. Replies
    4
    Views
    165

    Re: Can I get help???

    VC++ is perfect for what your trying, and OpenGL should suit you fine. As wolf said, look in 'The Red Book' (otherwise known as the OpenGL programmers guide) and at NeHe's tutorials, they are really...
  20. Thread: Meshes

    by tdavie
    Replies
    2
    Views
    155

    Meshes

    I am trying to do a simple landscape renderer using a mesh (like this)
    _________
    | \ | / |
    _________
    | / | \ |
    _________

    repeated many times to create a neatly curving landscape. At the...
  21. Replies
    9
    Views
    204

    Re: Need help with Lighting and Colors

    There isn't any such thing as GL_EMULLSION (I don't think). Look in the red book in the section about lighting, that is one of the sections which is explained quite well.
  22. Thread: Hmmm

    by tdavie
    Replies
    1
    Views
    93

    Hmmm

    Does anyone know where I can get the Mac Quake source code from...
    I know it isn't really OGL related but hey it's 3Dish...
  23. Replies
    2
    Views
    150

    Re: Lighting a sphere

    You could try using the spotlight parrameters for the light - look in the big red book.
  24. Replies
    11
    Views
    1,955

    Re: How to get more than 60 fps?

    This shouldn't be a problem with using LINEAR or NEAREST texture mapping, I have a game rendering 1000 odd polygons, linear mippmapping, lighting, normalising and blending all on full screen at...
  25. Replies
    9
    Views
    266

    Re: Diagonals showing up in Quads?

    It could be that you're not freeing up the graphics card memory as you draw, so your graphics card runs out of VRAM and your computer defaults to using software rendering. The diagonals could then...
Results 1 to 25 of 61
Page 1 of 3 1 2 3