Found 63 posts.
Search results Show results as topic list.
Technical Discussion » Global UI callback.
- mrice
- 89 posts
- Offline
Yes, have a look at the hou.ui module, there are methods to add, remove and query callbacks.
Technical Discussion » menu scripts in HOM (or hscript if there's a way)
- mrice
- 89 posts
- Offline
Hi
It seems that the item_generator_script parameter for hou.MenuParmTemplate doesnt work. Is there any way around that? I've tried wrapping opspareds but so far I cant get it to behave. I need to add a menu to an existing folder, and
opspareds 'group { name “existing_folder” label “existing_folder_name” parm { …. } }
zaps all the spare parameters from my node and adds the folder and parameter in a “Spare” tab.
please help!
It seems that the item_generator_script parameter for hou.MenuParmTemplate doesnt work. Is there any way around that? I've tried wrapping opspareds but so far I cant get it to behave. I need to add a menu to an existing folder, and
opspareds 'group { name “existing_folder” label “existing_folder_name” parm { …. } }
zaps all the spare parameters from my node and adds the folder and parameter in a “Spare” tab.
please help!
Technical Discussion » How can I pass a string array into a shader?
- mrice
- 89 posts
- Offline
And it looks like vex arrays arent exposed in the HDK?
If they were it it should be no problem to write a vexop that could tokenize a list of textures.
If they were it it should be no problem to write a vexop that could tokenize a list of textures.
Houdini Lounge » possible to interactive update pyqt4 gui?
- mrice
- 89 posts
- Offline
In your code you check the value of the slider when MainWindow is initialized, but there has to be some kind of refresh during the event loop. You could go about that in different ways. Here's an example using a timer that will refresh the checkbox once per event loop cycle.
best,
Michael
best,
Michael
Houdini Lounge » how to set node hotkeys ?
- mrice
- 89 posts
- Offline
Yeah that works, kewel
edward
I haven't tried this in a while now, but if you create your own shelf with those tools, you should be able to edit them and explicitly set a hotkey for them.
Houdini Lounge » how to set node hotkeys ?
- mrice
- 89 posts
- Offline
You could do this with a python script running in the background that can intercept keypresses, but I dont think there's a way which works cross-platform. Python-xlib on linux, wxpython *should* work on windows, not sure about os x.
Technical Discussion » dop popobject & substeps
- mrice
- 89 posts
- Offline
Can anyone explain that when a popobject is used as a source for volume fluids, why the min/max substeps on the fluid solver don't affect that part of the simulation, and the pop source is only evaluated at the dop network substep?
I know I've seen an answer to this but I cant find it now.
I know I've seen an answer to this but I cant find it now.
Houdini Lounge » For all those dealing with clients...
- mrice
- 89 posts
- Offline
Technical Discussion » procedurally create unique HDA definitions?
- mrice
- 89 posts
- Offline
edward
Did you try using hou.Node.changeNodeType() ?
I did, but I hadnt connected the dots
So now something like this works from the interpreter:
myAsset.type().definition().copyToHDAFile(“Embedded”, myAsset.name(), myAsset.name())
myAsset.changeNodeType(myAsset.name())
But when I call hou.Node.changeNodeType() from a HDA, even in a simple test case, I get an error:
Traceback (most recent call last):
File “object_template_hda”, line 3, in <module>
File “toolutils.py”, line 603, in new_func
return function(*args, **kwargs)
File “objecttoolutils.py”, line 134, in genericTool
return toolutils.genericTool(scriptargs, nodetypename, nodename)
File “toolutils.py”, line 603, in new_func
return function(*args, **kwargs)
File “toolutils.py”, line 701, in genericTool
newnode.runInitScripts()
File “/home/prisms/builder-new/Nightly10.0.249/dev/hfs/houdini/scripts/python/hou.py”, line 3350, in runInitScripts
return _hou.Node_runInitScripts(*args)
InitScriptFailed: Node initialization script failed.
Any ideas?
Technical Discussion » procedurally create unique HDA definitions?
- mrice
- 89 posts
- Offline
I'm wondering if the following is possible:
I want to have a template HDA loaded into a hip file, but every time it gets used a unique definition for that particular asset is created that can be modified without affecting other instances. Ideally each new instance would be saved embedded into the scene.
I've looked at ways to do this using the onCreated handler with no luck. From what I've gathered, hou.HDADefinition.copyToHDAFile() doesnt update the current asset to use the new definition, and I dont see any way of doing that. And hou.HDADefinition.save() affects all instances using the same definition.
I suppose another way of doing this would be via a shelf script that creates a new asset from scratch, but it would be great if there were a way to generate a new asset based off of a template asset.
best,
Michael
I want to have a template HDA loaded into a hip file, but every time it gets used a unique definition for that particular asset is created that can be modified without affecting other instances. Ideally each new instance would be saved embedded into the scene.
I've looked at ways to do this using the onCreated handler with no luck. From what I've gathered, hou.HDADefinition.copyToHDAFile() doesnt update the current asset to use the new definition, and I dont see any way of doing that. And hou.HDADefinition.save() affects all instances using the same definition.
I suppose another way of doing this would be via a shelf script that creates a new asset from scratch, but it would be great if there were a way to generate a new asset based off of a template asset.
best,
Michael
Houdini Lounge » Houdini Vs Vue
- mrice
- 89 posts
- Offline
I dont think its a stretch to say that you can do most of what Vue does in Houdini, and better. You'd have to be pretty good with Houdini to pull it off though. Even though vue can handle zillions of polygons, it doesnt do so in the viewport, so you could probably set up something similar in Houdini with instancing/delayed load. I dont find Vue's terrain editor to be very intuitive, and the plant models, with foliage being limited to flat planes, usually dont hold up if you need ‘hero’ models.
Technical Discussion » is there a way to unlock an asset in HOM?
- mrice
- 89 posts
- Offline
Technical Discussion » is there a way to unlock an asset in HOM?
- mrice
- 89 posts
- Offline
Don't think there is but hopefully I'm missing something!
I'd like a user to be able to modify an asset on the fly, but keeping it unlocked has its own set of problems.
I'd like a user to be able to modify an asset on the fly, but keeping it unlocked has its own set of problems.
Houdini Indie and Apprentice » linux and hd 10 licensing
- mrice
- 89 posts
- Offline
rouanvde
Its a shame you get locked to an OS though, especially with apprentice which is much more for experimentation and learning than the commercial versions.
I didnt interpret SESI's position as “locking” you to an OS, but that they dont officially support such configurations, which is fair enough IMO. If you want to give each OS the same hostname and see if the license works, that's up to you :wink:
Technical Discussion » get ptnum from an id in a pop
- mrice
- 89 posts
- Offline
sorry misread your question.
If its only a matter of containing everything inside the vop maybe you could use the expression on a parameter vop, otherwise not sure how to go about that.
If its only a matter of containing everything inside the vop maybe you could use the expression on a parameter vop, otherwise not sure how to go about that.
Technical Discussion » get ptnum from an id in a pop
- mrice
- 89 posts
- Offline
Hi Scott,
In a vop pop, you should have “ptnum” available as a global variable. If you're trying to get to that in sops, you can either export ptnum from the vop, or use the attribute pop with $PT as the value. Does that help?
In a vop pop, you should have “ptnum” available as a global variable. If you're trying to get to that in sops, you can either export ptnum from the vop, or use the attribute pop with $PT as the value. Does that help?
Houdini Lounge » using a pen-tablet on linux
- mrice
- 89 posts
- Offline
DaJuice
I'm curious if anyone currently has it working as expected under Linux.
I finally got my Intuos3 to work in linux after a long battle with xorg.conf, and its working fine with the paint tool in H10.
Houdini Indie and Apprentice » Quadro - worth it? Any significant speed increases?
- mrice
- 89 posts
- Offline
probbins
Here's another recommendation. If you want to advance your workflow, spend $100 or 2 or 3 and buy extra Apprentice HD licenses (for the render tokens) and setup an HQueu distributed rendering and simulation pipeline.
Is it possible to run hqueue with an HD license? It wont run here without a commercial license.
About the quadro, I doubt you'll see any benefit with Houdini as compared to newer geforce cards. Some apps (3dsmax) are much more stable with the quadro drivers so the cost is well worth it imo.
I dont think you can flash quadro bios on a geforce card anymore, since the 6800.
Houdini Lounge » HQueqe with HD license
- mrice
- 89 posts
- Offline
Dont think so
ERROR: No licenses could be found to run this application.
Please check for a valid license server host
and ensure that a commercial license is installed
Technical Discussion » Understanding/Debugging the Nodes... ?
- mrice
- 89 posts
- Offline
If you havent already, you might want to follow all the links at the bottom of this page:
http://www.sidefx.com/docs/houdini9.5/network/ [sidefx.com]
http://www.sidefx.com/docs/houdini9.5/network/ [sidefx.com]
-
- Quick Links