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 <[email protected]>
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=ndXNlEtaEzCVOCexdnao8Jjx8lWuAzdJZXZS3L6huNc&s=SRQ9v5JnCFOmnOJI637Y01wW8BuRvD8qIxY_iaHUHJY&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 <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> 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-3D0B1QqhXD7Y15qVnBqMVhKeWl0dnc&d=DwIFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=ndXNlEtaEzCVOCexdnao8Jjx8lWuAzdJZXZS3L6huNc&s=4ivMn3NbJVYmtolA-IsryzACmh7oc5vdKCy1ejthA4s&e=
>>  
>> <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 [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to