How was the triassic environment like?