Hi there,
Here is a Nebie Question:
I'm looking for a way to detect edges in a scene.
Let's say i have a scene consiting of simple obstacles like qubes standing
around and I want to find all edges of the qubes (to calculate
bending/refraction effects around the obstacle. In my current scene
I am facing a similar problem myself, to perform edge detection for some
toon style rendering. This is what I think I have to do:
1) Render the scene to a Frame Buffer Object, including a depth buffer.
2) Bind said depth buffer to a texture - attach the texture to the state
set of a screen
2 matches
Mail list logo