efficient facet

   2537   2   1
User Avatar
Member
17 posts
Joined: Nov. 2008
Offline
Hey guys !

I'm building a procedural building tool which allows artists to create highly detailed parts of a building and these models are distributed to create any size structure imaginable.

I'm running into a bit of a performance issue, and not in the way i expected. The normals of the objects are wrong, this is usually fixed by using the facet SOP and “make unique points” and computing the normals. However, The performance hit I am taking is immense. The finished system went from real time functionality to a 3 second cook time between doing anything. Now perhaps this is unavoidable. But I was wondering if anyone has found a more efficient way of applying new normal information?
User Avatar
Member
1145 posts
Joined: July 2005
Offline
Would using a Point sop and adding normals that way do?
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
648 posts
Joined: July 2005
Offline
Try cusp instead of unique-points. Or failing that,
perhaps setting normals at an earlier stage of the
setup. For example: If you are building from curves
then see if the normals can be set at the curve level
and have them inherited by subsequent nodes…
Preparing the source, rather than fixing the result.
  • Quick Links