I put your foreach blocks in compiled blocks and it shaved 0.5s :D On Fri, Sep 29, 2017 at 2:07 PM, Oscar Juarez <tridi.animei...@gmail.com> wrote:
> It is indeed pretty fast, 5.1s including scatter. Without the scatter is > 2.0s > Very nice Oliver. > > On Fri, Sep 29, 2017 at 1:44 PM, Olivier Jeannel <facialdel...@gmail.com> > wrote: > >> ok thank you, we have the same scene. >> On my old workstation I get a 31 s result, while on my recent laptop I >> have 13s. >> I tried the "supermulticopy" setup I sent (I replaced the delete nodes >> with some blast nodes (grabed 0.5 to 1sec) and on my laptop I'm doing 3.5s >> with 350Kpoints for 10 distributed objects (his doesn't include the >> scatter, but include a noise though) >> >> [image: Images intégrées 1] >> So my workstation is good for the bin... >> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_open-3Fid-3D0B1QqhXD7Y15qQXJUU1ZPanZTVzQ&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=TMNrlzNSZ5gmxuDM8X3vzag6hlB2OUM5ffzW__LaZ4g&s=u3C4j5O4WaJLN7w1oIbt6YWh5ZYzmTsXBHZQCKiuxnM&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_open-3Fid-3D0B1QqhXD7Y15qQXJUU1ZPanZTVzQ&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=JX6lhiLs1fmGaYTrdrfVHdwXgRRiZ1J5CtYJ3LBxKco&s=fFKFtGtNC7YljZwevtL8BOMXewstFDBOvoIcXNNEBqI&e=> >> Can you give this a test and tell me ? >> >> 2017-09-29 13:19 GMT+02:00 Oscar Juarez <tridi.animei...@gmail.com>: >> >>> Sure, >>> >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_file_d_0B74o9B4EjC7BMHY2Y3pUUW5KMjA&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=TMNrlzNSZ5gmxuDM8X3vzag6hlB2OUM5ffzW__LaZ4g&s=M0aRql2xkK5UaFXckNHKeG2Thr4QDLX0HlfEleFTg-4&e= >>> >>> /view?usp=sharing >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_file_d_0B74o9B4EjC7BMHY2Y3pUUW5KMjA_view-3Fusp-3Dsharing&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=jmYIeQXgCXNWPsmCj8psdVkxX5vSoNXSs59HY81EUzI&s=j4K5381ujrWpy_B6v9M9ynYwgFwuhyA6Jag_3nGqmno&e=> >>> >>> I tried with 350,000 points and 10 packed primitives and took 13s from >>> those 2.5s are from the scatter node. >>> >>> On Fri, Sep 29, 2017 at 12:35 PM, Olivier Jeannel < >>> facialdel...@gmail.com> wrote: >>> >>>> Can you send me a hip please ? >>>> >>>> 2017-09-29 12:32 GMT+02:00 Oscar Juarez <tridi.animei...@gmail.com>: >>>> >>>>> I did a simple test with the compiled bock, I'm copying 5 packed >>>>> primitives to 100,000 points, performance monitor gives me 3.1s on an i7, >>>>> 4 core @ 3.6 with HT, I noticed that if you visualize any node inside the >>>>> compiled block, the cooking time is longer. Also measuring the with >>>>> compiled blocks on the performance editor should only show the compiled >>>>> block nodes, it doesn't any node inside of them. >>>>> >>>>> On Fri, Sep 29, 2017 at 11:34 AM, Olivier Jeannel < >>>>> facialdel...@gmail.com> wrote: >>>>> >>>>>> We're not talking about "Packed Disk Primitive" right ? just plain >>>>>> packed prim. >>>>>> I opened his scene, upped the number of points to 350 000 , opened a >>>>>> performance Monitor, hit record and turned the blue (display/render) on. >>>>>> I red 32.4s on the Total Statistic. (it varies a bit, between 34s and >>>>>> 30s) And this doesn't include the scatter computation. >>>>>> My machine is a dual xeon of 2013 or 2014 at 2*6 core at 2.3Ghz 64GB >>>>>> ram. Not the most recent maybe ? >>>>>> Am I totally off ? >>>>>> >>>>>> 2017-09-29 11:25 GMT+02:00 Dan Yargici <danyarg...@gmail.com>: >>>>>> >>>>>>> I haven't, but I've done other very similar setups with compiled >>>>>>> foreach block and found the performance to be fantastic. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Sep 29, 2017 at 10:19 AM, Olivier Jeannel < >>>>>>> facialdel...@gmail.com> wrote: >>>>>>> >>>>>>>> Have you tried his setup ? >>>>>>>> I'm talking about that one : >>>>>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toadstorm.com_blog_wp-2Dcontent_uploads_2017_09_par&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=TMNrlzNSZ5gmxuDM8X3vzag6hlB2OUM5ffzW__LaZ4g&s=Or57S3C12QbCKPqYfiafVQSQRbH5E8cIOog2WTA6UzI&e= >>>>>>>> >>>>>>>> t8_compiled.png >>>>>>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toadstorm.com_blog_wp-2Dcontent_uploads_2017_09_part8-5Fcompiled.png&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=X3jUNTpd_yay0EWyazkRT8iIUdx9ddwwjFHRFeLYZ40&s=n_3UBEFLkytkZJbe3GWp_KDLcZF62K46L26sRotCYY0&e=> >>>>>>>> >>>>>>>> 2017-09-29 11:12 GMT+02:00 Dan Yargici <danyarg...@gmail.com>: >>>>>>>> >>>>>>>>> I'm very surprised by this result then! >>>>>>>>> >>>>>>>>> Unless you're running Houdini on a laptop from 2005 and not >>>>>>>>> telling us... :) >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Sep 29, 2017 at 9:46 AM, Olivier Jeannel < >>>>>>>>> facialdel...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Yes I did remember :D >>>>>>>>>> >>>>>>>>>> 2017-09-29 10:25 GMT+02:00 Dan Yargici <danyarg...@gmail.com>: >>>>>>>>>> >>>>>>>>>>> Did you remember to tick "Multihread when compiled" on your >>>>>>>>>>> foreach_end? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Sep 29, 2017 at 8:38 AM, Olivier Jeannel < >>>>>>>>>>> facialdel...@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Mmm, unless I made a mistake replicating his copy + switch + >>>>>>>>>>>> compile, I'm getting a rough 33s to copy 10 object other 350000 >>>>>>>>>>>> points. >>>>>>>>>>>> >>>>>>>>>>>> 2017-09-29 8:34 GMT+02:00 Olivier Jeannel < >>>>>>>>>>>> facialdel...@gmail.com>: >>>>>>>>>>>> >>>>>>>>>>>>> Nice read. I'll try to replicate the last setup to compare >>>>>>>>>>>>> specs. >>>>>>>>>>>>> I really wonder how much a compile block speeds up the >>>>>>>>>>>>> computation. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Thursday, September 28, 2017, Jonathan Moore < >>>>>>>>>>>>> jonathan.moo...@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Just came across this great blog post from Toadstorm entitled >>>>>>>>>>>>>> "A Long-Winded Guide to Houdini Instancing" I'd label it >>>>>>>>>>>>>> "everything you >>>>>>>>>>>>>> wanted to know about Houdini instancing but were afraid to ask!" >>>>>>>>>>>>>> myself. >>>>>>>>>>>>>> It's a damn fine read, and great for those just starting out in >>>>>>>>>>>>>> Houdini too. >>>>>>>>>>>>>> >>>>>>>>>>>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toadstorm.com_blog_-3Fp-3D493&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=TMNrlzNSZ5gmxuDM8X3vzag6hlB2OUM5ffzW__LaZ4g&s=ZEd3-DSy5MEkWaRt3Cw6ggUH92wJiUCReMkzooKGl3A&e= >>>>>>>>>>>>>> >>>>>>>>>>>>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toadstorm.com_blog_-3Fp-3D493&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=NIPJF89o1z2Sf-yJSnls9v63QFl5b0y4nhmUBf8UWkg&s=h4hreQntQUMdMiO3LeMrJyHXHEyKLnKAKoxAMLdA0yo&e=> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Enjoy. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 25 September 2017 at 16:22, Olivier Jeannel < >>>>>>>>>>>>>> facialdel...@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Kind of rooky question that I already asked but... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> So I have that "problem" with the copy sop (copy to point, >>>>>>>>>>>>>>> whatever) when I have to do a copy with multiple input objects. >>>>>>>>>>>>>>> It was something really easy within ice with high >>>>>>>>>>>>>>> performances. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I watched the sidefx tutorial, and so far I undertstood they >>>>>>>>>>>>>>> deprecated the stamp method for a copy within a loop.It's >>>>>>>>>>>>>>> rather slow. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I also saw a method where it copies all the multiple objects >>>>>>>>>>>>>>> on each point and then delete according to the ptnum the >>>>>>>>>>>>>>> undesired copies. >>>>>>>>>>>>>>> it gets very slow when you have many different objects to copy >>>>>>>>>>>>>>> and it eats >>>>>>>>>>>>>>> memory. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> So I made my "own" method >>>>>>>>>>>>>>> The scenario was >>>>>>>>>>>>>>> working with packed >>>>>>>>>>>>>>> 10 different objects(platonic, torus, sphere, etc) >>>>>>>>>>>>>>> I have some scattered point >>>>>>>>>>>>>>> I have a noise (float) on the scattered points >>>>>>>>>>>>>>> I want to distribute my 10 objects according to the values >>>>>>>>>>>>>>> of that noise >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> so I divided my noise in 10 zones (based on grey float >>>>>>>>>>>>>>> values) >>>>>>>>>>>>>>> I counted howmany of each object there was per >>>>>>>>>>>>>>> zone(@numbperzone) >>>>>>>>>>>>>>> I copied each object the good amount >>>>>>>>>>>>>>> I placed each copy at its corresponding scattered point >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> et voilà >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> now for 10 objects distributed on 350000 points it takes >>>>>>>>>>>>>>> under 10s. >>>>>>>>>>>>>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_open-3Fid-3D0B1QqhXD7Y15qVnBqMVhKeWl0dn&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=TMNrlzNSZ5gmxuDM8X3vzag6hlB2OUM5ffzW__LaZ4g&s=9HJO9uPlOfZ-y-dzI5f8PqYV0zMZw464M1Di3wH08d8&e= >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> c >>>>>>>>>>>>>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_open-3Fid-3D0B1QqhXD7Y15qVnBqMVhKeWl0dnc&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=NIPJF89o1z2Sf-yJSnls9v63QFl5b0y4nhmUBf8UWkg&s=ObZ8gSpC-gUJkqCl3yDXGzsY0smzMBKUfJXxB92qo80&e=> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> That's my best method for now, but I have now idea if it's >>>>>>>>>>>>>>> worth something. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> So how do you guys usually do ? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ------ >>>>>>>>>>>>>>> Softimage Mailing List. >>>>>>>>>>>>>>> To unsubscribe, send a mail to >>>>>>>>>>>>>>> softimage-requ...@listproc.autodesk.com with "unsubscribe" >>>>>>>>>>>>>>> in the subject, and reply to confirm. >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------ >>>>>>>>>>>> Softimage Mailing List. >>>>>>>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>>>>>>> odesk.com with "unsubscribe" in the subject, and reply to >>>>>>>>>>>> confirm. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------ >>>>>>>>>>> Softimage Mailing List. >>>>>>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>>>>>> odesk.com with "unsubscribe" in the subject, and reply to >>>>>>>>>>> confirm. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------ >>>>>>>>>> Softimage Mailing List. >>>>>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>>>>> odesk.com with "unsubscribe" in the subject, and reply to >>>>>>>>>> confirm. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ------ >>>>>>>>> Softimage Mailing List. >>>>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>>>> odesk.com with "unsubscribe" in the subject, and reply to confirm. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------ >>>>>>>> Softimage Mailing List. >>>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>>> odesk.com with "unsubscribe" in the subject, and reply to confirm. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ------ >>>>>>> Softimage Mailing List. >>>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>>> odesk.com with "unsubscribe" in the subject, and reply to confirm. >>>>>>> >>>>>> >>>>>> >>>>>> ------ >>>>>> Softimage Mailing List. >>>>>> To unsubscribe, send a mail to softimage-requ...@listproc.aut >>>>>> odesk.com with "unsubscribe" in the subject, and reply to confirm. >>>>>> >>>>> >>>>> >>>>> ------ >>>>> Softimage Mailing List. >>>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >>>>> with "unsubscribe" in the subject, and reply to confirm. >>>>> >>>> >>>> >>>> ------ >>>> Softimage Mailing List. >>>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >>>> with "unsubscribe" in the subject, and reply to confirm. >>>> >>> >>> >>> ------ >>> Softimage Mailing List. >>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >>> with "unsubscribe" in the subject, and reply to confirm. >>> >> >> >> ------ >> Softimage Mailing List. >> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >> with "unsubscribe" in the subject, and reply to confirm. >> > >
------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.