magneto Posted January 21, 2012 Share Posted January 21, 2012 I am talking about the 3 controls that are added to a VEX operator called "number of threads", "edit vex function", "reload vex function". I tried this: #pragma hint vex_numthreads invisible #pragma hint vex_edit invisible also: #pragma hint vex_numthreads hidden #pragma hint vex_edit hidden but it returns a "bad pragma instruction" error. Any ideas? Thanks. Quote Link to comment Share on other sites More sharing options...
symek Posted January 21, 2012 Share Posted January 21, 2012 You could colapse a node into subnet, craete an asset from that, and promote only desirable parameters, although I'm not sure why you don't like extra params... 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted January 21, 2012 Author Share Posted January 21, 2012 I like them I was just thinking if I were to expose my operator to an artist, then the threading stuff wouldn't be something they use I think or need to see. I actually tried the subnet as a test but doing that makes some of the pragmas redundant. So I need to come up with a good convention. Quote Link to comment Share on other sites More sharing options...
lisux Posted January 23, 2012 Share Posted January 23, 2012 I am talking about the 3 controls that are added to a VEX operator called "number of threads", "edit vex function", "reload vex function". I tried this: #pragma hint vex_numthreads invisible #pragma hint vex_edit invisible also: #pragma hint vex_numthreads hidden #pragma hint vex_edit hidden but it returns a "bad pragma instruction" error. Any ideas? Thanks. This is one of the main reasons I prefer to use an Inline VOP and do all the parameter stuff using a Parameter VOP. Dealing with pragmas is a nightmare. Quote Link to comment Share on other sites More sharing options...
rdg Posted January 23, 2012 Share Posted January 23, 2012 I was just thinking if I were to expose my operator to an artist, then the threading stuff wouldn't be something they use I think or need to see. not having the option only limits our options at source. You ever used any of this in production and tried fixing your crashing operator without access to the threading option? Quote Link to comment Share on other sites More sharing options...
magneto Posted January 23, 2012 Author Share Posted January 23, 2012 @lisux: Unfortunately I found out that VEX is missing some UI functionality that works using VOPs. Pragma join does not work for menus, but Parameter VOPs allow this. I filed a bug but they said it's by design. IMO VEX should have all VOPs have and more, as I thought it was a superset of VOPs. @rdg: What problem is this? If it's a threading error introduced by the author of the operator, then it's his fault anyway and he should be fixing it. 1 Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted January 23, 2012 Share Posted January 23, 2012 @lisux: Unfortunately I found out that VEX is missing some UI functionality that works using VOPs. Pragma join does not work for menus, but Parameter VOPs allow this. I filed a bug but they said it's by design. IMO VEX should have all VOPs have and more, as I thought it was a superset of VOPs. @rdg: What problem is this? If it's a threading error introduced by the author of the operator, then it's his fault anyway and he should be fixing it. That's why lisux said you should use an Inline VOP for your code and build parameters with regular VOP nodes. Quote Link to comment Share on other sites More sharing options...
Macha Posted January 23, 2012 Share Posted January 23, 2012 Houdini users should be smart enough to enable/disable/set threads. One of the beautiful things about this is that we should't build black boxes, grey perhaps, but not black and users should be able to manipulate or extend the insides. Quote Link to comment Share on other sites More sharing options...
magneto Posted January 23, 2012 Author Share Posted January 23, 2012 @Erik: I know but I don't want a limitation like this to dictate the development environment for a new operator. So I am not gonna use align the menus of course. @Macha, I agree, but 100+ artists (Max & Maya) I support daily as part of my job shows that more than most are not. Quote Link to comment Share on other sites More sharing options...
lisux Posted January 24, 2012 Share Posted January 24, 2012 Houdini users should be smart enough to enable/disable/set threads. One of the beautiful things about this is that we should't build black boxes, grey perhaps, but not black and users should be able to manipulate or extend the insides. Well it depens of the situation. If you are building a general tool for the studio I agree it could be a grey box. If a tool for a specific task in a project I am a big fan of super black boxes. Dont take me wrong, I dont trust users Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.