[Sidefx-houdini-list] Bridge of Cards

Chandra Maharzan chandra at digital.com.np
Tue Mar 18 12:32:24 EDT 2008


chandra at digital.com.np


-----Original Message-----
From: sidefx-houdini-list-bounces at sidefx.com
[mailto:sidefx-houdini-list-bounces at sidefx.com] On Behalf Of pingo van der
brinkloev
Sent: Tuesday, March 18, 2008 9:00 PM
To: sidefx-houdini-list at sidefx.com
Subject: Re: [Sidefx-houdini-list] Bridge of Cards

Hey, of course!

Just need your address:-)

pingo

On 18/03/2008, at 05.22, Chandra Maharzan wrote:

> Hey Pingo, can you send me the file? I want to see what is going  
> on.. I am
> not fully understanding the basics here...
>
> Thanks,
> Chandra
>
> -----Original Message-----
> From: sidefx-houdini-list-bounces at sidefx.com
> [mailto:sidefx-houdini-list-bounces at sidefx.com] On Behalf Of pingo  
> van der
> brinkloev
> Sent: Tuesday, March 18, 2008 3:01 AM
> To: sidefx-houdini-list at sidefx.com
> Subject: Re: [Sidefx-houdini-list] Bridge of Cards
>
> ok cool thanks.
>
> I'm not going to mess with any paths:-)
>
> I didn't mean to prevent duplicates. I meant if $NPR goes above 51 and
> I only have jpegs from 0-51 I would be in trouble, right?
>
> or should I use eeh... %51... seen that somewhere.
>
> ack... duplicates... looking fwd to that:-)
>
> cheers!
>
> pingo
>
> On 17/03/2008, at 21.51, Antoine Durr wrote:
>
>> On Mar 17, 2008, at 1:27 PM, pingo van der brinkloev wrote:
>>
>>> Ok it works. This is totally awesome.
>>>
>>> One thing I don't understand is how you can avoid making the string
>>> the whole path, or at least $HIP/........../card,ètc.etc.
>>
>> In general, all file pointers should be relative to a project root.
>> That way you can move or rename the job, but the pointers still
>> work.  $HIP should work for that.  You could also set the
>> HOUDINI_TEXTURE_PATH environment variable such that it contains the
>> directory with all the images.  I'm not a big fan of that -- I much
>> prefer a filepath that's pretty complete, in case I need to debug
>> something later on, e.g. that Houdini can find the picture but that
>> Mantra can't, or that a particular server can't.
>>
>>>
>>> btw if it was a deck of cards should the string then be:
>>> card.`int(fit(rand($PR), 0, 1, 1, 51))`.jpg
>>
>> This won't prevent duplicates -- that's a challenge for another day.
>> Also, the expression above will reduce the likelyhood of getting the
>> last card by almost 100% (because of the int()).  Changing that 51 to
>> 51.99 would help, as int(50.9) is still just 50.
>>
>> -- Antoine
>>
>>
>>>
>>> - asuming there's no jokers;-)
>>>
>>> thanks for the help Antoine and Peter!
>>>
>>> pingo
>>>
>>>
>>> _______________________________________________
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
>>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>> -- Antoine
>>
>> Floq FX Inc.
>> 10659 Cranks Rd.
>> Culver City, CA 90230
>> 310/430-2473
>>
>>
>>
>>
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list




More information about the Sidefx-houdini-list mailing list