Found 6 posts.
Search results Show results as topic list.
Houdini Lounge » the vop's constant node's icon makes me sometimes misreading
- goolyuyi
- 6 posts
- Offline
hi
the vop's constant node's icon makes me sometimes misreading it. because it looks like a actually value set in the node, but it's not, so I have to read carefully the blue text above with more attention.
could you plan to change it?
Edited by goolyuyi - 2023年1月30日 03:09:04
Technical Discussion » is there possible to grab elements attrib to array?
- goolyuyi
- 6 posts
- Offline
Andr
Since houdini 19, Attribute Promote Sop has implemented a useful "array of all" method. Which is faster than using setdetailattrib() vex function. Since you want to store @P.y, you should first create a dummy attribute 'Py' as typing directly @P.y in Attrib Promote won't work.
This will just get the values into an array, sorted by point order.
To sort them by value, you could use the sort() function.
Check also the argsort(), which returns the list of indices sorted by the their values.
Note: these functions can be very cpu intensive.
it make sense, thanks!
Technical Discussion » is there possible to grab elements attrib to array?
- goolyuyi
- 6 posts
- Offline
is there possible to grab elements attrib to array without any loop in VEX?
say if i’m running a vex snippet in detail mode. I want to get a sorted P.y attrs into an array
say if i’m running a vex snippet in detail mode. I want to get a sorted P.y attrs into an array
Technical Discussion » Python SOP vs Vex SOP?
- goolyuyi
- 6 posts
- Offline
I'm curious if these have the same performance level as Python SOP and Vex SOP.
Is it still compiled and optimized in the Attributes Wrangles?
Is it still compiled and optimized in the Attributes Wrangles?
Technical Discussion » What's different about hscript expression & expression func?
- goolyuyi
- 6 posts
- Offline
Hi,
Now I’m pretty confused about the expression function and hscript expression language.
From this doc: https://www.sidefx.com/docs/houdini/network/expressions.html, [www.sidefx.com] the expression’s syntax like the c language but from this doc:https://www.sidefx.com/docs/houdini/commands/_guide [www.sidefx.com] the expression likes the sh syntax.
My question is:
* Are they same things? Why there has two ref pages in help?(https://www.sidefx.com/docs/houdini/expressions/index.html [www.sidefx.com] and https://www.sidefx.com/docs/houdini/commands/index.html)
* If they aren’t why I can’t specify Houdini to use expression language explicitly?
Now I’m pretty confused about the expression function and hscript expression language.
From this doc: https://www.sidefx.com/docs/houdini/network/expressions.html, [www.sidefx.com] the expression’s syntax like the c language but from this doc:https://www.sidefx.com/docs/houdini/commands/_guide [www.sidefx.com] the expression likes the sh syntax.
My question is:
* Are they same things? Why there has two ref pages in help?(https://www.sidefx.com/docs/houdini/expressions/index.html [www.sidefx.com] and https://www.sidefx.com/docs/houdini/commands/index.html)
* If they aren’t why I can’t specify Houdini to use expression language explicitly?
Technical Discussion » Now I’m pretty confused about the expression function and hs
- goolyuyi
- 6 posts
- Offline
Hi,
Now I’m pretty confused about the expression function and hscript expression language. From this doc: https://www.sidefx.com/docs/houdini/network/expressions.html, [www.sidefx.com] the expression’s syntax like the c language but from this doc:https://www.sidefx.com/docs/houdini/commands/_guide [www.sidefx.com] the expression likes the sh syntax. My question is:
* Are they same things? Why there has two ref pages in help?(https://www.sidefx.com/docs/houdini/expressions/index.html [www.sidefx.com] and https://www.sidefx.com/docs/houdini/commands/index.html)
* If they aren’t why I can’t specify Houdini to use expression language explicitly?
Now I’m pretty confused about the expression function and hscript expression language. From this doc: https://www.sidefx.com/docs/houdini/network/expressions.html, [www.sidefx.com] the expression’s syntax like the c language but from this doc:https://www.sidefx.com/docs/houdini/commands/_guide [www.sidefx.com] the expression likes the sh syntax. My question is:
* Are they same things? Why there has two ref pages in help?(https://www.sidefx.com/docs/houdini/expressions/index.html [www.sidefx.com] and https://www.sidefx.com/docs/houdini/commands/index.html)
* If they aren’t why I can’t specify Houdini to use expression language explicitly?
-
- Quick Links