Support Topics
Supporting themes / UC-win/Road Maintenance and support service related information
City DesignTools Vol.5 (Total 7 times) ImageToFacade
  I am Kobayashi from Arizona State University. I would like to introduce the CityDesign tools that Forum8 has made public. Forum8 aims to develop a suite of seamless city data generation and transformation tools using VR-packaged UC-win/Road and other 3DCG packages. The source code for the tools introduced here will also be made public. Since there is currently no specific support, we may inevitably have to take responsibility for any problems that arise, so please bear with us. If you are interested in reports related to architecture and civil engineering, and would like a simple tool compatible with your company's systems, please let us know.
 Tool automatic generation tools
  In the previous installments, we introduced tools such as PovrayToMax, ImageToTerrain, AnimatedCharacte, and ImageToCity. This time, for the fifth installment, we will introduce a tool that generates building facades from images, called ImageToFacade. Like the previously mentioned tools, this one is developed as a plugin for Autodesk's 3dsMax.

  The ImageToCity tool, which I introduced previously, generates entire cities automatically in a short amount of time. However, the facades and designs of the buildings are determined randomly, meaning the computer makes arbitrary design choices. While this is suitable for creating city data for hypothetical worlds in games, it's not ideal for generating realistic urban data for practical applications. Therefore, it's necessary to create each building realistically. Furthermore, unlike Hollywood films and game development, VR city data must be created quickly within a limited budget. To meet these needs, I developed the ImageToFacade tool, which I am introducing this time. This tool is different from previous tools in that it is a "tool for automatically generating tools."
 The design is?
  Before introducing the tools, let me briefly discuss the design aspect. I have been involved in design education for over 20 years, starting with my studies in architecture at university. I would like to share some topics that have left a lasting impression on me.
 
  In mathematics, two methods, deduction and induction, are particularly well-known. Deduction is"Sample problems" use "solution methods" to obtain "answers"Deductive reasoning methods. Induction isObtain "solution methods" from the "answers" and "example problems"It is a type of inference method. Another combination is..Example problems are created based on "solutions" and "methods"The above describes the design process and its associated actions.


  From elementary school to university, we spend a significant amount of time learning deductive reasoning. For example, problems like "3 + 5 = ?" or "12 + 3 = ?" involve training in deriving answers based on the rules of addition. On the other hand, at the graduate level, the focus shifts to inferring rules and regulations, and testing hypotheses (inductive reasoning). For instance, if the answer to "3 @ 5" is 8, and the answer to "12 @ 3" is 15, then what rule governs the operation represented by "@"? Based on the above definition, a design in this context would be an action that satisfies an addition operation resulting in an answer of 8 (or 15). While the design may appear unrelated to mathematics, I believe it has a close relationship with deductive reasoning in mathematics (potentially). In the future, explaining designs using mathematical methods will become one of my research goals.

  The purpose of deduction is to obtain an answer in a short amount of time, while the purpose of induction is to find a solution using general principles. So, what is the purpose of design? In reality, as everyone knows, it's about creating attractive ideas. Creativity is essential when trying to solve problems that have remained unresolved for many years. I believe this has a strong connection to design ability.

  Here's an example of an addition problem with the answer being 8: "2+6" and "1+7" are not particularly original. However, if a child learning addition provides examples like "1+1+6," which involves three addends, we can recognize its originality. A single example can lead to the creation of many other examples, and this is why originality is important. Therefore, I am considering developing a tool that supports "originality."
 Original support tools
  As I mentioned earlier, the design is like solving example problems. So, what kind of tools support originality and help create good examples? Researchers in various fields are studying "creativity," but for me, what's unclear is why creativity is necessary, because whether something can be an original work depends on the creator. Therefore, I believe that tools are needed that don't compromise originality. This time, I made the following assumption: "Tools that support originality should allow creators to make free and flexible decisions and choices, and also enable them to easily change things."

  Next, let's talk about makeup bags. I don't wear makeup myself, but many women have makeup bags filled with various cosmetics. For a makeup expert, a makeup bag is like a magic pouch, allowing them to efficiently use numerous cosmetics for makeup application, and then organize and store those products. Similarly, when adding new equipment, we often adjust the setup to meet client needs and work requirements before starting. In my ideal combination, design tools are essential. If this combination were used in creating building facades, I would recommend the following tools.

  • The designer first prepares the images used for creating the front-facing design.
  • The prepared images will be saved to a separate folder, and their arrangement can be changed to suit the workflow.
  • The 3D data generation tool (interface) that creates models from image sets will automatically generate them (each image can be processed with a single button).
  • The method of using the generated tools always remains the same, so there is no need to spend time learning how to use them.   

 Manufacturing process
Here, I will explain the actual workflow.
1) First, the user should carefully observe the front view of the town building they want to create. Then, they need to extract image data such as segmentation plans and window proportions, and save all of this information into the same folder.
2) Use this plugin to specify the folder where files will be saved.
3) Automatically generate button groups from saved images.
4) When using it in practice, select the Quad grid and then choose an image button.
5-6) The selected quad mesh is divided again. The height information is calculated using an uneven distribution based on the image's alpha information, with 128 (the median value) as the reference point for 0. It is necessary to specify whether the unit of measurement is inches or meters. By default, it uses inches (see Figure 1)
■Figure1 Manufacturing process
  There are some limitations when creating images. First, the image is divided based on color differences. When anti-aliasing is enabled, it splits each pixel, so it should be disabled in such cases.

  Furthermore, pure colors such as black (RGB) = (0, 0, 0) and white (RGB) = (255, 255, 255), etc., should be avoided when using material IDs and window shape deformations.
 Sample images
  The user research topic shown to students in a class at Arizona State University is illustrated in Figure 2. Students who have not previously used 3ds Max can create the following building structure in approximately 1 hour.

  Since they were not all students in design-related fields, at first, it seemed like they didn't quite understand how to simplify a building. So, we started by providing some examples, and then they gradually understood the process while enjoying the creation itself3D buildingsIt is output as an FBX file and then imported into UC-win/Road.
■Figure2. Student works

  In addition, the Venice street models that were displayed at the summer workshop were also created using a series of images as shown in Figure 3.

■Figure3 Images of the front view of the Venice street model  

  Creating the final model (right) from the simple model shown in Figure 4 (left) takes less than 15 minutes.

■ Figure 4: Streets of Venice

  In addition, the 3D models used for the covers of books published by Forum8 were also created using this tool (see Figure 5)
■Figure5 Automatically generated city models and corresponding sets of 12 images

 End
  Preparing a simple set of pattern images using self-made tools allows for flexible adjustments, and with a single click, it becomes possible to determine the geometric data of the building's facade and its materials. Next time, we will introduce BakedTexture, a tool that generates ambient occlusion textures to improve the appearance of buildings in VR space.

Supported Themes / UC-win/Road Maintenance and support service related information
Supercomputer cloudTM
CGRendering services

 Start
  The "CG Animation Service" offered by Super Computer Cloud (TM) provides services that utilize three-dimensional virtual reality data created with UC-win/Road. This data is output using the free 3D graphics software POV-Ray for ray tracing, and high-resolution animation files are generated. A key feature of ray tracing is its accurate calculation of the appearance of materials exposed to light; however, generating a single image can sometimes take several hours or even days. Previously, UC-win/Road had a function to output spatial information in POV-Ray data for creating high-quality static images, but this was not used for CG animation creation due to the long rendering times. The use of supercomputers significantly reduces rendering time, enabling the creation of high-resolution animations that are impossible to achieve with ordinary computers and UC-win/Road alone.

 Service process
  In the creation of animations, it is necessary to implement additional settings for use with POV-Ray within the VR scenes created using UC-win/Road. After setting these parameters, test them by outputting static images using POV-Ray, and then determine the POV-Ray settings and special effects. Adjust the animation content and any necessary corresponding elements, as well as scripts, etc. The POV-Ray settings can be corrected in the script file after output, allowing for flexible editing of the settings. After adjustments are complete, input each frame of the animation into POV-Ray, and simultaneously use the outputted AVI files and frame images to roughly confirm the final AVI. Once all confirmations are completed, rendering is performed on a supercomputer. The results of the rendering are then used to create and edit the final product, such as a DVD disc.
 POV-RayTarget setting
  POV-RayThe UC-win/Road software, utilizing the POV-Ray plugin, allows for adjustments to various elements such as object shape, surface properties, atmospheric effects, light sources, and camera position, enabling users to confirm and add settings to the displayed images. This document details several potential items that can be added in UC-win/Road, describing how to display setting screens and providing basic parameters.

Surface characteristicsIngredients)Excellent performance
  POV-RayThe surface material (texture) information of the defined object is rich in data and can be accessed through scripts. This information can be edited using the "3D Model Editing" dialog box in UC-win/Road. By clicking on the "Texture" tab within the POV-Ray tab, you can modify the texture, Surface material and transparency settings.
■Figure1 The specification of materials for the car body

Light sourceExcellent performance
  POV-RaySupported light sources include point lights, area lights, and spotlights. When using 3D models of streetlights, lighthouses, etc., as light sources, the "Edit 3D Model" dialog box allows for editing. Furthermore, in the "Animation" settings of the model editing screen, it is possible to represent the movement and rotation of the light layer, and also to create dynamic effects such as the rotating beam of a lighthouse.
■Figure2 Lighthouse light source settings ■Figure3 Lighthouse fog settings

WaterThe representation of reflections and ripples
  POV-RayOptions: The water surface in UC-win/Road can be rendered more realistically. Settings related to the reflection and ripples of the water surface are also adjusted through the "POV-Ray" button within the "Lake Editor" dialog box that appears when selecting a lake.

■Figure4. Water surfaceOceanicPOV-RaySettings

 Regarding animation output
  POV-RayThe animation output resolution and frame rate options include LowRes (512*384 at 15fps), DVD resolution (720*480 at 15fps), and Blu-ray resolution (1920*1080 at 24fps). It is also capable of outputting ultra-high resolution animation in 6K (5760*2160) for use on large screens. When using the 6K resolution, the uncompressed data size would be 1GB per second, making it impossible to play back with standard animation playback software; however, highly efficient data compression is currently being implemented.


■Figure5 InPOV-RayUpper editing building, Vehicle materials, Rendering
■Figure6 InPOV-RayEditing vehicle materials and rendering  
■Figure7 InPOV-RaySet the light source as specified abovewaterReflexive action, Rendering
Up&Coming '11 Late AutumnIssuing and publishing)
Return
Up&Coming

FORUM8