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
Hi Daniel,
I faced the same problem
http://forum.openscenegraph.org/viewtopic.php?t=14354
How I fixed and hints from Robert. Hope it helps
Nick
On Fri, Dec 12, 2014 at 4:08 PM, Daniel Schmid
daniel.sch...@swiss-simtec.ch wrote:
Hi all
Trust me, I searched the forum for a hint but
Hi Daniel,
Sounds like you are doing updating the m_TextureMatrix prior to the main
Camera being updated. By default the Viewer::updateTraversal() gets the
modelview matrix from the CameraManipulator after the update traversal.
Some camera manipulators track nodes in the scene so have to be
4 matches
Mail list logo