Jump to content

vrman

Members
  • Content count

    34
  • Joined

  • Last visited

Everything posted by vrman

  1. I have a curve with 1203 point , and now i want to resample it to exact 800 point , is there any solution for this ? i want to use it for polypatch or bridge between two curve , currenty i have lot of error after polypatch/polybridge , because there is difference in point number between two curve. thanks
  2. i will loose the shape by set number of segments , i want to keep the shape
  3. select one edge from group ?

    great , thanks alot
  4. Hey guys i have an group of edges , i want to make another group and add just one of those edge from first group to it . is there any trick for doing this ? thanks
  5. Hey Guys i want to push render to disk button in mantra node via python , but its not working , my code is something like this : myRenderNode = hou.node('/out/baketexture1') myRenderNode.parm('execute') is there any trick to do this ? thanks
  6. Execute string in Python ?

    its working now , thank you so much
  7. Execute string in Python ?

    Hey guys is there any way to execute string in python ? its my string variable : "hou.parm('/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1')" i want to use it to set a parameter , but problem is its a string. im also tried to change it like this : myPath = '/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1' hou.parm(myPath) in 3dsmax maxscript you can using a execute syntax before string to do it. is there a similar way in python for that ?
  8. Execute string in Python ?

    not working in my case , i got this "AttributeError: 'NoneType' object has no attribute 'eval'" error after running this : myPath = "'"+myShopATT+'/'+myShopATT.replace('/obj/test3_FBX/materials/','')+"_surface"+'/map1'+"'" hou.parm(myPath).eval()
  9. Execute string in Python ?

    i have 20 group prim , and there is 20 material for them , i want to get texture disk path from each material , and use it to set something . its shelf tool , dont need import hou
  10. Execute string in Python ?

    the problem is , i want to to execute that to get texture path and then use that path to set something myPath = '/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1' hou.parm(myPath) here is the full code : myNodes = hou.selectedNodes() mySize = len(myNodes) for i in range(mySize): myNode = '/obj/geo1/'+myNodes[i-1].name() myShop = (myNodes[i-1].geometry().primAttribs()[0]).name() myShopATT = myNodes[i-1].geometry().primStringAttribValues(myShop)[0] myPath = 'hou.parm('+'"'+myShopATT+'/'+myShopATT.replace('/obj/test3_FBX/materials/','')+'/map1")' print myPath hou.node(myNode).parm('Texture').set(myPath) i want to execute myPath before use it to set Texture parm. its return this now : but it should be like this :
  11. i dont know why i cant rename my nodes with str variable , can anyone tell me what is the problem ? setName not working with getChildrenName variable , but you can change it with typing string directly , for example newNodeGroup.setName('Hello') here is the code myNodes = hou.selectedNodes() getChildren = myNodes.children()[0] getChildrenName = getChildren.name() newNodeGroup = myNodes.createNode('group') newNodeGroup.setName(getChildrenName) thanks
  12. cant rename node with variable

    yes you right , here is the corrected script , but still rename not working , and i dont know why : myNodes = hou.selectedNodes() getChildren = myNodes[0].children()[0] getChildrenName = getChildren.name() newNodeGroup = myNodes[0].createNode('group') newNodeGroup.setName(getChildrenName) the problem is in last line , if you change that to : newNodeGroup.setName(getChildrenName{0]) you can get characters by changing that number , but i cant get full name
  13. Hey Guys , i have a fast moving flip source , and cant get smooth shape , it look like emitter shape while emitting , i tried many different solutions like , putting time blend sop,trail sop , increasing substeps but always get same result . i had this problem in realflow too , but i fixed that by incearesing min substeps , but it didnt work in houdini , is there any solution for fixing this problem in houdini ? thanks
  14. it fixed , the problem was i used $F for animating emitter source , and its not work with substeps , so i changed that to $FF and it works ,
  15. Hey Guys , i have a scattered points on a surface , and this points have noise as their color , i want to make a volume from those points , and also multiply volume density with points color , but cant find any way to transfer attribute from points to volumes . is there any solution to make this happen ? thanks
  16. thank you so much fencer
  17. i want fade my volume when its near to other objects , anyone know how can i do this with volume vop or other solutions ? thanks
  18. Fade volume near object

    thanks alot Juraj
  19. Fade volume near object

    thanx great idea , could you tell me how can i do this via VEX ? i cant get volume density from input 1 or 2 with this code prim(1,"density",0). another question , when i try to blur my volume , it will goes into my objects, is this possible to pushing out my volume ? something similar to what peak sop do ?
  20. Fade volume near object

    Thanks , Could you please give me a hip file for volume vop example ?
  21. anyone know how can i read a value from a frame number ? for example in frame 40 and want to access an attribute value at frame 20. is this possible to do this via expression ? tnx
  22. the problem is solved , i used point expression to get cd instead of using $CR diretly
  23. no actually i want to use that for each primitive , i found that CHF expression can do this , but the problem is its not working with for each loop ! anyone have this issue ?
  24. i have multi dop network and i want to activate gravity force in all of them with a custom variable, is this possible to create global variables in houdini ? tnx
×