[Sidefx-houdini-list] Bridge of Cards 2

Antoine Durr antoine at floqfx.com
Wed Mar 26 21:28:08 EDT 2008

Yeah, a 52-layer shader is not particularly someplace you want to go  

Again, here's the underlying concept, which is one of the coolest  
things about the Mantra renderer: any parameter of the shader can be  
overriden by data (attributes) on the geometry.  And to do this, all  
you have to do is match the name (and type and size, actually) of the  
shader parameter with the data on the geometry, and it will  
override.  E.g. a 3-float vector attribute on the shader, e.g. color,  
can be overridden by a 3-float attribute on the geometry.  Just make  
sure that they're either 3-floats or vector types.  You can do it for  
strings as well.  Add a string attribute to the geometry called  
'map' (if that's the string parameter on the shader), and the  
geometry's version of 'map' will override.  So now all you have to do  
is randomize 'map' accordingly on the geometry.

-- Antoine

On Mar 26, 2008, at 3:49 PM, Beatriz Lorenzo wrote:
> Hi everyone!
> this is Beatriz, learning Houdini, totally newbie, etc.
> Just wanted to say hello as I just signed up some days ago and also  
> say that
> I'm making a bridge of cards too. I'm on the texturing phase and  
> I've been
> reading all the posts about it but somehow I think I'm missing  
> something. An
> attached file perhaps?
> I tried a different approach using layers (completely ignoring the  
> fact that
> the multilayered VEX needed 52 layers!!!) but the expression I set  
> for the
> current layer would not recognise the $PR so I thought perhaps it  
> was not
> the best approach.
> I'm a little stuck with the whole random texturing thing so any  
> help is
> welcome.
> Cheers
> Beatriz
> _______________________________________________
> 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

More information about the Sidefx-houdini-list mailing list