The director of the Harry Potter films has visited Swindon for a showcase of locally made films he helped to fund.