Image-based rendering (IBR) has been used to synthesize images corresponding to a new view point from stored images. Rendering methods based on a three-dimensional plenoptic function are attractive due to the simplicity of image capture. Only a few specific discussions, however, have been done for the scaling problem to correct aspect ratio distortion, which heavily affects the quality of a synthesized image. This paper presents a rendering algorithm with a scaling scheme, which is general in that it can handle arbitrary camera paths. We model a virtual camera by a set of one-dimensional (1D) cameras. The ray representation of the 1D camera enables us to devise a rendering algorithm for the cases where the camera paths to create ray databases are arbitrary curves. We conclude with experimental results that demonstrate the usefulness of the proposed algorithm.