coloring polygons

im tryin to color my polygons. when i zoom in into the polygon, only the walls are colored. i want the whole polygon (including the space inside the polygon to be filled with color. what do i do?

Polygons are infinity thin objects, what do you mean with inside?

what i mean by “inside the polygon” is the volume inside the polygon. say the interiors of a cube is filled with the same color as its walls.

Originally posted by Mazy:
Polygons are infinity thin objects, what do you mean with inside?

Hi !

You talk about volymetric attributes, this does not exist in OpenGL, OpenGL does not understand the concept of “inside” a closed shape, a box is just a bunch of triangles to OpenGL.

Mikael