View Full Version : Stencil Frames

11-27-2001, 03:44 PM
I'm having trouble figuring out how to use the stencil buffer to create a frame. Currently I have a 3d scene that I can walk around in. (www.cise.ufl.edu/~sez/hw4.c) I want to create a blood red frame around all edges of my screen. Basically, keep the red frame static and whenever i change my view, everything updates within the frame. Any suggestions on how to do this or any good examples to look at? Thanks.

11-27-2001, 07:56 PM
Sorry, but we don't do people's homework for them.

11-27-2001, 08:38 PM
I wasn't asking for anyone to do my homework for me. I've been working on this project for a while, if the code didn't show this. I was asking for references so I could figure out how to do it myself. I have the Red Book and have not been able to figure out how to do it based on those examples. I am taking this course so I can get into computer game development. Did you automatically understand everything about OpenGL by reading it in the book and not looking at multiple examples? I understand the basics of stencils, but not enough from my reading to do what I want to do.