Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Search the Community

Showing results for tags 'gui'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 6 results

  1. Hi guys! Just want to share with you some of my experiments. huilib - is a simple python wrapper around houdini .ui language. It was written "just for fun", so no warranty if it works for you. But i think it's pretty usable for simple ui, in situation, when PyQt is not an option Maybe someday we'll see something similar from sesi Feel free to use it. https://bitbucket.org/alexxbb/huilib/overview
  2. Hi guys, This has boggled my mind for a while now. I have a OTL that has a tool script attached to it (Type Properties > Tool section), that evokes a PySide interface. The problem is that when I run the tool a few times, every single time a new instance of the interface is being opened, while the old one is still alive. So I'm ending up with lots of open windows of the same tool after a while which is super annoying. How can I prevent this from happening? I want to have only one single instance running at a time, basically close the old window if the tool is run again. Here's a really simple example that we could use as a test case. (Same problem if I run it as a shelf tool) from PySide import QtGui, QtCore class Window(QtGui.QWidget): """Simple Test""" def __init__(self): super(Window, self).__init__() self.setGeometry(50, 50, 500, 300) self.setWindowTitle("test") self.home() def home(self): btn = QtGui.QPushButton("Test Button") a_label = QtGui.QLabel("Test Label") qvbox = QtGui.QVBoxLayout() qvbox.addWidget(btn) qvbox.addWidget(a_label) qvbox.insertStretch(2) self.setLayout(qvbox) def run(self): self.show() main = Window() main.run() Some where I read that using the QEventLoop might help to detect running instances with hou.ui.eventLoopCallbacks(), but after trying some stuff for a few hours, I'm at my wits end. Help here would be much appreciated Thanks!!!
  3. ... is there some deeper story behind this? GUI_PolySoupBox(const GR_RenderInfo *info, const char *cache_name, const GEO_Primitive *prim); and then GUI_PolySoupBox::GUI_PolySoupBox(const GR_RenderInfo *info, const char *cache_name, const GEO_Primitive *prim) : GR_Primitive(info, cache_name, GA_PrimCompat::TypeMask(0)) ?Still not ticking? Lets continue GR_Primitive constructor takes (const GR_RenderInfo* info, const char* cachename, GEO_PrimTypeCompat::TypeMask primitivetype) GUI_PolySoupBox last argument is const GEO_Primitive *prim and we are setting GR_Primitive last argument as GA_PrimCompat::TypeMask(0) I don't see const GEO_Primitive *prim being used anywhere, but I could miss something, so what's the point?Maybe the point of this is to make something like return new GUI_PolySoupBox(info, cache_name, GA_PrimCompat::TypeMask(prim->getTypeId().get())); instead of return new GUI_PolySoupBox(info, cache_name, prim); ?Every GUI example in HDK docs have this. Thanks! BTW: What is this GA_PrimCompat::TypeMask? Is there some enum anywhere with values for this that I can use? BTW2: Looking at GUI_PolySoupBoxHook::createPrimitive(), there is a check for type of the GEO primitive, then we create new GUI_PolySoupBox() so it would be logical to set GA_PrimCompat::TypeMask instead of passing const GEO_Primitive.
  4. Is it possible to have a standalone window dialog that does more than just read input or multi-input using python? For instance, can I have a dialog that reads multi input, has a node selection tree, and uses the button as a function call rather than closing the window? Or have a checkbox option within the GUI?
  5. Hi Guys, cmivfx.com just released my latest training, I know this would be very useful, the content is amazing, I'm very proud of what I did, hope you guys like it. Thank you https://vimeo.com/97522457 cmivfx.com/store/597-Houdini+Python+Character+Picker cmiVFX brings you a brand new and improved Houdini Python Character Picker using PySide, this series will bring to you the tools to tackle everything you need to know to take advantage of the amazing Qt Framework + Houdini Combo, by using the Qt Python binding PySide, you can do everything your artist can imagine. Every studio in the work requires to develop custom tools to serve project, which makes repetitive, complex tasks easier and more productive, also helps you extend the standard tools and having a great interface for it that can be made really quick and looks just like any other tool in Houdini thanks to the great python integration. So this is not just a simple tutorial, this is career building information. Short Description Get ready to polish your custom tool chops, here you’ll learn everything you need to know to take advantage of the amazing Qt Framework, that will interface throw the incredible and open source PySide Python bindings. You’ll learn how to work as you’re used to work in python and take full advantage without any restriction to both Houdini and the Qt Framework, there’s is no limit of what you can achieve and the most important part is, your animators are going to be so happy and they will work more, so let’s dive in and start creating amazing tools and making artist happy.
  6. Hello, all. Anybody know houdini have checkbox element in library of functions. I understand that i can take pyqt, but gui for my script very simple and i need only checkbox and buttons. Thanks