Farid Posted May 20, 2008 Share Posted May 20, 2008 Hi This a test showing particles generated from collision data http://rapidshare.com/files/116305328/untitled1.avi.AVI.html cheers Quote Link to comment Share on other sites More sharing options...
zasid Posted May 20, 2008 Share Posted May 20, 2008 HiThis a test showing particles generated from collision data http://rapidshare.com/files/116305328/untitled1.avi.AVI.html cheers Hello Farid , I think u have made the post at the rite time. I have been struggling with this.Can you please post an example hip file.I would be thankful. thanks zasid Quote Link to comment Share on other sites More sharing options...
CeeGee Posted May 20, 2008 Share Posted May 20, 2008 What about when object is fractured, how to export multiple impact data to be emitter for particles Quote Link to comment Share on other sites More sharing options...
Farid Posted May 21, 2008 Author Share Posted May 21, 2008 Here is the example file! hope that can help you cheersimpacts.hipnc Quote Link to comment Share on other sites More sharing options...
CeeGee Posted May 21, 2008 Share Posted May 21, 2008 Thanks for example But how to setup this on fractured object.... ??? Quote Link to comment Share on other sites More sharing options...
graham Posted May 21, 2008 Share Posted May 21, 2008 You can use the Copy or For Each sop. fractured_impacts.hip Quote Link to comment Share on other sites More sharing options...
zasid Posted May 21, 2008 Share Posted May 21, 2008 Thanks guys for posting the files!!! Quote Link to comment Share on other sites More sharing options...
zasid Posted May 25, 2008 Share Posted May 25, 2008 Hello Graham and Farid, I tried with your example but there is a problem I m using groups and cannot figure out how to make it work can you please have a look at my posted hip file.Its using a fractured bgeo so please load it up as well thanks. Sphere_fractured.zip Quote Link to comment Share on other sites More sharing options...
graham Posted May 25, 2008 Share Posted May 25, 2008 (edited) The problem is in the expression for the object name you are attempting to reference in the Copy and Point Sops. frag_* + stamp() isn't what you want since your object names are frag##_ "frag" + padzero(2,stamp("..","FORVALUE",0)) + "_" will work correctly. The padzero is necessary since your group names are 00, 01, ... 20 and the stamp value is 0, 1, ... 20. Edited May 25, 2008 by graham Quote Link to comment Share on other sites More sharing options...
zasid Posted May 25, 2008 Share Posted May 25, 2008 Hello Graham, Thanks for the quick response let me try it and see wat happens !! zasid Quote Link to comment Share on other sites More sharing options...
zasid Posted May 25, 2008 Share Posted May 25, 2008 Hello Graham, I tried it but it didn't work. I am posting the hip file again with changed expressions in place. thanks zasid Sphere_Dropings_RBD_TEST2.hip Quote Link to comment Share on other sites More sharing options...
graham Posted May 25, 2008 Share Posted May 25, 2008 (edited) The problem is that all your expressions are wrong syntax wise. In the Copy sop you have: dopnumrecords("/obj/AutoDopNetwork","frag" + padzero(2, stamp("..","FORVALUE",0),"Impacts","Impacts"))+"_" The '+"_" is in the wrong place. It should be dopnumrecords("/obj/AutoDopNetwork", "frag" + padzero(2, stamp("..","FORVALUE",0)) + "_", "Impacts" ,"Impacts") The same little problem occurs in the Point Sop expression as well. Attached is a working version. working.hip Edited May 25, 2008 by graham Quote Link to comment Share on other sites More sharing options...
zasid Posted May 25, 2008 Share Posted May 25, 2008 Thanks Graham , Its working perfect. why are u using 10 * npoints(opinputpath("../",0))?? I will be using this system for my fallen object so as they fall they should emit sprites so that i can apply dust shader onto them .It will definitely be a lot of help. Thanks alot for helping me out here. zasid 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.