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...
Type: Posts; User: tdavie
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...
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...
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...
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...
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.
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!)
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...
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:
...
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...
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...
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...
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...
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...
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....
It may be easier, but it isn't as nice and it isn't as fast.
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.
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,...
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...
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...
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...
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.
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...
You could try using the spotlight parrameters for the light - look in the big red book.
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...
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...