adding grid of points on a surface
11648 11 2- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
- Skybar
- Member
- 166 posts
- Joined: 3月 2013
- Offline
- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
- Skybar
- Member
- 166 posts
- Joined: 3月 2013
- Offline
Oh, that looks strange. You could just increase the Rows/Columns on your Grid SOP as well. Or on your Subdivide SOP, turn on “override crease weight attribute” and pull it to the max.
edit: I suppose I didn't get that you have your own geometry. In that case you can just do the above, and then Ray SOP the points on the geometry. That is, create a grid above your geo, subdivide it, make it into points, and Ray SOP in negative Y.
edit: I suppose I didn't get that you have your own geometry. In that case you can just do the above, and then Ray SOP the points on the geometry. That is, create a grid above your geo, subdivide it, make it into points, and Ray SOP in negative Y.
- koen
- Member
- 793 posts
- Joined: 4月 2020
- Offline
- tamte
- Member
- 8860 posts
- Joined: 7月 2007
- Online
- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
ok, so the bricker option looks good too.
but the thing is that i'm getting geometry from maya
so this has to work on rotated geometry (see image)
I've noticed the angle option in the divide sop but I'm not sure what values are needed.. I would guess I need to use the normal of the plane and calculate this into angle values..
any tips on that?
thanks again!
(i've attached a simple setup)
but the thing is that i'm getting geometry from maya
so this has to work on rotated geometry (see image)
I've noticed the angle option in the divide sop but I'm not sure what values are needed.. I would guess I need to use the normal of the plane and calculate this into angle values..
any tips on that?
thanks again!
(i've attached a simple setup)
- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
- Skybar
- Member
- 166 posts
- Joined: 3月 2013
- Offline
- martinuz
- Member
- 11 posts
- Joined: 10月 2012
- Offline
- koen
- Member
- 793 posts
- Joined: 4月 2020
- Offline
To get the direction vectors, you can use a bound sop to create an oriented bounding box. Since you know the topology of the box, you can use the point numbers to construct an local coordinate system (for example x-axis = point3.pos - point0.pos, y-axis = point4.pos - point0.pos, etc)
These you can feed into an align vop (or sop) to axis align your geometry, run the bricker , and then run the inverse. You could also just extract the rotations from the matrix you get from the vop and plug those into the divide.
Anyways, I think you should get pretty far with the align vop and sop, or look at the extract transform obj if you have a rest position.
Have fun.
Koen
These you can feed into an align vop (or sop) to axis align your geometry, run the bricker , and then run the inverse. You could also just extract the rotations from the matrix you get from the vop and plug those into the divide.
Anyways, I think you should get pretty far with the align vop and sop, or look at the extract transform obj if you have a rest position.
Have fun.
Koen
-
- Quick Links