[Sidefx-houdini-list] VDTM

Jaideep Khadilkar iamjaideep80 at yahoo.com
Thu Nov 2 04:57:56 EST 2006

Hello everybody....

I figured out that  `shadow(Cl)`  forces the shader to evaluate the shadow..
It was not working. but now it is working. Don't know whether there is some bug or something...

Jaideep Khadilkar
(TD, Sciclone Motion Graphics)

Jaideep Khadilkar <iamjaideep80 at yahoo.com> wrote: Hi everybody...

I want to implement View Dependent Texture Mapping (VDTM) in houdini.
The visiblity test can be solved using Depth Maps from light sources.
I am writing a shader for the same, which has an illuminance loop, and simply writes  the Cl parameter to Cf.

vector Nf = normalize(N);
    illuminance (P, Nf, M_PI_2) {
col_sum += Cl;

But it is not evaluating the shadow. And when I use diffuse() function it evaluates the shadow corrcectly. What can be the problem ? 

Jaideep Khadilkar
(TD, Sciclone Motion Graphics)

Low, Low, Low Rates! Check out Yahoo! Messenger's cheap  PC-to-Phone call rates.
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com

 Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. 

More information about the Sidefx-houdini-list mailing list