Jump to content

tagosaku

Members
  • Content count

    71
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tagosaku

  • Rank
    Peon

Personal Information

  • Name
    tagosaku sky
  1. Can we execute python def by another node remotely?

    I am using kwargs["node"] or hou.node('.') in order to point out self node. When executing from 'target_python' node, it makes sense to be kwargs["node"] = target_pyhon. However, when executing from python_remote_control node, kwargs["node"] becomes 'python_remote_control node' and code does not work anymore. Do I need to write 2 code versions? In general, I guess python_remote_control node executes 'target_python's code as own self code. Then the code looks up not 'target_python''s parms but python_remote_control node's parameters ?!?
  2. Can we execute python def by another node remotely?

    code = hou.node('../target_python').evalParm('code') exec (compile(code, "inline", "exec"), globals(), locals()) setA() setB() After adding an extra bracket, it worked for a test code now. From now I try to apply it for actual scripts. Thank you, Alex, R !!
  3. Can we execute python def by another node remotely?

    I know I could write script directly in python_remote_control node import hou a = hou.node('/obj/pipeline/python_target') a.parm('result').set('C') but I would like to know how to control/execute the code of 'python_target' node indirectly
  4. there are 2 nodes, and can we remotely execute a python script by another node, especially def too? For instance, there is a python_target null node. If I click its execute button, it writes C in result as I expect. Then I want to do same thing by a code of another python_remote_control null node. After succeeding controlling remotely, I also like to execute setA() remotely, too. Is that possible?
  5. how to set unexpanding string to parameter by python

    >> I don't understand the purpose of doing this This is just for a test, and I want to study how much we have option with python. >> why don't you just evaluate the parameter and set the value directly ? For example, $F4, as frame number, we don't want to put the result of evaluation. Houdini should automatically update $F to number. It also can produces substep numbers, but not python. I already know we can write \$F to make unexpanding in python.
  6. Hi, I am studying python to set a parameter of string (cachePath) by script. After executing the code, ideally it pastes original, "`chs("resouceA")`_`chs("resouceB")`", instead of expanded result "G:/Projects/RnD_000_001/geo_element " So far, I am thinking two methods: A a = r(\"\`chs(\"resouceA\")\`_\`chs(\"resouceB\")\` ") # this way is too many back splash and so confusing B resA = hou.node('.').parm('resourceA').unexpandedString() resA = hou.node('.').parm('resourceB').unexpandedString() a = resA + resB # this way is ok, but when there are 5-10 parmeters, it would be too much work. Do we have a simplest way or special command?? Ideally something like this: a = unexpandedExpression("`chs("resouceA")`_`chs("resouceB")` ") Thanks
  7. how to import speedtree's leaves

    There is a bug in my version of speedtree. It sounds that I need to update software, and it should be fix, according to Speedtree admin!
  8. Hi, I try to import speedtree alembic file. So far I get spines and tree wood meshes, but cannot get leaves at all in Houdini and Maya. Do I mistake exporting, or have to choose specific tree types? Or I have to modify to do something unhide in imported alembic file? Speedtree v8.3 houdini 17 maya 2017
  9. how to disable displacement in matnet

    Davpe, thanks for reply. Your method also does not work for me. I took many tests and it seem like problems are that I use packed instacing(copy node) and shaders are applied on material SOP. These combination breaks displacement switch.
  10. hi, I am testing vellum, and have a question. When testGeo is coming up from ground, all vellum particles are influenced and pushed away. Also, when he hit ground with hummer and lift it up, particles looks being sucked into holes made by hummer. However, these particle reaction should not reach such far away distance. I'd like to know how to control the influence distance. So far, I am thinking of solutions: 1 - reduce constraint iteration, 2 - make a space between particles at emission/creation times. 3 - add more friction, increase particle separate / highres- sim, etc. This result could be ok for sand FX, but when making snow ground, this won't work. Particles should be very rigid, and particle only moves around testGeo's feet and hummer. If anyone knows how to control it properly, let me know thanks!!
  11. Hi, I try to make a enable/disable switch for displacement, instead of cutting node's connections . So far, I tried to connect 'switch node' between collect node and displaceOutputVariables and Parameters. but it does not work. Next, I tried' Properties > add Disable displace Shader rendering'. However, it still renders displacement. Thus how should I properly create displacement switch? I am using copy instance after material is assigned with a "share displacement with instances" in properties. That's why disable button possibly won't work correctly...
  12. advect by volumes node limitation

    uh, that's good to know there are step limitation! Then, I tried VDB advect. It's working well. but calculation gets heavier and heavier when setting time step more and/or faster vel. I wanted to try this method because I heard one of VFX companies have a VEX/VOP based fog animation, instead of using sop-solver or dopnetwork The system is not for replacement with regular fog sim, but it works for a simple Background-quality fog. And I assume that should create unique fog shape and unique motion, unlike filling out an entire box boundary volume, unlike simple linear straight offset animation.
  13. advect by volumes node limitation

    Hi, I am trying to understand advectByVolumes node. Basically I create custom vel field and animate density by advection. When increasing timestep, density moves more, but there looks a certain distance limitation, and density does not move further anymore. I wonder what's a logic and a solution for that, instead of using sop-solver, in order to continue to proceed density animation. advectTest.hip
  14. thank you so much for all our tips. Legal agreement and violation things are tricky. And using python with date and switch is a great idea!! In general, most houdini artists simply bring own tools to use for own shots, and other artists and production won't pay attention so much about how great a tool would be. HR says Houdini artists almost never sign up for own pre-invention uses, but sometimes pipeline artists do that.
  15. hi, I am wondering if we can set an expire-date for HDA or blackbox? Let's say a freelancer works a project at a company for one year with bring his own HDA of a custom solver. Then that HDA will be expired and won't work any more after 1 year.
×