Jump to content

vbk!!!

Members
  • Content count

    82
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    1

vbk!!! last won the day on July 14 2011

vbk!!! had the most liked content!

Community Reputation

3 Neutral

About vbk!!!

  • Rank
    Peon

Personal Information

  • Name
    vincent
  • Location
    fr
  1. 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
  2. I prepared a test file demo_sh010-test.hip PS : It works ... I just forget to offset the OBJID value. Shame on me
  3. 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.
  4. 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
  5. 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
  6. python list in python expression

    of course ! your certainly right ! Thx
  7. 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
  8. Houdini Arnold River

    nice ! what computer did you use to get this render times ?
  9. 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 !
  10. Leaf Shader - How to get realistic translucency?

    did you try to use the pbrphase node ?
  11. 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
  12. 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
  13. file batch for windows ....

    os.chdir() instead of os.system() with cd. and complete path for the mcbiovision.
  14. 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
  15. arabic mosque

    Very nice indeed. Me too, I wonder how you managed to render the calligraphy.
×