whodini Posted April 7, 2014 Share Posted April 7, 2014 (edited) Hey guys, I'm sharing a file for those interested in doing art directed fractures. It's definitely not the only way to do this, but I thought it would be nice to give something back to odforce. The hip file is a sim of a platform that is collapsing over time from one end to the other. I've left a ton of notes inside, so check it out! improve it! use it for whatever you want. UPDATE: I've also added the H13 version using packed primitives to achieve the same result. houdini_fracture_glue_bullet.hip rbd_packed_controlled_fracture.hip Edited April 8, 2014 by rhussain 6 Quote Link to comment Share on other sites More sharing options...
gosch Posted April 8, 2014 Share Posted April 8, 2014 Nicely done example, Ryan! But as for me, for now this method is slightly outdated because in H13 rbd packed objects provide a possibility to inherit and modify point attributes just for free without any tricks. Using point() function might by very confusing because in complicated setups $OBJ might not be equal to point number, representing the object. Quote Link to comment Share on other sites More sharing options...
whodini Posted April 8, 2014 Author Share Posted April 8, 2014 thanks! that's a valid point, I have yet to try this kind of thing with the rbd packed objects. And yes this is an oldschool technique I used a lot in versions before H13. Quote Link to comment Share on other sites More sharing options...
whodini Posted April 8, 2014 Author Share Posted April 8, 2014 I've added a version using packed primitives! have fun. Quote Link to comment Share on other sites More sharing options...
wateryfield Posted May 13, 2014 Share Posted May 13, 2014 (edited) I've added a version using packed primitives! have fun. Hi, Rhussain. The active process get some problem when active a big object (such as 10*0.1*10),and i need decrease the search radius ,because i just want active the objects in box. When the active attribute was set to 1, after a while when the object out of box, active will turn to 0, so it will just stop . So i just modify to add a solver sop. When it be actived, it will keep moving always. Cheers. rbd_packed_controlled_fracture_SOlver.hip Edited May 22, 2014 by wateryfield Quote Link to comment Share on other sites More sharing options...
rayman Posted May 13, 2014 Share Posted May 13, 2014 (edited) Nice! I didn`t have the time to check your files but It sounds like something I would love to see. I started to play with similar thing more than a year ago, but never had the time finished it. First on 12.5 with python, then on 13 with pakced prims and wrangles. My idea is to use 2 meshes to control the simulation: 1) low res simulated pieces - fast and easy to control. You can also mix them with manual animation, or use only animated pieces 2) hi res static mesh- this one will inherit motion from animated geo The results were not bad. There is some jitter sometimes, but I also didn`t spent time to adjust the settings. Some of the results: There is a ramp controls for velocities, collisons and glue constraints based on pieces centers. Pieces can be broken and they will automaticly decide if they will inherit original motion. Old python version has nice feature to control hires gluenets based on lowres ones, so when lowres contraint is broken all hires constraints are destroyed also... I still don`t want to upload hip files - they are too messy (well..also don`t have acces to them right now), but if someone is interestd in this tehnique and have the time to continue to work on it, I can provide some files and explainations (: Edited May 13, 2014 by rayman 4 Quote Link to comment Share on other sites More sharing options...
rayman Posted May 14, 2014 Share Posted May 14, 2014 I just uploaded video from the same example: https://vimeo.com/95223325 cheers Quote Link to comment Share on other sites More sharing options...
Netvudu Posted May 14, 2014 Share Posted May 14, 2014 impressive! where do the new pieces get their sim velocity from? when you do clean your scene I´d love to get a look at it! Quote Link to comment Share on other sites More sharing options...
Ratman Posted May 14, 2014 Share Posted May 14, 2014 I just uploaded video from the same example: https://vimeo.com/95223325 cheers Pretty interesting! By any chance have you looked at any of the new Primitive vex expressions with an AttribWrangle to retransform your higher rez pieces ? You can use primintrinsic() to grab the transform off the big peices and use that to re-transform the same piece but refractured. Quote Link to comment Share on other sites More sharing options...
goldleaf Posted May 16, 2014 Share Posted May 16, 2014 Cool example! And good tip for primintrinsic() Rick, thanks! Quote Link to comment Share on other sites More sharing options...
rayman Posted May 17, 2014 Share Posted May 17, 2014 (edited) To generate veolcities, first I have this huge pre-simulation step, that computes desired transforms for each new piece. There are several steps : -Generate point for each new piece and store its name -Recompute point position to match center of mass -Generate matrices for animated low res pieces(almost the same setup as edge displacement matrices, no intrinsics) -Transfer matrices to points inside each piece. If new pieces are not inside old ones-they are simply deleted -Animated pieces centers and raduis are computed, and transfered to points to create some weight controls. -Glue netowrk is generated and bonds between old pieces are deleted. Point weights are transferred to gluenet. This way constraints along edges are weaker than the others. Inside dops, ponts are imported and wrangle node inside sop solver controls the whole simulation. Velocity and angular velocity are computed and multiplied by weight attribute. Basicly, thats it (: Edited May 17, 2014 by rayman 1 Quote Link to comment Share on other sites More sharing options...
whodini Posted May 19, 2014 Author Share Posted May 19, 2014 this is pretty interesting! good post rayman Quote Link to comment Share on other sites More sharing options...
luke046 Posted September 30, 2014 Share Posted September 30, 2014 Hm I still had this stopping problem with packed primitives even when trying out the sop solver here. But what seemed to fix this issue is tweaking the bullet_linear_sleep_threshold on the RBD Packed Object, yay Hi, Rhussain. The active process get some problem when active a big object (such as 10*0.1*10),and i need decrease the search radius ,because i just want active the objects in box. When the active attribute was set to 1, after a while when the object out of box, active will turn to 0, so it will just stop . So i just modify to add a solver sop. When it be actived, it will keep moving always. Cheers. Quote Link to comment Share on other sites More sharing options...
ksv1122 Posted October 1, 2014 Share Posted October 1, 2014 Thank's to Nice Sim and Nice work!!!!! Thank you so much!!! I'll pray to bress on you. 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.