Separate names with a comma.
i re read what you wrote and realised i wasnt intialising, wondered how i should be, then realised the arrays should have been holding texture...
loadtexture is meant to be storing a seperate texture name in each array member. id imagine its not doing this for some reason.
hi mates. im having to load a texture each time i use it in a frame, i cant just load them all in an array then use whichever member of the array....
i just tried glOrthof(0, 320, 0, 480, -1, 1); again and changed my vertices to 40 wide, now i can see a square which looks about 40px wide at the...
woo hoo, its working :) using glOrthof(-2, 2, -2, 2, -2, 2); in the first program makes my little square take up 2/3 of the screen, using...
ok ive simplified the program, its now a spinning square with no texture, just colour - (void)drawView { // Our new object definition...
the problem is nothing gets drawn after orthof() is called for the first time. and the reason im calling glOrthof(0, 320, 0, 480, -1, 1); is to...
k this is what i hav in setupOrtho() now but it still isnt working -(void)setupOrtho { glMatrixMode(GL_PROJECTION);...
it errors around GL_MODEL, it doesnt recognise the word. and ive changed the -1.5 z translation to 0.0, its still doing the same thing.
pleez halp. im trying to make this 3d crossword app for my dad, my mac is working again after a week of being broken, and i may have an interview...
if that doesnt make any sense, im taking this lovely font [img] http://www.plasticbag.org/images/extra/coates_font.gif and i want to be...
i can specify 4 vertices of a texture from 0-1, so i could use just a small area of the texture. is there anyway to do the same with where im...
hi, im making an app version of a puzzle my dad makes on his website, it has a lucky dip of the winners who recieve a bit of money. if i made an...
thought id share random ideas as im concentrating on 2 projects for a long time. say your moving house, and youre moving what previously fit in...
*spits out tea
just a little bursts every now and then. like a treat.
so for example if i have a picture of a person, i can specify vertices to wrap my image as a texture to fit it perfectly, and presumably set a...
doesnt open gl use polygons, vertices and textures? if i had someone doing 2d graphics and they were supplying me with .png files, would open gl...
tutorial 1 tutorial 2 tutorial 3 tutorial 4 its pong. it uses the interface builder but its still pretty good.
well, when im programming on windows in c++ in the engine i use, wincode.cpp has WinMain() which instantiates gameInit() in gamecode.cpp where i...