[Sidefx-houdini-list] Row of books, procedurally

Garman Herigstad gherigstad at dnahelix.com
Wed Feb 8 17:36:32 EST 2006


Use the $XMIN and $XMAX to find the position.


#########################################################

If Elvis were alive he's be dead by now.
	-Garman

	Garman Herigstad
	Effects Dept.
	DNA Productions, Inc.
	gherigstad at dnahelix.com




Peter Bowmar wrote:

> Hello,
>     Here's a challenge, that my little brain can't deal with. I want 
> to create a row of books, with random widths, but they are all 
> "touching" each other. I'm sure, sure, sure there is a straightforward 
> way to do this with the Copy SOP, but I can't get it.
>     Basically, if I have a Box SOP representing a single book, Y and Z 
> scale unimportant, but X is 1 unit wide, I want to copy that book in 
> X, having each copy be a random size in X (but greater or equal to 1), 
> and each copy transformed in X so it sits nicely with no gap next to 
> the previous book.
>     I've tried using no template input on the Copy SOP, just using 
> expressions in Transform and Scale, or stamping values into a 
> Transform SOP above. I'm sure this can be done, but I can't get it.
>     I've also tried taking a single point, and copying it, stamping an 
> attribute that holds the value used to transform it, then stamping a 
> scale into the Box SOP that way. Again, can't get it.
>     Any help appreciated :) I look forward to multiple ways to 
> accomplish it :)
>
> Cheers,
>
> Peter B
> _______________________________________________
> 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