Study of nonlinear optical properties in direct and indirect bandgap materials using high power radiation sources