added viewing direction
before weight iso_confidence