Stupid Newbie Question...GLUT

[b][red]This message was edited by the bgibby at 2002-6-20 21:51:41[/red][/b][hr]
Hi there,

Forgive my lack of knowledge about this but when I draw say four lines and make a square (yes, yes I know there is another way, but just say it was a polygon with 700 sides or something).

My question, how the hell do I fill it with a colour without having to get every single vertex within the area and setting it's colour to white for example?

I've heard of Map and EvalMesh and stuff but I don't know what they do.

ANY help would be greatly appreciated!

Bradley q:)


Hi again,

I just tried nesting the vertecies within a glBegin(GL_POLYGON); and it worked. It filled all the points properly.

But I'm still wondering, is this the best / correct / most efficient way to do it as it's starting to chug a bit that's all!

Thanks again!

[ END ]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!