Exists ice operator to control visibility of components from object?
I need turn hide polygon islands from a Point in Volume. If not, I think scaling local components to zero, may be useful me. However, from topo ops I don't see how to make this.
Someone can help me?
Thanks!
Visibility component control.
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
I use this procedure, example for deformation by normal

But with pointNormal can't I set scale to 0. I looking effect like collapse components, or weld to target (average points center) but without destroy data, cos I have clusters and uv assingments to this geo.

But with pointNormal can't I set scale to 0. I looking effect like collapse components, or weld to target (average points center) but without destroy data, cos I have clusters and uv assingments to this geo.
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Visibility component control.
Check if this helps
https://www.si-community.com/forum/v ... =22&t=2489
https://www.si-community.com/forum/v ... =22&t=2489
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
Thanks Bullit
Yes, is useful for me this method, I think.
I need to scale points by polygon island, controlled by outside of volume of BBox object. Then I have a little issue with data type need in this method with Point in Volume operator. This wants PointPosition data and I have to get My_Index that is a array data (i think). I'm thinking use some like filter self.PointPosition with self.My_index, but I don't have how to build this.
Yes, is useful for me this method, I think.
I need to scale points by polygon island, controlled by outside of volume of BBox object. Then I have a little issue with data type need in this method with Point in Volume operator. This wants PointPosition data and I have to get My_Index that is a array data (i think). I'm thinking use some like filter self.PointPosition with self.My_index, but I don't have how to build this.
You do not have the required permissions to view the files attached to this post.
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
I find one way to make this with Select in Array
Now I need how to scale points from each polygon islands, to its local center, like a scale local components to zero.
In this example a deform by PositionNormal would be valid, cos boxes have same offset distance points, but in the real case I have non-equilateral prisms.
I think would find center of these polygon islands,... some hint to do this?
Thanks a lot!
In this example a deform by PositionNormal would be valid, cos boxes have same offset distance points, but in the real case I have non-equilateral prisms.
I think would find center of these polygon islands,... some hint to do this?
Thanks a lot!
You do not have the required permissions to view the files attached to this post.
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Visibility component control.
You are deleting not changing visibility. So it is a 0 exist or 1 doesn't exists isn't it?
Maybe a scale by normal?
Maybe a scale by normal?
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
Yes, in this example I use delete vertex, but is only for testing point in volume and see if affect to polygon island.
Yes it is, 0 exists and 1 no exists.
I was already tried scale with a get self.PointPosition and get self.PointNormal Multiplied by Scalar an Add both values, but scale by point normals is not valid for me.
I think, I will need find center of points array for each polygon island and then move all its points to this center...
Translating this to ICE procedure is a little bit hard for me, at least without some hint or guideline.
The visibility control would be more correct, but I will export with alembic and visibility properties I don't sure if are supported. Then I'm prefer scale components to 0.
Yes it is, 0 exists and 1 no exists.
I was already tried scale with a get self.PointPosition and get self.PointNormal Multiplied by Scalar an Add both values, but scale by point normals is not valid for me.
I think, I will need find center of points array for each polygon island and then move all its points to this center...
Translating this to ICE procedure is a little bit hard for me, at least without some hint or guideline.
The visibility control would be more correct, but I will export with alembic and visibility properties I don't sure if are supported. Then I'm prefer scale components to 0.
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
Finally I find how to get barycenter of a selection points, and then scaling over this center.
http://vimeo.com/m/99766743
However this I do it handly with a cluster points selection.
Now I want to do the same but input points have must been a point array from polygon islands.
I get data for polygon island from the method of link above in this thread.
In essence, making a array container and fill with get Point.Location plus Point.Neighbors and Set.Data My._MyIndex.
Then i think that I have a Index points for polygon islands, and I need set Point.Positions from these index.
I try with Index to Location method here: this but don't find the correct solution for scaling over barycenter of each polygon island.
http://vimeo.com/m/99766743
However this I do it handly with a cluster points selection.
Now I want to do the same but input points have must been a point array from polygon islands.
I get data for polygon island from the method of link above in this thread.
In essence, making a array container and fill with get Point.Location plus Point.Neighbors and Set.Data My._MyIndex.
Then i think that I have a Index points for polygon islands, and I need set Point.Positions from these index.
I try with Index to Location method here: this but don't find the correct solution for scaling over barycenter of each polygon island.
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Visibility component control.
You have to get per poly islands otherwise you can't do anything with them i think.
Check if this helps
http://julianjohnsonsblog.blogspot.pt/2 ... lands.html
also this
http://blog.goo.ne.jp/m4g/e/9c994efc54a ... 8e393a4d81
Check if this helps
http://julianjohnsonsblog.blogspot.pt/2 ... lands.html
also this
http://blog.goo.ne.jp/m4g/e/9c994efc54a ... 8e393a4d81
-
Unaided
- Posts: 62
- Joined: 26 Feb 2014, 15:35
Re: Visibility component control.
I sure emTools are greatest tool to work with poly islands, and more, but I would like don't have to use external plugins.
With this method, Random color on polygon Island, get a polygon islands. I think that with Select in Array is correct to get index points of islands, from self.PointPosition, but Get Set Average from Select in Array is computing average of all points on mesh, and no average points for each island.
With this method, Random color on polygon Island, get a polygon islands. I think that with Select in Array is correct to get index points of islands, from self.PointPosition, but Get Set Average from Select in Array is computing average of all points on mesh, and no average points for each island.
You do not have the required permissions to view the files attached to this post.