converting pmxRenderer and fix pmxReader