Building rock models