Jump to content

Adding Help And An Icon To A Custom Rop


Recommended Posts

We've now got a nice custom ROP for exporting to the open-source graphics engine, Ogre. To finish it off, we'd like to add a custom icon and some built-in help. Could someone in the know point us at example code and/or documentation on these two topics? As always, any help is much appreciated.

Edited by dee900
Link to comment
Share on other sites

I tend to use gicon to make mine. They just need to be made of polys and then use the command line tool gicon to convert them to an icon format. You just give them the same name as your operator prefixed by the type, so in your case something like ROP_myRop. Then just place in your HOME directory in a config\Icons folder.

I'm not sure how you make icons out of pictures though, maybe houdini now read normal icon files in the same way, I haven't tried it.

Link to comment
Share on other sites

Thanks, that works nicely. I'm using a posterized version of the icon image along with the Trace SOP to create a decent .poly. One question, are you able to get different color shades in your icon? I tried adding point colours but still see a solid light grey. In contrast, the stock Houdini icons show black, white and shades inbetween.

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...