1. While the pictures were based on the sketches, Degas painted in his studio.

2. With the pictures based on the sketches, Degas painted in his studio.

3. The pictures veing based on the sketches, Degas painted in his studio.

4. The pictures based on the sketches, Degas painted in his studio.

(What about the sentences above? Which ones are grammatical?)

1 and 2 are fine; 3 is "if-fy"! 4 is incorrect.