[Sidefx-houdini-list] lines from point positions

Gary Jaeger gary at corestudio.com
Wed Oct 5 14:17:39 EDT 2016


oh I’m totally going to try this. Thanks! be prepared as I’m sure I’ll have questions :)

Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
http://corestudio.com <http://corestudio.com/>
> On Oct 5, 2016, at 11:11 AM, Olivier Jeannel <facialdeluxe at gmail.com> wrote:
> 
> I was thinking of using the stamp (Copy Stamp) with the CarveSOP so that
> you could have your lines growing each one at different speed.
> 
> So you have :
> 
> Line                           Grid
>       |                          |
>       Carve       Scatter
>                |       |
>                Copy
> 
> 
> 
> 
> In the CopySOP, activate the StampInput
> create a variable "x" value    fit01(rand ($PT),0,1)
> 
> In the CarveSOP, in Second U call the "x" Stamp variable
> stamp("../copy1/",x,0)
> 
> Multiply by time
> $T*stamp("../copy1/",x,0)
> 
> Et voilà
> 
> Not super effective if you have thousands of lines, it will be slow.
> 
> On Wed, Oct 5, 2016 at 7:41 PM, Neil Dickson <ndickson at sidefx.com> wrote:
> 
>> For the picking from 3 colours randomly, a way to do it, though others
>> probably have better ways for specific situations, is to use Attribute
>> Randomize with Attribute Name set to colour_choice, Distribution set to
>> Custom Discrete, 3 values, set to 0, 1, and 2, (this just lets you easily
>> adjust the relative proportions of each colour), then in an Attribute
>> Wrangle:
>> 
>> if (@colour_choice == 0) {
>>    @Cd = chv("colour0");
>> }
>> else if (@colour_choice == 1) {
>>    @Cd = chv("colour1");
>> }
>> else { // @colour_choice == 2
>>    @Cd = chv("colour2");
>> }
>> 
>> You can press the "Create spare parameters..." button next to the
>> VEXpression to create the parameters for the colours and adjust those to
>> set the colours.  To have attributes, including Cd, copied from the
>> template points to the copies, turn on Use Template Point Attributes in the
>> Attribute tab of the Copy SOP.
>> 
>> Cheers,
>> Neil
>> 
>> 
>> On Wed, Oct 5, 2016 at 12:58 PM, Gary Jaeger <gary at corestudio.com> wrote:
>> 
>>> Thanks everybody. Looks like copying the line to the scatter will
>> probably
>>> work. We’ll have to do a number of them to get what we want. Olivier I’m
>>> sure what the stamp in this scenario? can you explain that a bit?
>>> 
>>> Another question (and thanks again, this will probably be our first
>> series
>>> of shots using houdini) is there a way to have the scatter points
>> randomly
>>> pick from 3 different colors (branding!), and have those colors be passed
>>> along to the copied lines?
>>> 
>>> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
>>> http://corestudio.com <http://corestudio.com/>
>>>> On Oct 4, 2016, at 11:03 PM, Olivier Jeannel <facialdeluxe at gmail.com>
>>> wrote:
>>>> 
>>>> simpler way and slower too, would be to Copy a Line with a Carve on
>> each
>>>> point
>>>> Then Stamp the carve values
>>>> 
>>>> 
>>>> On Wed, Oct 5, 2016 at 7:51 AM, Gary Jaeger <gary at corestudio.com>
>> wrote:
>>>> 
>>>>> More noob questions. This all is relation to finding a way to get our
>>>>> l-system look without using l-systems. though we’re going down that
>>> route
>>>>> as well.
>>>>> 
>>>>> Another thought was that if we could scatter some points on a grid,
>> then
>>>>> grow lines from those points we could then just bend the lines where
>> we
>>>>> wanted. Or have them follow some other geo. But can’t figure out a way
>>> to
>>>>> get lines growing from the scattered points. For instance if I have 15
>>>>> points scattered on a zx grid, and I want lines to grow from those
>> point
>>>>> positions in +y, an suggestions on how to do that?
>>>>> 
>>>>> thanks again
>>>>> 
>>>>> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
>>>>> http://corestudio.com <http://corestudio.com/>
>>>>> _______________________________________________
>>>>> 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
>> 
> _______________________________________________
> 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