cool!thanks a again,tamte. What you mentioned really enlighten me!
For a more specific question: I can use rand(@ptnum)>0.5 to delete point in delete sop but I cannot use it in blast sop. Therefore,I have to use wrangle sop to use if statment and removepoints()function to do the same thing.
Do I have more convinient ways to do it use vex in the new sop? which new sop can provide the same function?
Found 66 posts.
Search results Show results as topic list.
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Great infos!
But it strikes me with anohter question: the old sops like delete sop can never use vex language? we put @ syntax but we acctually use hscript instead of vex?
But it strikes me with anohter question: the old sops like delete sop can never use vex language? we put @ syntax but we acctually use hscript instead of vex?
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Thanks tamte!
That's to say I cannot judge the language by the @ symbol but by the sop where I use it~ rand(@ptnum) could be a hscript when I use it in the delete SOP!
That's to say I cannot judge the language by the @ symbol but by the sop where I use it~ rand(@ptnum) could be a hscript when I use it in the delete SOP!
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Hi ndickson,
Thanks very much for your reply.I assumed that way too but I have one more question. As you said, when we use rand($PT) in delete sop, we use hscript,but what about rand(@ptnum)in delete sop? Is that considered to be hscript or vex? I would consider it as vex because the @ptnum signal.Therefore what casue the differences between rand(@ptnum) in delete sop and new group sop in houdini 16
Thanks very much for your reply.I assumed that way too but I have one more question. As you said, when we use rand($PT) in delete sop, we use hscript,but what about rand(@ptnum)in delete sop? Is that considered to be hscript or vex? I would consider it as vex because the @ptnum signal.Therefore what casue the differences between rand(@ptnum) in delete sop and new group sop in houdini 16
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Hi ndickson,
Thanks very much for your reply.I assumed that way too but I have one more question. As you said, when we use rand($PT) in delete sop, we use hscript,but what about rand(@ptnum)in delete sop? Is that considered to be hscript or vex? I would consider it as vex because the @ptnum signal.Therefore what casue the differences between rand(@ptnum) in delete sop and new group sop in houdini 16
Thanks very much for your reply.I assumed that way too but I have one more question. As you said, when we use rand($PT) in delete sop, we use hscript,but what about rand(@ptnum)in delete sop? Is that considered to be hscript or vex? I would consider it as vex because the @ptnum signal.Therefore what casue the differences between rand(@ptnum) in delete sop and new group sop in houdini 16
Technical Discussion » An interesting vex question between new and old sops in houdini
- carldrifter
- 66 posts
- Offline
Hi,
I have founded that when you use delete sop by entering the expression rand(@ptnum)or rand($PT),you get the same result.However,when you use wrangle for the same expression,you get a different result?
Can anyone explain why this hanppened?
besides,when you use the “old” sop(such as delete sop),you can use @Cd.r but in new blast sop,you can only use @Cd.x instead of @Cd.r.Why?
I have founded that when you use delete sop by entering the expression rand(@ptnum)or rand($PT),you get the same result.However,when you use wrangle for the same expression,you get a different result?
Can anyone explain why this hanppened?
besides,when you use the “old” sop(such as delete sop),you can use @Cd.r but in new blast sop,you can only use @Cd.x instead of @Cd.r.Why?
-
- Quick Links