Example 19 Modeling megapixel images
|
|
||
Problem
Because of the Open GL limitation, we can not create three-dimensional image with a resolution in pixels more than the screen resolution in Windows. However, modern megapixel cameras already have a much higher resolution.
Even when the camera resolution is less than the screen resolution, it is inconvenient to work with images that occupy a large area on the screen and require a lot of time for regeneration.
In most cases, we need only to see how an object on the scene will look on image from a camera with the specified resolution.
VideoCAD solves this problem with the help of PiP technology (Picture in Picture).
Order of work
1. Construct 3D model of the scene, place 3D models. See Example and Example.
2. Create camera and place it in the appropriate position.
3. Open the Sensitivity and resolution
box and set horizontal and vertical numders of pixels, for example: 2048x1536. Close the box and save changes.
4. Open the 3D window
. Stretch the 3D window if necessary.
If the PiP mode is enabled (by default) in the 3D window a yellow rectangle will be displayed. And in the corner of the 3D window, inside a green rectangle, a image fragment from the yellow rectangle will be displayed. Pay attention that the entire frame is shown with a resolution lower than specified 2048x1536 and only the fragment from the yellow rectangle is shown with the actual resolution 2048x1536.
|
Place the yellow rectangle on the image area which should be seen with the real resolution, by clicking the middle mouse button (wheel).
The PiP mode offers flexible setting. You can specify which image will appear in the whole frame, but which in the small picture, you can adjust the position and size of the small picture, you can additionally magnify the fragment in the small picture.
5. To change PiP setting:
| • | By right click on the 3D window open the Image parameter panel. |
| • | Chose PiP tab. Clear the According to camera parameters box if it is checked. |
See PiP for details.