I need to draw the circle hole in (any) cube. The hole can pass thru the cube or the depth of the hole can be smaller than the height of the cube. Ho can i do that as much as easy (I need to draw more holes in any cube)? Thanx.
You can use very complex geometric boolean operation or more simple buffer boolean operation with a Stencil Buffer.
See: Demonstration of performing arbitrary CSG operations.