Hi ,
I have a question regarding the polywire example that ships with houdini. A point sop is used with Add alpha set and later on in a chain the attribute “ alpha is set to equal the width attribute”.
Why has the point sop's alpha been used ?. Would it not of been better to create an attribute first then have it = width.
Rob
Polywire example
5021 3 0-
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
-
- tamte
- Member
- 9416 posts
- Joined: July 2007
- Offline
you can directly use the width attribute
it seems to me that author of this example is more comfortable with point SOP than AttribCreate SOP, so he used it and since there is no width attribute in the point SOP he used Alpha and later he renamed it to width
also notice that the whole setup is more artist based and is lacking procedurality, but some things you acheive easier in non procedural way, especially if you know exactly what you want to create.
and there is no need for optimisation in this example, because it is evaluated only once and will not be animated, so a few unnecessary nodes won't hurt
Tomas
it seems to me that author of this example is more comfortable with point SOP than AttribCreate SOP, so he used it and since there is no width attribute in the point SOP he used Alpha and later he renamed it to width
also notice that the whole setup is more artist based and is lacking procedurality, but some things you acheive easier in non procedural way, especially if you know exactly what you want to create.
and there is no need for optimisation in this example, because it is evaluated only once and will not be animated, so a few unnecessary nodes won't hurt
Tomas
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- edward
- Member
- 8087 posts
- Joined: July 2005
- Offline
-
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
-
- Quick Links
