PDA

View Full Version : How to generate this edge effect?



summer
02-04-2015, 03:48 AM
Hey guys,

I'm a beginner with OpenGL and GLSL. In an interesting paper (https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCgQFjAA&url=http%3A%2F%2Fwww.csee.umbc.edu%2F~olano%2Fpape rs%2Fcurvature%2Frealtime_curvature.pdf&ei=rPjRVOC4HKWc7gb1lIGoDA&usg=AFQjCNEaJjg0CP_OBcSbmN-SlC9eInq21g&bvm=bv.85076809,d.ZGU) I have found visualizations like this:

16161617

Can someone of you explain to me how I can create this effect, when I have e.g. a triangulated torus? That would be awesome!

summer

__bob__
02-04-2015, 06:09 AM
You have to find the silhouette of the torus for the first image.
http://prideout.net/blog/?p=54

summer
02-04-2015, 06:46 AM
This seems to be exactly what I was looking for. Thank you __bob__