| Support Topics | ||||
|
||||
I am Kobayashi from Arizona State University. I will be introducing the CityDesign tool, which is publicly available from Forum8. We are dedicated to developing a suite of tools for seamless creation and transformation of urban data between UC-win/Road and other 3DCG packages within Forum8's VR environment. Here, we will also publicly release the source code of the tools. However, please understand that this is not specific support, and we may not be able to take responsibility for any issues that arise. If there are simple tools available that would be suitable for your company, please contact us. |
| Tool automatic generation tools |
| For the sixth installment, we will introduce "BakedTexture," a tool in this series that utilizes environmental and occlusion effects to generate textured models with shading. This tool was developed by Autodesk as a plugin for 3ds Max. By slightly modifying the textures of 3D objects, you can significantly improve their appearance. Environmental and occlusion effects have almost become standard features in all 3D software. This tool doesn't require understanding complex processes to achieve good results; it only requires a single button to deliver excellent performance. Therefore, anyone can use it. In practice, the process of incorporating textures into a 3ds file during rendering in 3dsMax and then saving that data for use with UC-win/Road requires considerable knowledge and experience. Furthermore, when performing texture rendering using the existing 3dsMax interface, it is essential to calculate the environmental and occlusion effects for each building. Similar to VR city data, achieving this requires considerable effort when dealing with a large number of buildings. Using the tools developed here, selecting multiple buildings automatically generates a set of 3DS files containing textures for all buildings, including environmental and occlusion effects. |
| Ray tracing rendering |
| Before introducing the tools, let's briefly explain baked rendering and environmental/occlusion effects. Baked rendering refers to calculating typical shading textures (shadows, highlights, reflections) and then reusing this effect as a texture. In VR (virtual reality) environments, these shading effects are usually calculated in real-time. However, because shadow calculations consume a significant amount of time, it has been common practice to use static objects from the beginning to render shadow textures. A typical three-dimensional model consists of geometric information and material information. Geometric information includes vertices, edges, and meshes. Material information comes from various pattern domains; previously, UC-win/Road used one pattern (two patterns were used for things like moving water). In the current version, Diffuse, Ambient, and Specular can utilize three patterns each. A texture (image file) can be assigned to each pattern domain. The Diffuse pattern displays a texture representing basic color information, the Ambient pattern displays a texture representing the color when light is not shining, and the Specular pattern displays a texture that represents material gloss as a grayscale image. Modern 3D games can use over 200 pattern domains, and using more pattern domains consumes more time. Therefore, to visualize VR spaces containing large amounts of data, using a single pattern domain is the best approach. Shadow baking textures have been used since the 1980s. |
| Environment/Isolation |
| The method for creating the wood grain texture involves manual techniques |
The following steps are necessary to actually create an AO (Ambient Occlusion) effect using baked textures.
To achieve the best results, the initial environment settings are crucial. If the rendering is not good at this stage, even with great effort, a satisfactory ambient occlusion (AO) effect will not be achieved. If there are no errors in subsequent steps, it is possible to create a 3D model with a strong AO effect. Here's an example of one important point to consider. The UV patterns for diffuse, ambient, specular, and other texture mapping areas can only utilize one pattern in UC-win/Road. The number of patterns and channels is 1 (the number of utilized UV patterns is referred to as the pattern channel count). This means that in UC-win/Road, the texture's pattern and channel can only be assigned to channel number 1. It is not possible to create separate UV patterns for diffuse textures and specular textures. Recent 3D software allows the use of multiple patterns and channels; if a script uses pattern and channel number 1, and a newly baked texture uses channel number 2, then even when imported into UC-win/Road, be aware that the content of the script's texture mapping will also be output.
|
||||||||||||||||||||
| Example image samples |
| We will introduce a sample model that imports simple pattern images created using preparation tools into UC-win/Road. At the Fifth International VR Symposium held in November 2011, the author presented a model of a Japanese city. This model was automatically generated using geometric data with the tools previously introduced. While this direct application to UC-win/Road can achieve good results, even better results can be achieved by using baked textures with AO effects. |
| End |
In this session, we will introduce the BakedTexture tool, which improves the appearance of buildings in VR spaces. The BakedTexture tool utilizes environmental and occlusion information to generate textures that enhance this effect, and these textures can be exported as data usable within UC-win/Road.
|
||||||
|
||||
| Animation compression |
When the size of an animation file is large, it is usually compressed before recording. In uncompressed AVI format, each frame of the static image is compressed. For example, with a resolution of 1024x768 pixels (RGB 24-bit) at 30 frames per second (fps), each static frame requires approximately 2.3MB. Therefore, one minute of video would result in a file size of approximately 4GB or more. When recording animation using UC-win/Road under such circumstances, it is necessary to specify the data compression format. The "Codec" column in the "AVI Options" section displays the types of codecs installed on the computer, and you should select the codec to be used for compression.
|
||||||
| Codecs and containers |
| A codec (Compression/Decompression) is a program that compresses and decompresses data. When generating animations, it's necessary to use codecs of the same type as those used during creation. Animations compressed using codecs installed by default in Windows can be played on other Windows machines at the delivery location without requiring the installation of new codecs. In Windows 7, standard codecs such as DivX and Xvid have been added. Codecs not only exist for video but also for audio compression/decompression, such as MP3 and AC-3. Video codecs and audio codecs correspond to their respective purposes; for example, a "video DivX, audio MP3" combination can be used for compression. The compressed data is maintained in a file format called a "container" format. In addition to images and audio, it also supports various types of data necessary for displaying chapters, subtitles, and synchronized information. The arrangement of data within the container configuration file is organized as a single file, which can be considered a data containment vessel. It's difficult to determine from the outside which codec was used to create the data contained within. A representative example of a container is AVI; whether the codec is DivX or Xvid, the extension within the AVI container format remains .avi. Currently, many codecs are being developed for various media such as mobile phones, digital cameras, and DVDs, as well as for animation distribution platforms like YouTube. These developments aim to optimize the balance between compression rate and image quality based on specific use cases. It is not possible to determine the capabilities of an animation codec simply by examining its specifications; therefore, convenient codec identification tools can be used. |
| Encoding and decoding |
The codec consists of 2 components: an encoder and a decoder. The encoder performs the compression (encoding) function, while the decoder performs the decompression (decoding) function. A codec can contain both of these components, but codecs containing only one of them also exist. While it is possible to play back animations on a computer, it may not always be possible to create (compress) animations in the same format. For example, even if a system has the ability to reproduce DivX files on Windows 7, installing the DivX codec (encoder) may still be necessary when creating such animations. These codecs can often be downloaded for free from the internet.
|
| Up&Coming '12, New Year's publication and distribution |
![]() |