Annon Posted December 11, 2012 Share Posted December 11, 2012 I have a bit of time to dig deeper into Python and was wondering if it's worth me having a go at PyQT. As I'm not a pipeline developer I've avoided it so far and just use the default houdini parameters, but if I can extend it to something like the example I've included then I'll have a good look at it. Thanks Christian Quote Link to comment Share on other sites More sharing options...
ehsan parizi Posted December 11, 2012 Share Posted December 11, 2012 I've done some PyQt before, and I think you can make something like your example pic, but based on my experience, it's not very python-like! and it was a little strange to me. Anyway, personally, I'd avoid it as much as I can, but it is a powerful ui development tool anyway. Quote Link to comment Share on other sites More sharing options...
Annon Posted December 11, 2012 Author Share Posted December 11, 2012 Hmmm, I just haven't seen anything like that done in PyQT before, so not entirely sure it's possible without really coding it, which I don't want to get into. Basically i'm thinking of making my own light for pbr that only has the kelvin range of colors with a bit of tint (like the image). Maybe I can just use the lookup to color a picker. Something like that anyway... Haven't really put a lot of thought into how I'm actually going to achieve it yet. Quote Link to comment Share on other sites More sharing options...
Solitude Posted December 12, 2012 Share Posted December 12, 2012 (edited) I think pyqt is great. The only real downside is the lack of docking in the interface. Your ui will have to float on top of Houdini, so this would never show up with your other parameters. I played with the qslider and a 'stylesheet' very briefly after seeing this: http://thesmithfam.org/blog/2010/03/10/fancy-qslider-stylesheet/ I was able to get the color on both sides, but the gradient scaled with the handle. Couldn't quite figure out how to get it to be 'static', but that shouldn't be hard to figure out either by adjusting the gradient based on the handle location, or just finding a way to get it to stick. I'm sure it's possible somehow. Other option would probably involve be using qgraphics modules and building it from scratch. Still, with some fiddling it should totally be possible. Edited December 12, 2012 by Solitude Quote Link to comment Share on other sites More sharing options...
Annon Posted December 12, 2012 Author Share Posted December 12, 2012 Cool, thanks for pointing me in the right direction. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted December 12, 2012 Share Posted December 12, 2012 PyQt will do as much as you want to learn how to do. Even as far as your own scratch built viewports rendered with OpenGL if you want. Whether or not the time investment is worth it is up to you. For most Houdini users I'd say it's probably not worth it because Houdini's interface tools are sufficient in almost all cases. If you just want to learn it because you want to learn it then go for it because there are many uses for PyQt besides Houdini tools. 1 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.