View Full Version : 3D object filling
11-15-2011, 06:51 AM
I have drawn a 3D object(cube) using GL_QUADS.I want to fill the object's interior space so that after clipping it remains solid
(all the surfaces are filled....i.e.no hole).how can I do it?
11-16-2011, 04:19 PM
Sounds a bit like homework assignment to learn about the stencil buffer...
See http://www.opengl.org/resources/code/samples/advanced/advanced97/notes/node10.html for a technique.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.