Hello,
I have stumbled today upon an issue gently “hidden” in the very first video tutorial listed in houdini help (ui_intro.mov). The tutorial shows how to break a text into letters, and then do some RBD stuff. I'd like to dig deeper into the first part: breaking the text. Here is the setup:
txt = hou.node('/obj').createNode('geo',run_init_scripts=False)
fon = txt.createNode('font')
fon.parm('text').set('012345')
con = txt.createNode(“connectivity”)
con.setFirstInput(fon)
con.moveToGoodPosition()
par = txt.createNode('partition')
par.setFirstInput(con)
par.moveToGoodPosition()
par.parm('rule').set('letter_$CLASS')
xf = txt.createNode('xform')
xf.setFirstInput(par)
xf.moveToGoodPosition()
xf.setDisplayFlag(True)
xf.setRenderFlag(True)
xf.parm('tz').set(-1)
#the following results in characters “3” and “4” being transformed
xf.parm('group').set('letter_0 letter_4')
So far so good. Two questions:
- how to deal with multi-part letters, like “i” or “!”? They are broken into separate objects by the above network
- how (if possible at all) to force the groups to be created in the order of the individual letters? so that letter_0 is always the first character?
I assume the above is doable with a bit more python scripting, by splitting the text into individual letters fist, and converting each letter into a group, but maybe there is a shortcut way - some way to set up the nodes in such a way that the connectivity will recognize the letters, rather than shapes?
Thanks for any hints,
Greg
Found 122 posts.
Search results Show results as topic list.
Technical Discussion » Breaking text into letters - the case of "!"
- aiworks
- 130 posts
- Offline
Technical Discussion » Question about display !
- aiworks
- 130 posts
- Offline
It's actually quite weird - you should be able to press “d” over the 3d viewport, and on the “guides and markers” tab select how you want the normal, selected, templated, etc. geometry displayed - I've just tried setting different options for other than “normal geometry” categories, and it doesn't seem to work at all (10..323 Ubuntu x64)! A bug?
Greg
Greg
Houdini Lounge » Houdini Certification - where and how?
- aiworks
- 130 posts
- Offline
Hi Robert,
Thanks for your reply. I'll be awaiting some more news on the web at the beginning of August, and then I'll be sorting out my further questions - if any stay unanswered ;-) - directly with Aliza. Too bad I can't be at the siggraph.
Greg
Thanks for your reply. I'll be awaiting some more news on the web at the beginning of August, and then I'll be sorting out my further questions - if any stay unanswered ;-) - directly with Aliza. Too bad I can't be at the siggraph.
Greg
Technical Discussion » Laptop with OpenGL?
- aiworks
- 130 posts
- Offline
Houdini Lounge » Houdini install hangs on Windows 7...
- aiworks
- 130 posts
- Offline
I've had no problems installing H10.0.323 on Win7 x64. Seems to run smoothly, too.
Cheers,
Greg
Cheers,
Greg
Houdini Lounge » Houdini Certification - where and how?
- aiworks
- 130 posts
- Offline
Sidefx website used to have a dedicated page with some info about certification: http://www.sidefx.com/education/certification/index.html [sidefx.com]
Now the page is dead, and the most recent forum post I found dates back to 2005. Are there any recent guidelines for Houdini certification anywhere on the website? Does Sidefx still offer some certification exams?
Thanks,
Greg
Now the page is dead, and the most recent forum post I found dates back to 2005. Are there any recent guidelines for Houdini certification anywhere on the website? Does Sidefx still offer some certification exams?
Thanks,
Greg
Technical Discussion » Laptop with OpenGL?
- aiworks
- 130 posts
- Offline
Hi,
I'm running Houdini on both Windows 7 x64 and Ubuntu 9.04 x64 on MSI GX-620, both single and dual screen - and not a single complaint from the software.
Cheers,
Greg
I'm running Houdini on both Windows 7 x64 and Ubuntu 9.04 x64 on MSI GX-620, both single and dual screen - and not a single complaint from the software.
Cheers,
Greg
Technical Discussion » How to invoke a tool from a shelf via Python scripting
- aiworks
- 130 posts
- Offline
Hi Graham,
Huge thanks!
While I managed to figure out the first part of your explanation myself, I gave up with Ctr/Cmd+LMB.
The “Edit Tool” is a fantastic learning tool indeed - helped me figure out that e.g. the new light created with python simply defaults to point, but I can change the type myself with one line of code code.
Thanks again,
Greg
Huge thanks!
While I managed to figure out the first part of your explanation myself, I gave up with Ctr/Cmd+LMB.
The “Edit Tool” is a fantastic learning tool indeed - helped me figure out that e.g. the new light created with python simply defaults to point, but I can change the type myself with one line of code code.
Thanks again,
Greg
Technical Discussion » How to invoke a tool from a shelf via Python scripting
- aiworks
- 130 posts
- Offline
Technical Discussion » How to invoke a tool from a shelf via Python scripting
- aiworks
- 130 posts
- Offline
Thanks, Whalerider,
I've checked these HOM examples (as well as the others), but I still fail to find an answer to the issue - I just can't see it in the example code. All of the examples seem to deal with processing individual network nodes, and I'm looking for a way to access a tool shelf.
If it's not a problem, could you show me the Python code required to create a camera? That would probably lead me to all other answers I'm looking for in this topic.
Cheers,
Greg
I've checked these HOM examples (as well as the others), but I still fail to find an answer to the issue - I just can't see it in the example code. All of the examples seem to deal with processing individual network nodes, and I'm looking for a way to access a tool shelf.
If it's not a problem, could you show me the Python code required to create a camera? That would probably lead me to all other answers I'm looking for in this topic.
Cheers,
Greg
Technical Discussion » How to invoke a tool from a shelf via Python scripting
- aiworks
- 130 posts
- Offline
Hello,
Creating new nodes with Python is quite straightforward. Is there a way to use Python to call a tool from any of the shelves, that would create the whole subnet in one go? For example, is the following possible with one-liners in Python:
- add a camera
- convert an object into an RBD object
If the above is doable, is there a way to call from python an equivalent of Ctrl+Lclicking a tool - e.g. to place the camera at current viewpoint?
I'll appreciate any hints.
Greg
Creating new nodes with Python is quite straightforward. Is there a way to use Python to call a tool from any of the shelves, that would create the whole subnet in one go? For example, is the following possible with one-liners in Python:
- add a camera
- convert an object into an RBD object
If the above is doable, is there a way to call from python an equivalent of Ctrl+Lclicking a tool - e.g. to place the camera at current viewpoint?
I'll appreciate any hints.
Greg
Technical Discussion » Downloads gone wild
- aiworks
- 130 posts
- Offline
It might be just my end of the ethernet cable that is behaving strangely, but it seems to me that the downloads page now suggests that 9.5 is the current production build ;-)
Cheers,
G.
Cheers,
G.
Technical Discussion » How to select all linked faces
- aiworks
- 130 posts
- Offline
Thanks Allegro & Arctor,
That's what I have been looking for. And yes, I meant the King's Treasure one.
Greg.
That's what I have been looking for. And yes, I meant the King's Treasure one.
Greg.
Technical Discussion » How to select all linked faces
- aiworks
- 130 posts
- Offline
Hello,
I've been trying to find it out for some time without success answers to some - very basic - poly modeling questions. I'd be grateful for some help with the following:
(1) how can I select all linked faces within a geometry, and only the linked faces? I found a clumsy way: select a face, and then keep growing selection, but that is far from efficient.
(2) how can I move a geometry SOP between two geometry objects? Say I want to move that torus I accidentally created as separate object into another object.
(3) I know it's counter-procedural, but how can I merge all SOPs in a polygonal object into one node? The only way I found is by exporting the geometry into a non-procedural format and importing it again.
My questions come from trying to deal with imported geometry - precisely the most recent cg lighting challenge entry, which has the whole scene, with plenty of objects in a single obj or bgeo file.
Thanks for all help,
Greg
I've been trying to find it out for some time without success answers to some - very basic - poly modeling questions. I'd be grateful for some help with the following:
(1) how can I select all linked faces within a geometry, and only the linked faces? I found a clumsy way: select a face, and then keep growing selection, but that is far from efficient.
(2) how can I move a geometry SOP between two geometry objects? Say I want to move that torus I accidentally created as separate object into another object.
(3) I know it's counter-procedural, but how can I merge all SOPs in a polygonal object into one node? The only way I found is by exporting the geometry into a non-procedural format and importing it again.
My questions come from trying to deal with imported geometry - precisely the most recent cg lighting challenge entry, which has the whole scene, with plenty of objects in a single obj or bgeo file.
Thanks for all help,
Greg
Houdini Indie and Apprentice » Mouse cursor over 3d view problem on Mac - Houdini 10
- aiworks
- 130 posts
- Offline
You can download daily builds, too via Support -> Download, just log on to the website to see them all.
Cheers,
Greg
Cheers,
Greg
Technical Discussion » Quickly selecting viewport in split-view - how?
- aiworks
- 130 posts
- Offline
Thank you! Now it works great.
This has also fixed quite annoying issue of the hand-cursor in the network pane - now the pointer reverts back to an arrow 8)
Thanks again,
Greg
This has also fixed quite annoying issue of the hand-cursor in the network pane - now the pointer reverts back to an arrow 8)
Thanks again,
Greg
Houdini Lounge » I need some Laptop Help!
- aiworks
- 130 posts
- Offline
Hi Kenny,
I've been using for some time now H10 on MSI GX 620, both on Win and on Linux - runs fine on both systems, either in single or in multi-monitor setup.
Seems to be running smoother on Ubuntu than on Vista, but this may be just my subjective feeling.
Cheers,
Greg
I've been using for some time now H10 on MSI GX 620, both on Win and on Linux - runs fine on both systems, either in single or in multi-monitor setup.
Seems to be running smoother on Ubuntu than on Vista, but this may be just my subjective feeling.
Cheers,
Greg
Technical Discussion » Quickly selecting viewport in split-view - how?
- aiworks
- 130 posts
- Offline
Thanks,
Nowadays x (and space x) seems to be snap to grid.
I've discovered that clicking a mouse anywhere on the display/cam menu also selects the viewport WITHOUT marking it active (i.e. no change of color of the display/cam menu). A bug?
Nowadays x (and space x) seems to be snap to grid.
I've discovered that clicking a mouse anywhere on the display/cam menu also selects the viewport WITHOUT marking it active (i.e. no change of color of the display/cam menu). A bug?
Technical Discussion » Quickly selecting viewport in split-view - how?
- aiworks
- 130 posts
- Offline
Hello,
I have been recently trying to do some work using the split-view setup. Everything looks good, except I can't figure a way to quickly select a viewport I want to work with. I found two ways to select the viewport: (a) by using the display context menu, and (b) by using the “n” shortcut key, which would be fine, if it weren't necessary to position the mouse in a very small area, where the context is right and the key works.
Is there a way to force the viewport-select shortcut key to work all over each viewport area, rather than just over the display & cam menus?
And, is there a config option to activate each view in the split-view layout automatically, upon clicking/performing any action with the mouse in a given viewport? This is the behavior typical to other 3D apps, so I'd assume that SideFX must have had a good reason to decide for a more explicit viewport selection - I wonder why this way?
Thanks,
Greg
I have been recently trying to do some work using the split-view setup. Everything looks good, except I can't figure a way to quickly select a viewport I want to work with. I found two ways to select the viewport: (a) by using the display context menu, and (b) by using the “n” shortcut key, which would be fine, if it weren't necessary to position the mouse in a very small area, where the context is right and the key works.
Is there a way to force the viewport-select shortcut key to work all over each viewport area, rather than just over the display & cam menus?
And, is there a config option to activate each view in the split-view layout automatically, upon clicking/performing any action with the mouse in a given viewport? This is the behavior typical to other 3D apps, so I'd assume that SideFX must have had a good reason to decide for a more explicit viewport selection - I wonder why this way?
Thanks,
Greg
Technical Discussion » Setting Hot Keys
- aiworks
- 130 posts
- Offline
I found it useful to get a habit of always using SPACE + the default hotkeys for viewport selection (1, 2, 3…), as raw numbers work only in view mode.
-
- Quick Links