hi!
I want by side edges to select primitive,like Slio ,Such as select all four sides face, or any sides face, how can i do?
How to select the primitive by side edges
12363 14 0- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
- ophiuchus42
- Member
- 39 posts
- Joined: July 2005
- Offline
Hi, there. Access to edge information is pretty limited except maybe through the HDK so I don't know of a way of selecting based on number of edges. However, if you are using polygons, you can achieve a similar result by selecting based on number of vertices. For example, in a Group SOP, Change it to “Group by Expression”, and use an expression like “$NVTX == 3” to select primitives with 3 vertices.
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
ophiuchus42
Hi, there. Access to edge information is pretty limited except maybe through the HDK so I don't know of a way of selecting based on number of edges. However, if you are using polygons, you can achieve a similar result by selecting based on number of vertices. For example, in a Group SOP, Change it to “Group by Expression”, and use an expression like “$NVTX == 3” to select primitives with 3 vertices.
Why not work on the sphere?
- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
- ophiuchus42
- Member
- 39 posts
- Joined: July 2005
- Offline
Ha ha, oops. I guess it doesn't always work. In this case it looks like all the polygons in the sphere are generated with four vertices, but for the primitives on the top and bottom, two of the vertices share the same point, so they have 4 vertices, and 3 edges. If you drop down a fuse SOP (use the default consolidate mode) after the sphere, the extra vertices are removed and it should work as advertised…
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
- edward
- Member
- 7766 posts
- Joined: July 2005
- Offline
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
edwarddonghongzi
I do not fully understand,three point can have four vertex?
Picture a quad with one of the edges with 0 length, where two of points have the same position.
thanks edward, yes..I get…but this way there are two points is not it? sphere only a single point,my point is sphere above and below the point of whether the four sides face?but they appear to be triangles,and ophiuchus42 said they have four vertices, triangles have four vertices it? Or that they are the four sides face?
- edward
- Member
- 7766 posts
- Joined: July 2005
- Offline
- tamte
- Member
- 8635 posts
- Joined: July 2007
- Offline
if you move point 0, you can clearly see that there is no other point there so the polygons should be triangles
but if you look at the spreadsheet, you can see that polygons are defined like quads using 2 times the same point
for example for face 0
vtx 0 is using point 0
vtx 1 is using point 0
vtx 2 is using point 3
vtx 3 is using point 2
so by number of vertices they can be called quads
so answer to your question is Yes, 3-point polygon can have 4 vertices
but if you look at the spreadsheet, you can see that polygons are defined like quads using 2 times the same point
for example for face 0
vtx 0 is using point 0
vtx 1 is using point 0
vtx 2 is using point 3
vtx 3 is using point 2
so by number of vertices they can be called quads
so answer to your question is Yes, 3-point polygon can have 4 vertices
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- donghongzi
- Member
- 27 posts
- Joined: Nov. 2010
- Offline
-
- Quick Links