Hi
Lets say I have a set of 5 different geometry (objects).
I want to position them following a curve or a line or a circle.
Lets say, the object 1 at the point 1 of the curve, the point 2 at the point of the curve at so on.
For example if the pattern is a circle, they would look organized in a circle. But they need to keep being independent objects, because I have arrows point from and to them so I need to know their references.
I can do this using the function point, but I am having problems because I have hundreds of objects (geometry) , I think it is inefficient to write the expression for every single coordinate (X, Y,Z) of every single geometry. The geometry are different therefore I cannot use the copy SOP.
How can I do this? Any ideas? :?
Thanks
Ungria
How to organize geometry following a pattern?
6918 7 1- ungria
- Member
- 25 posts
- Joined: 7月 2005
- Offline
- george
- Member
- 276 posts
- Joined: 7月 2005
- Offline
Would Copy stamping help? Here's a link to an old tutorial, but it does still work I think. In conjunction with a Switch SOP, for example, you can use copy stamping to copy different geometry to the various points.
http://www.sidefx.com/community/learn/modeling/legacy/stamping.pdf [sidefx.com]
Take care,
George.
http://www.sidefx.com/community/learn/modeling/legacy/stamping.pdf [sidefx.com]
Take care,
George.
- ungria
- Member
- 25 posts
- Joined: 7月 2005
- Offline
- old_school
- スタッフ
- 2540 posts
- Joined: 7月 2005
- Offline
Before the Copy SOP, just add an Add Attribute SOP and create a primitive vector attribute, say centroid, and set it to $CEX, $CEY and $CEZ.
The mapping to the attribute should carry through the Copy SOP so you may even be able to use $CENTROID0 1 and 2 further on down the chain.
The mapping to the attribute should carry through the Copy SOP so you may even be able to use $CENTROID0 1 and 2 further on down the chain.
There's at least one school like the old school!
- hoknamahn
- Member
- 398 posts
- Joined: 7月 2005
- Offline
ungria, I do not know, which the function of the objects distribution on the geometry. But I think, that this example will give some ideas to you.
Check this scene http://www.cgtalk.ru/~hoknamahn/coord_func.hipnc [cgtalk.ru]
Check this scene http://www.cgtalk.ru/~hoknamahn/coord_func.hipnc [cgtalk.ru]
f = conserve . diffuse . advect . add
fx td @ the mill
fx td @ the mill
- ungria
- Member
- 25 posts
- Joined: 7月 2005
- Offline
It gives me a segmentation fault error!
I have been able to see some examples before. Here is the error message I get:
CP evalInt: Invalid parameter name picking
CP evalInt: Invalid parameter name tdisplay
CP evalInt: Invalid parameter name picking
CP evalInt: Invalid parameter name tdisplay
CP evalInt: Invalid parameter name tdisplay
Fatal error: Segmentation Fault
Saving application data to CDOCUME~1/ungria/LOCALS~1/Temp/ungria.hip
I am very new lerning Huodini, I am sorry for asking so much.
Thanks
Ungria
I have been able to see some examples before. Here is the error message I get:
CP evalInt: Invalid parameter name picking
CP evalInt: Invalid parameter name tdisplay
CP evalInt: Invalid parameter name picking
CP evalInt: Invalid parameter name tdisplay
CP evalInt: Invalid parameter name tdisplay
Fatal error: Segmentation Fault
Saving application data to CDOCUME~1/ungria/LOCALS~1/Temp/ungria.hip
I am very new lerning Huodini, I am sorry for asking so much.
Thanks
Ungria
HB
- madjestic
- Member
- 325 posts
- Joined: 7月 2005
- Offline
- the_squid
- Member
- 132 posts
- Joined: 7月 2005
- Offline
-
- Quick Links