| Create high-precision VR movies |
The "CG Movie Service" of Supercomputer Cloud® is a service that uses UC-win/Road to create movies using ray tracing technology. It utilizes POV-Ray as the ray tracing engine.
The biggest feature of ray tracing is its ability to accurately calculate how light and materials appear, but it can sometimes take several hours or even days to generate a single image. While there has been a function previously available in UC-win/Road to output VR space information to POV-Ray data files for generating high-quality still images, it could not be used for creating CG movies due to the long rendering times.
This service utilizes a supercomputer located at the FORUM8 Supercomputing Cloud Kobe Research Center, which significantly reduces rendering time.
To create a movie, UC-win/Road is used to generate content, and POV-Ray data files necessary for rendering are outputted frame by frame. This allows the VR space used for real-time simulations in UC-win/Road to be rendered.
Furthermore, by leveraging the spatial creation functions built into UC-win/Road, it is possible to create more detailed 3D spaces and corresponding CG movies than those created using real-time data.
|
| Video creation service process |
FORUM8 has started offering video creation services using ray tracing as part of its data creation efforts (Figure 1).
- Create a scene for UC-win/Road
- The program was used to experimentally output still images from UC-win/Road, and the POV-Ray settings and special effects were checked
- Adjustments were made to the video content, and scripts and other materials were prepared as needed
- The video frames are output to POV-Ray, and simultaneously, AVI files and individual frame images are generated. This allows for a rough preview of the final AVI file.
Depending on the situation, repeat steps 3 and 4
- The POV-Ray output data was transferred to the Kobe Institute, where it was rendered on a supercomputer
- After rendering, reconstruct the AVI file and edit it as needed
- Final delivery will be on DVD discs, etc.
 ■Figure 1: The process of creating videos for CG movie services
|
| POV-Ray is a ray tracing software |
POV-Ray (Persistence of Vision Raytracer) is a free 3D graphics software capable of generating realistic still images.
Engines exist for various platforms, including Windows, Unix, and MacOS. To create a single image, multiple pieces of information are created in text files with a specific script format, and then rendered using POV-Ray.
For information and sample scripts related to the format used in POV-Ray, please refer to the official POV-Ray website. The main elements are as follows:
1. 1. Object shape
2. Surface characteristics
3. Atmospheric effects
4. Light source
5. Camera position
Object shape
POV-Ray has a wealth of material information, defined as surface properties (textures), available in script form. For example, materials can represent wood, rock, metal, and more (Figure 2). While it's possible to achieve realism by using these default settings directly, writing scripts allows for the free definition of materials. Materials can be made transparent, or they can be defined using bitmap files.
| Marble |
Metals |
 |
 |
■ Figure 2: Examples of surface materials
Greenhouse effect
POV-Ray allows you to add atmospheric effects, such as fog. You can configure it to apply these effects to the entire scene or only around light sources like streetlights, creating halos.
Light source
POV-Ray supports point light sources, area light sources, and spotlights (Figure 3). If there are no light sources present, the scene will be completely dark.
| Marble |
Metals |
 |
 |
■ Figure 3: Example of light source settings
Shadow tracking
Ray tracing method: This refers to a technique that calculates the reflection and refraction of light from the camera's position, determining the final color for each pixel in the image. While tracking light is the most important aspect of rendering a scene, POV-Ray supports this ray tracing method as a common approach to light tracking (Figure 4, left).
Radiosity method: While ray tracing alone can produce a significant degree of realism, the radiosity method calculates the light emitted from surfaces based only on the light sources, and does not consider the reflection of light from the light source onto internal surfaces that might then illuminate other objects. As a result, it creates a solid-looking image.
To soften this effect, the Radiosity method is used. It allows for a representation where the illuminated surface appears to be receiving soft light from indirect illumination, as if it were radiating light itself. POV-Ray also supports this Radiosity method (Figure 4, right).
| Examples of ray tracing methods |
Examples of the Radiocity method |
 |
 |
 |
 |
■ Figure 4: Example of shadow settings
Reflection of water, ripples
It is possible to set reflections on water surfaces such as lakes and ponds, as well as ripples caused by wind.
|
UC-win/Road already supports AVI file output and POV-Ray output through plugins, but we have made revisions in preparation for the launch of this CG movie service.
AVI options and POV-Ray options have been integrated into the movie options
To output POV-Ray scripts for each frame of a scene, we have integrated the AVI options and the POV-Ray options as movie options.
In the AVI-Option settings screen, based on the size and frame rate (FPS) you have configured, the system outputs frames to an AVI file and simultaneously exports individual frames as scenes to a POV-Ray script. At this point, in addition to adding frames to the AVI file and exporting them to POV-Ray, image output of the AVI frames is also performed. By utilizing these AVI files and their frame images, you can verify what kind of content the movie will contain. Furthermore, it continues to support POV-Ray output for each scene as before.
Output target object
The objects that can currently be exported from UC-win/Road to POV-Ray are as follows.
- Terrain, sky, sun, roads, 3D models
- 2D trees, 3D trees, road signs
- MD3 characters, lakes, backgrounds, flags
Processing details
Before generating POV-Ray scripts for individual frames, the system first outputs POV-Ray scripts for static objects. When outputting data frame by frame, the position and orientation information of these static objects are set as part of each frame's data. While moving the camera, the system generates instance information for objects within the camera's field of view, all while enabling scripts, traffic flow, and environmental effects. By setting object positions and orientations that change constantly, it is possible to render a scene representing the state at that specific moment (Figure 5).
Regarding the MD3 characters, we output the coordinate information of each animation frame for each model along with the skin data in advance. During actual scene rendering, this data is used by setting the frame number accordingly. This reduces the rendering time for each frame. Furthermore, the display and drawing options for landscape models are supported, so settings made during video creation are also reflected in the POV-Ray script.
Furthermore, when outputting frames, it is also possible to simultaneously output frame images that can be used in AVI files.
 ■ Figure 5: Example of a POV-Ray project file
Operating instructions
After loading the data, the script will output POV-Ray scripts for each frame according to the following procedure.
 ■Figure 6: Example of an operation procedure for POV-Ray project files
Operation details
AVI options
Set the image size and frames per second (FPS).
POV-Ray options
This section allows you to configure various settings for POV-Ray as a whole, including the use of the Radiosity method, the maximum trace level, the object output range, and how it handles mist.
Movie options
Set the output folder for AVI files, AVI frame images, and POV-Ray script data. If no folder is specified, it will default to <user data folder>\Movie. Additionally, this screen allows you to select which of the 3 types of data to output, and you can specify the output targets by checking the corresponding boxes.
 ■ Figure 7: Movie Options Screen
Output of static objects
"Tools" - "Export Static Models to POV-ray" allows you to output information about static models, as well as information about the model portion of dynamic models. When using this function, the frame number is reset.
Video output started
Selecting "Tools" then "Start AVI recording" will initiate the output of frame information, which will be added to a folder one frame at a time.
Video output complete
"Tools" - "Stop AVI recording" will end the output. At this point, the AVI file is finalized. The AVI files are named in a way that indicates the starting and ending frame numbers. If you select "Start AVI recording" again in this state, creation will begin from the frame number at that moment.
Regarding traditional POV-Ray output
Selecting "Tools" -> "Export To POV-Ray" will continuously output the static objects, specifically Frame1, and generate a POV-Ray file at that moment. The resulting image after rendering will be the same as with traditional methods.
Internal folder structure
When you set the output destination in the Movie Options screen, the following folders will be created. The appropriate files will be output to each folder.
 |
|
AVI:
An AVI file will be output.
The start and end frames will be included in the AVI file name.
AVIBmp:
Each frame image used in an AVI file will be output as a .bmp file with the frame number appended to its name.
By using this image and the video above, you can get an overview of the results generated by POVRay in AVI format.
Base:
The static object information from the POV-Ray data will be output as a script.
FrameNNNNNN (where N is a 6-digit integer):
Dynamic data containing POV-ray project information for each frame number
Output as a script. |
| ■ Figure 8: Folder structure |
|
 |
 |
 |
| ■ Figure 9: Results of POV-Ray rendering |
|
| Currently, it supports POV-Ray output for version 5.02.00. In the future, we plan to support objects that are not currently supported (FBX objects, 3D text objects, etc.). We also plan to improve the system so that settings on the UC-win/Road side can be directly reflected in POV-Ray. |
| (Featured in the Autumn issue of Up&Coming '11) |
 Up&Coming
 |
|







>> Product comprehensive catalog

>> Premium membership services
>> Financial support
| Recently released products |
|
|
|