kidsreturnjj Posted November 10, 2012 Share Posted November 10, 2012 I try normal control by vopsop (Subtract beteen Position of sphere to Grid point position). I want that Grid point normal follow sphere position. It doesn't work well. Could you check this file ?? Quote Link to comment Share on other sites More sharing options...
gui Posted November 10, 2012 Share Posted November 10, 2012 u didn´t send the file. But if u wanna the normals to point the center of the sphere (from the grid), u should subtract the sphere position from the points on the grid positions. And then, probably, normalize the vector. If the vectors dont show up, try to increase the normal length in the preferences. Quote Link to comment Share on other sites More sharing options...
JuriBryan Posted November 11, 2012 Share Posted November 11, 2012 u didn´t send the file. But if u wanna the normals to point the center of the sphere (from the grid), u should subtract the sphere position from the points on the grid positions. And then, probably, normalize the vector. If the vectors dont show up, try to increase the normal length in the preferences. I tried to do just that, but I am running in some problems. The sphere is default only one point, so if you use a vop sop to subtract point positions only point 0 of the grid points at the sphere and the rest at 0,0,0. The only way I found is to give the sphere exactly the same point count as the grid, but there must be a better way to achieve this effect. What I don't get is why the point of the sphere is not resampled for each point ( and the for loop does not seam to work for this problem either) any way around this problem with uneven point counts? cheers, Juri Quote Link to comment Share on other sites More sharing options...
JuriBryan Posted November 11, 2012 Share Posted November 11, 2012 (edited) allright..... I just answered my own question. the solution is a npoints node between the total point count of the global and the point number input of the import attribute. here is a hip giving you as many normals from any object pointing to a single point in space. cheers, Juri NormalControl.hipnc Edited November 11, 2012 by JuriBryan Quote Link to comment Share on other sites More sharing options...
petz Posted November 12, 2012 Share Posted November 12, 2012 allright..... I just answered my own question. the solution is a npoints node between the total point count of the global and the point number input of the import attribute. here is a hip giving you as many normals from any object pointing to a single point in space. cheers, Juri wire a constant with a value of 0 into the ptnum input if you want to import just one point. hth. petz Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.