[Sidefx-houdini-list] I3d Question

Peter Bowmar pbowmar at gmail.com
Fri Feb 17 05:55:15 EST 2006


Hi Jaideep,
    This is not very easy, you have to modify the Metacloud shader,
and also the 3D Texture Fog shader (that's the hard one). However,
you're in luck, I have already done this :) I'll try to post it to the
Exchange in the next day or so.

Cheers,

Peter B

On 17/02/06, Pablo Giménez <pablogipi at gmail.com> wrote:
> On 2/17/06, Jaideep Khadilkar <iamjaideep80 at yahoo.com> wrote:
> >
> > Hello Everybody,
> >
> > Does anybody know, how to have different colors for different metaballs in
> > image rendered using I3d??????
> > What I think is, we have to  create a color channel in 3d Texture created
> > using i3dgen.
> > Then have to use that channel in Fog shader. For that we have to have our
> > custom i3d shader and fog shader.
> >   Am I going right???
> > I am trying to do that, but something is going wrong. I am taking color
> > attribute from my geometry.When adding color channel in i3d shader,
> > whether we have to use mattrib() function inside forpoints() Loop or
> > outside.
>
>
> You have to use mattrib() inside a forpoints() to have access to the
> metaballs  coordinate space. In other words the forpoints() function is
> similar to the luminance() function for lights, it give you access to the
> metaballs.
>
> Also, forpoints(P) Loop is to loop thru all points or metaballs.
>
>
> Thu all metaballs inside a known radius.
>
> I think it loops thru all metaballs one by one. correct me if I am wrong.
> >
> > Thanking in advance.
> >
> > -------iamjaideep80
> > Jaideep Khadilkar
> > (TD, Sciclone Motion Graphics)
> >
> >
> > ---------------------------------
> > Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on
> > new and used cars.
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
>
>
>
> --
>
> Un saludo
> Best Regards
> Pablo Giménez
> _______________________________________________
> 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