Jump to content

Customize the user interface of an asset


hopbin9

Recommended Posts

Hi all,

So I want to create a new type of light that allows the user to pick the projected texture from a list of images.

Has anyone seen this cool plugin for 3dsmax?

http://www.agtoolcompany.com/?products=slr-1-5-for-mental-ray#3

Now, I haven't used the plugin but I like how easy the interface looks to use.

Is it possible to create a UI like that for an asset in Houdini?

How would you assign a bitmap to a button?

Link to comment
Share on other sites

I found another light rig, this one is for C4D.

http://greyscalegorilla.com/lightkitpro/

Again, very cool. We need something like this for Houdini.

@rdg - thanks. What if I add a Houdini button to the parameters, and when the user clicks it I display a regular Python window with image buttons. Are you allowed to do your own Python windows in Houdini?

Link to comment
Share on other sites

PyQt needs to be installed for it to work, and that seems like overkill just to show some buttons.

Does Hython come with a GUI API.

Doing a quick Google search on the subject, there are a lot of UI frameworks for Python but couldn't see if Python comes with one by default.

Link to comment
Share on other sites

Hython is a 'replacement' for hbatch and meant to be run headless.

ah, of course that makes sense.

So that sucks then. We'll either have to install a Python library into the Houdini folder or keep the UI simple.

I guess I can just make the studio light rig as a normal asset, and worry about fancy UI features later.

Link to comment
Share on other sites

You could stick to the regular image picker now since it will show an image in the file gallery, and have a menu drop down with the list of images.

I hope you drive forward on this tool, because it would be a very useful tool to have, even with out a fancy ui.

Link to comment
Share on other sites

I second rdg - ui scripts with hooked callback functions is the way to go imho. Ui script allows to use native Houdini widgets together with ordinary HDAs. It's not that difficult to figure it out however you need to play around a bit with the docs examples.

Link to comment
Share on other sites

I hope you drive forward on this tool, because it would be a very useful tool to have, even with out a fancy ui.

I have a long list of failed assets that never got past the initial coding attempts, but I hope this one makes it to the testing phase at least.

This light rig has been on my wish list for a long time. Some many times I've been working on something and wanted to quickly light it and wished I had an easy to use and quick studio rig. So I know the need is there for it.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...