how to clone to primitive and use primitive normal?
6721 15 1- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
Joker386
Ok , don't worry , I made VOP SOP method with correct orientation for you , Just check attached project :wink:
OK… thanks again for putting this together for me. This particular node network has been extremely helpful to me understanding how to use Houdini. I am always animating groups of connected polys nodaly in my current app, but was not clear on how to get that control in vops until I saw your setup.
I do think I understanding all that you have done here… and I only have one question.
If you put a mountain on the torus and show primitive normals in the viewport you can see that the normals from your wrangle node and the normals in the veiwport don't match up… do you know why this is, and can it be made to match the normals in the view.
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
for two reason :
1. Some of these points are shared with too many primitives , and we don't take exactly same normal for currently primitives.
2.another reason is some of quad deformed primitives are not planner , they are broken exactly on center.
So if you use a Facet SOP and turn on Unique Points option , each primitives has it's own points , now you can take unique N from currently primitive (it's not average or shared with others).
And if you use divide SOP and convert all of the quad primitives to triangle , you don't have any broken primitive.
in this case you should take exactly same result with N primitives after using any deformer !
NOTE : You should use Divide SOP and Fact SOP after your deformer !
But about solving this in the VOP Network , let me think more :?
1. Some of these points are shared with too many primitives , and we don't take exactly same normal for currently primitives.
2.another reason is some of quad deformed primitives are not planner , they are broken exactly on center.
So if you use a Facet SOP and turn on Unique Points option , each primitives has it's own points , now you can take unique N from currently primitive (it's not average or shared with others).
And if you use divide SOP and convert all of the quad primitives to triangle , you don't have any broken primitive.
in this case you should take exactly same result with N primitives after using any deformer !
NOTE : You should use Divide SOP and Fact SOP after your deformer !
But about solving this in the VOP Network , let me think more :?
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Haven't looked at any of the above files…
Copy SOP is the tool and it naturally copies first input geo to second input points using a number of point attributes to orient things such as N and up.
If you want to copy objects to primitive normals, you can use the Divide SOP with it's “Compute Dual” option. This constructs a second set of geometry where each point is exactly at the centre of the input polygons. Then compute the point normals and copy your stuff.
See attached file.
Copy SOP is the tool and it naturally copies first input geo to second input points using a number of point attributes to orient things such as N and up.
If you want to copy objects to primitive normals, you can use the Divide SOP with it's “Compute Dual” option. This constructs a second set of geometry where each point is exactly at the centre of the input polygons. Then compute the point normals and copy your stuff.
See attached file.
There's at least one school like the old school!
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
- Bry Phi
- Member
- 25 posts
- Joined: Aug. 2013
- Offline
I need a bit more help with this guys…
How can I use stamp function to isolate groups? I have a few groups set up and they each need different object to be cloned to each group, and one group has to be rotated. I am able to get this to work with 3 copy sops and selecting the appropriate group, but there has got to be a way to use stamp function to mask groups…. right?
How can I use stamp function to isolate groups? I have a few groups set up and they each need different object to be cloned to each group, and one group has to be rotated. I am able to get this to work with 3 copy sops and selecting the appropriate group, but there has got to be a way to use stamp function to mask groups…. right?
- PradeepBarua
- Member
- 443 posts
- Joined: Sept. 2012
- Offline
- William_Ashworth
- Member
- 1 posts
- Joined: June 2017
- Offline
-
- Quick Links