my paramset implementation for npbrt