Introduction - If you have any usage issues, please Google them yourself
The author recently had to write some code to outline using OpenGL 3D objects. The author hunted around the Internet for methods to do this, and eventually came across two main techniques. The first involves the use of Polygon Offsets, and the second involves the use of the Stencil Buffer. This article explains how these two methods work, and explains in a bit more detail what the stencil buffer is.
Packet : 105230289outline_mode_src.zip filelist
include/CGLImage.h
include/CGLTexture.h
include/CRGBSurface.h
include/CWGL.h
include/Jconfig.h
include/jmorecfg.h
include/Jpeglib.h
include/OGLT.h
include/StdAfx.h
intro.txt
lib/Jpegmt.lib
OGLDemo/ChildFrm.cpp
OGLDemo/ChildFrm.h
OGLDemo/MainFrm.cpp
OGLDemo/MainFrm.h
OGLDemo/OGLDemo.cpp
OGLDemo/OGLDemo.dsp
OGLDemo/OGLDemo.h
OGLDemo/OGLDemo.rc
OGLDemo/OGLDemo.vcproj
OGLDemo/OGLDemoDoc.cpp
OGLDemo/OGLDemoDoc.h
OGLDemo/OGLDemoView.cpp
OGLDemo/OGLDemoView.h
OGLDemo/res/
OGLDemo/resource.h
OGLDemo/res/OGLDemo.ico
OGLDemo/res/OGLDemo.rc2
OGLDemo/res/OGLDemoDoc.ico
OGLDemo/res/Toolbar.bmp
OGLDemo/StdAfx.cpp
OGLDemo/StdAfx.h
OGLTDoc/Doc/
OGLTDoc/Doc/HTML - English/
OGLTDoc/Doc/HTML - English/index.chm
OGLTools.sln
OGLTools.vcproj
src/CGLImage.cpp
src/CGLTexture.cpp
src/CRGBSurface.cpp
src/CWGL.cpp
src/README.ijg.txt
src/StdAfx.cpp