segamega Posted December 22, 2014 Share Posted December 22, 2014 Hello ! I have to use 3 sop solvers in the dop network, but i need to set an order for them, how i can do that ? Thank you. Quote Link to comment Share on other sites More sharing options...
pbarua Posted December 22, 2014 Share Posted December 22, 2014 DOPs process data left to right then top to bottom. Quote Link to comment Share on other sites More sharing options...
segamega Posted December 22, 2014 Author Share Posted December 22, 2014 U mean that if i connect sops to multisolver the 1st one that i connect will process 1st ? Quote Link to comment Share on other sites More sharing options...
pbarua Posted December 22, 2014 Share Posted December 22, 2014 Yes. Quote Link to comment Share on other sites More sharing options...
segamega Posted December 22, 2014 Author Share Posted December 22, 2014 Yes. Thank you. I have 1 more problem now. Can i connect 3 sops to multisolver and set 2 of them to different objects, by the default they affect all objects. Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 22, 2014 Share Posted December 22, 2014 (edited) Hi Stanislav, try these steps and see if it is doing what you want to do. Sorry , cant post hip file. 1)Lets say u r bringing 3 geometries in dop using 3 different sop geometry dops, by default they will have data name 'Geometry' . Instead name them GeometryA(for 1st sop geometry dop ) GeometryB (for 2nd sop geometry dop ) GeometryC(for 3rd sop geometry dop ) (data name parameter in sop geometry dop, u will need 3 of them to bring three different geometries) 2)Inside sop solver create 2 copies of dop_geometry sop and in its geometrydatapath para write GeometryA , in second dop_geometry sop's geometrydatapath write GeometryB and GeometryC for the 3rd dop_geometry sop. 3)Now you have these three sops bringing in different geometries. Perform the necessary operations on these geometries and merge them in the end. So the important thing is what data you are reading in sop solver. I hope this gives you an idea. Edited December 22, 2014 by sadhu Quote Link to comment Share on other sites More sharing options...
segamega Posted December 22, 2014 Author Share Posted December 22, 2014 Hi Stanislav, try these steps and see if it is doing what you want to do. Sorry , cant post hip file. 1)Lets say u r bringing 3 geometries in dop using 3 different sop geometry dops, by default they will have data name 'Geometry' . Instead name them GeometryA(for 1st sop geometry dop ) GeometryB (for 2nd sop geometry dop ) GeometryC(for 3rd sop geometry dop ) (data name parameter in sop geometry dop, u will need 3 of them to bring three different geometries) 2)Inside sop solver create 2 copies of dop_geometry sop and in its geometrydatapath para write GeometryA , in second dop_geometry sop's geometrydatapath write GeometryB and GeometryC for the 3rd dop_geometry sop. 3)Now you have these three sops bringing in different geometries. Perform the necessary operations on these geometries and merge them in the end. So the important thing is what data you are reading in sop solver. I hope this gives you an idea. Thank you, but how i can rename geometry if i made it rigid body ? Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 22, 2014 Share Posted December 22, 2014 (edited) I don't have Houdini in front of me to try this expression in data path param (drop_geometry sop, geometry data path) /obj/AutoDopNetwork:objname(write rbd obj name)/Geometry Let me know if it is bringing geometry of the desired rbd object.If it is working then no need to rename Geometry data. In sop solver u can also use name attribute on the geometry to keep the needed geometry , process it and merge it back with rest of the geometry(using combination of delete selected and delete non selected methods , delete sop) Edited December 22, 2014 by sadhu Quote Link to comment Share on other sites More sharing options...
segamega Posted December 22, 2014 Author Share Posted December 22, 2014 (edited) I don't have Houdini in front of me to try this expression in data path param (drop_geometry sop, geometry data path)/obj/AutoDopNetwork:objname(write rbd obj name)/GeometryLet me know if it is bringing geometry of the desired rbd object.If it is working then no need to rename Geometry data.In sop solver u can also use name attribute on the geometry to keep the needed geometry , process it and merge it back with rest of the geometry(using combination of delete selected and delete non selected methods , delete sop) http://gyazo.com/52ff1dd561af0db8a46b2651ca8b498f If u mean this thing, it doesnt work. It doesnt load geometry. Edited December 22, 2014 by segamega Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 22, 2014 Share Posted December 22, 2014 In sopsolver/dop_geometry sop, in object mask parameter write the name of the rbd object and geometry data path write Geometry. I will post a file in some time. Quote Link to comment Share on other sites More sharing options...
pbarua Posted December 22, 2014 Share Posted December 22, 2014 It should be /obj/AutoDopNetwork:torus_object1/Geometry Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 22, 2014 Share Posted December 22, 2014 I used name attrib in this file to create the primitive group of the desired rbd objects and then changed its color (you can process these groups instead of coloring them). One more thing , dop_geometry mentioned in previous posts is actually the lable of the sop and it's name is dop_import. sopsolver.hipnc Quote Link to comment Share on other sites More sharing options...
segamega Posted December 23, 2014 Author Share Posted December 23, 2014 I used name attrib in this file to create the primitive group of the desired rbd objects and then changed its color (you can process these groups instead of coloring them). One more thing , dop_geometry mentioned in previous posts is actually the lable of the sop and it's name is dop_import. Thank you. I solve my problem by using switch sop, i changing ways in sop solver by name attribute of the object. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.