Calculating convex and concave/AO into point color.

   3028   1   0
User Avatar
Member
1 posts
Joined: Feb. 2016
Offline
Hey guys,

I've been looking for a way to calculate convex and concave information and write it to point color. There's a Max plugin that does it:

http://rpmanager.com/plugins/TensionMod.htm [rpmanager.com]

I was thinking to walk through each point in an object and calculate the angle between connected edges. The wider the angle the more convex, the narrower the angle the more concave.

I've tried it with a group node using Edges Min Edge Angle, but it doesn't differentiate between convex/concave.

I was looking at a Pointvop node but i dont know how to access attached edges/polygons to a given point.

I'm just starting to learn Houdini so maybe there is a totally different approach to this.

Can someone point me to the right direction?

Cheers!
User Avatar
Member
13 posts
Joined: Oct. 2013
Offline
I know I've had such a sop before but now I can't seem to find where I downloaded it from.
Here perhaps http://forums.odforce.net/topic/14210-storing-light-in-points/ [forums.odforce.net]
I uploaded it to my gdrive here anyway https://drive.google.com/open?id=0B4W2M6Gk9EM8SEgyNUpYQ3ZPcGs [drive.google.com]

This thread has some ao solutions in it http://forums.odforce.net/topic/20792-learning-vopsop/?page=8 [forums.odforce.net]


I'm looking for something similar..grouping edges by angle, but need convex/concave filtering.
Edited by Octop - Aug. 17, 2016 14:53:49
  • Quick Links