Jump to content

vbk!!!

Members
  • Content count

    83
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by vbk!!!

  1. clothespin effect

    Hi Folks ! I have a constraint issue with a clothespin sim I have to do. I have a rope and the pin need to spin and rotate as the rope vibrates. I can't make the clothespin to follow the rope animation ... I made a scene test thanks for your help pinceLinges.hip
  2. Hi, I setup a little hip file to help me to test non divergent proj nodes, advection and the resulting velocity. If I get a logical result when I use only vel and auto advection, it's become strange when I add density to the setup. I would like explanations about this behavior. I add the hip . There is a switch to add density and you can visualize the vel field. thanks for your help. divergenceComparaison.hip
  3. Hello, I would like to convert normal orientation to angle ( rx, ry,rz). The final goal is to take a null and make its rotation value match with the normal orientation of a point. Any help is welcome.
  4. Hello, i have a fractured rbd objects linked to a rbd solver ( no packed ) I would like to know the way to activate the pieces of my fractured object based on a sop attribute ( for example the color) on my pieces. thanks for your help. Vincent P.S. : For no I am trying to group my pieces via expression like so point("../../sourceFruits/OUTPOINTS/",$OBJID,"Cd",0) > 0 with OUTPOINTS, the point at the center of each piece. One point is red and the other are black. Unfortunatly, the group is still empty.
  5. I prepared a test file demo_sh010-test.hip PS : It works ... I just forget to offset the OBJID value. Shame on me
  6. Hi, I double the post from sidefx forum. Sorry for that. I use a IndirectLight for my render. I created a photon map on disk I want to use it to light my scene but when I untoggle the Auto-generate Photon Map button, I loose the indriect lighting. I though that unchekcing Auto-generate Photon Map allows the indiret light to use the .pmap file from the photon_map parameter to light the scene without the need to recreate amap ofr each frame. Obviously, I am missing something. How I can use my pmap to light all my animation ? Thanks for your help; Vincent
  7. Hello, I would like to know if there is a way to plug a render state attribute ( from packed primitives) to a ramp parameter ( position, color or value) ? Thanks for your help. Vincent
  8. Hello, I have a node parameter with a little expression to allow me to get a list of strings. Now, in another node, I would like to write a new expression returning a specific component of the previously created list. But I can't get it to work. ch('myNodePath') : return the list len(ch('myNodePath')) : return the lengthof the list ch('myNodePath')[0] : return a bracket instead of the first component Thanks for your help
  9. python list in python expression

    of course ! your certainly right ! Thx
  10. Houdini Arnold River

    nice ! what computer did you use to get this render times ?
  11. In another Houdini Forum, a guy (who knows the one who made this test) just said the rendertime for this sim is couples of seconds per frame ... We will learn more after the Japan event !
  12. Leaf Shader - How to get realistic translucency?

    did you try to use the pbrphase node ?
  13. Hi, I am coming to python in Houdini to modify a mocap rigs. I would like to add Null between the bones. If I discovered the input and output methods in the hou.Node, it's still a bit frustrating since it takes the in account the connections and not the hierarchy. So ... is there a way to get all the child nodes from a selected one ( i mean to selected the master null and get all the bone in a tuple) ? Thanks for your help Vincent
  14. Questions about nodes and connections

    sorry but i don't want to dive in a node to get what is inside. to quote the documentation : "Using the file system analogy, a node’s children are like the contents of a folder/directory." I don't want that Using a selected node in Scene Level I would like to get all the childrens of this node ( not its content but its "network"). Sorry if I am not clear ... but in Houdini, children means 2 different things Vincent
  15. file batch for windows ....

    Hello, I am trying to follow the crowd tutorial of Guillaume Fradin. During this, he is using one of his tool, a filebatch tool to convert bvh files in bclip/cmd files. I tried the hda but it seems there is a compatibility problem between Linux and Windows. I am on Win7 ... Newbi onPython programming,I am now trying to modify this script to make it work properly on WIndows but I am unable to make something working here is the original script : import os import re import sys def start(node): for file in file_list(node): launch_cmd_on_file(node, file) def get_nb_files(node): nb_files = len(file_list(node)) node.parm('nb_files').set(nb_files) def file_list(node): dir = node.evalParm('directory') pattern = node.evalParm('pattern') return pattern_matching_file_list(dir, pattern) def launch_cmd_on_file(node, file): cmd = node.evalParm('cmd') dir = '/'.join(file.split('/')[0:-1]) cmd = "cd "+dir+';'+cmd+' '+file+';\n' print cmd os.system(cmd) def pattern_matching_file_list(dir, pattern): list = [] for root, dirs, files in os.walk(dir): for file in files: if re.search(pattern, file) is not None: list.append(os.path.join(root,file)) return list On Windows I find a problem with the os.system(cmd) line : I don't think mutiple command works on windows ( or not this way at least). The pattern_matching_file_list function give slash/backslash issue. After some failed tests, I am focusing on a specific directory to understand what is going on. Here is the modified code : import os import re import sys def start(node): for file in file_list(node): launch_cmd_on_file(node, file) def get_nb_files(node): nb_files = len(file_list(node)) node.parm('nb_files').set(nb_files) def file_list(node): dir = node.evalParm('directory') pattern = node.evalParm('pattern') return pattern_matching_file_list(dir, pattern) def launch_cmd_on_file(node, file): cmd = node.evalParm('cmd') # dir = node.evalParm('directory')+'/'.join(file.split('_')[0:-1]) dir = node.evalParm('directory') cmdb = "cd "+ dir cmdc = cmd +' '+ file print cmdb +' '+ cmdc os.system(cmdb) os.system(cmdc) def pattern_matching_file_list(dir, pattern): list = [] for root, dirs, files in os.walk(dir): for file in files: if re.search(pattern, file) is not None: list.append(os.path.join(file)) return list with this code mcbiovision returns it's unable to open .bvh file for reading. the print cmdb +' '+ cmdc return line likes this : cd D:/MOCAP/CMU/01/ mcbiovision 01_14.bvh Of course, if I tape theses 2 commands in a the houdini command line tool, it works as excepted. Why theses 2 commands works when I tape them but don't work when it execute via python ? Could it be beacause of the 2 os.system() ? If yes, how can I use one os.system for 2 commands on Windows ? Thanks for your help Vincent
  16. file batch for windows ....

    os.chdir() instead of os.system() with cd. and complete path for the mcbiovision.
  17. arabic mosque

    Very nice indeed. Me too, I wonder how you managed to render the calligraphy.
  18. Houdini Engine demonstrations

    really nice ! wanna see more
  19. How to kill flip particles by age?

    This thread could help you http://forums.odforce.net/index.php?/topic/15419-flip-viscosity-driven-by-age/#entry95128 the main goal is to modify the FLIP source to add birth attribute ( value $T) Then you can use this attribute in a sopsolver.
  20. Hello, I am making a FLIP simulation where I erase Impact particles ( with a Sopsolver). I would like the Impact particles become the source for another FLIP simulation inside the same Dop network Unfortunately I am not able to understand how to bring these Impact Parrticles to an another FLIP Solver. Thanks for your help Vincent flipSopDeformNew.hip
  21. Well ... I was thinking the exact same thing when I strated to study that. But the main issue comes with relation between the heigh of the wave and the boat's behavior. With big weather, boat tends to pass through the top the highest waves. Maybe I misunderstand something, but I can't see the way to represent this kind of behavior with a "post-sim" deformation. Vincent
  22. wow there is some interesting answers around here ! @JSantos : the reason to put this transform node was to show you that the vop system is independent from where you place your mesh. no need to a paritcular Y position to make it to work.
  23. or you can make something like this Create attribute to get the max and min Y position of your mesh and use it as you want. displaceByColour_vbk.hipnc
  24. I am trying to add FLIP simulation to a sop animation. It's a stormy ocean where I want to add a boat. I made a sop deformation for my ocean and I was thinking to add FLIP, for the boat interaction, on top of it. The goal of this test is to deform FLIP particles the very same way the sop ocean is deformed with a sopsolver. Then, separate the impacted particles to them make move accordingly to the boat. That why the impact particles need to react with the deformed part ( when I say "react" I mean "collide") I have already create a sytstem to add foam splash for my boat but I am not entirely satisfied with it. It uses particles field create on the surface of the ocean only. By this tests, I hope to be able to use a thicker/deeper water part. But maybe my stratgey is just all wrong ... what do you think ? Vincent
  25. Very nice Ilan. I have a last question. How could I get interaction between the 2 FLIP ? For the moment, the newly created particles are passing through the old ones ... Thanks again Vincent
×