integrated ray picking in demos