|
|
The following code segment worked perfectly in 3.1g but seems to be
broken:
// Start Code
#declare view = array[10] {
camera { location <-20.0, 25.0 ,-101 > look_at <140.0, 0.0 , 92.0> },
// 0. Primary view
camera { location < 10.0, 5.0 , -1.5> look_at < 0.0, 0.6 , 0.0> },
// 1. Medium object snapshot
camera { location < 2.0, 0.2 , -1.0> look_at < 0.0, 0.0 , 0.0> },
// 2. Small object snapshot
camera { location < 0.0,800.0 , -1.0> look_at < 0.0, 0.0 , 0.0> },
// 3. Bird's eye view
camera { location < -1.0, 31.0 , 24.0> look_at < -1.0, 29.0 , 0.0> },
// 4. Interior view
camera { location <-96.0, 37.0 ,181.5> look_at < 0.5, 48.6 , 0.0> },
// 5. Large object snapshot
camera { location <-40.0, 8.0 , -9.0> look_at <-50.0, 1.0 ,-55.0> },
// 6. Room panorama
camera { location < -3.0, 3.0 , 32.0> look_at <-20.0, 5.0 , 23.0> },
// 7. Altar view
camera { location < 23.0, 15.0 , 32.0> look_at < 0.0, 40.0 , 1.0> },
// 8. Roof view
camera { location < 0.0, 2.0 , 18.0> look_at < 0.0,-10.0 ,-21.0> }
// 9. Organ view
}
camera { view[5] }
// End Code
I get a "Parse Error: No matching } in 'object', camera found instead"
on the last line of this section. I use this camera array trick in
complex scenes to preserve the main shot and to debug problem areas and
component objects. Why has this seemingly obvious use of array elements
ceased to work?
Post a reply to this message
|
|