Improve Computer Visualization of Architecture Based on the Bayesian Network

2019-02-28 07:08TaoShenYukariNagaiandChanGao
Computers Materials&Continua 2019年2期

Tao Shen , Yukari Nagai and Chan Gao

Abstract: Computer visualization has marvelous effects when it is applied in various fields, especially in architectural design. As an emerging force in the innovation industry,architects and design agencies have already demonstrated the value of architectural visual products in actual application projects. Based on the digital image technology, virtual presentation of future scenes simulates architecture design, architectural renderings and multimedia videos. Therefore, it can help design agencies transform the theoretical design concept into a lively and realistic visual which can provide the audience with a clearer understanding of the engineering and construction projects. However, it is challenging for designers to produce satisfactory renderings due to the frequent fault data during rendering. In this paper, we use the 3Ds MAX as the operating platform and we present an algorithm based on the Bayesian network to construct a vector representation of the fault data. On this basis, a case study of 3D Max’ application has also been presented.

Keywords: 3Ds MAX, architectural visualization, application, geometric reconstruction,Bayes.

1 Introduction

In the field of traditional architectural design, designers only use a few sketches to convey to the audience, which means the audience basically cannot witness the design process, except some communication with a few professional terms, such as cuboids,equilateral triangles, trapezoids and so on. With the birth of new media, audiences are not satisfied with the form of expressing the deducing results through traditional data and texts [Stephygraph and Arunkumar (2016)]. Therefore, the characters, symbols and mathematical equation need to be represented in visual images so that human thinking modes can quickly understand the space establishment [Kurup, Sullivan, Hannagan et al.(2017)]. With the increasingly powerful computing speed and massive storage space of computers, people can operate multi-dimensional simulation technology more quickly and easily, since the design process of computer data can be established in short order,making many abstract calculation processes visual forms through the visual image. The results can also be predicted in advance that it will be more easily for people to modify their design and also for audiences to understand designers’ ideas.

Computers have become a new media tool between architecture and the natural environment. Currently, the computer simulation technology of the building environment has been applied to many architectural designs. The development of computer technology has realized the visual design. Based on the 3Ds MAX operating platform and the examples concerning the production process of indoor and outdoor renderings and roaming animations, we investigated the application of 3Ds MAX in architecture visual design.

In 1990, Autodesk Software Development Corporation launched the first animation design software 3D Studio, also known as 3Ds Max or MAX, which is a 3D animation rendering and production software developed by the company based on the personal computer system. It consists of modeling, animation, material setting and rendering scheme with excellent function and applicability of human-computer interaction [Dalia,Yingyue, Daniel R et al. (2015)], and many customers around the world now use it.

3Ds MAX has been used as the 3D software since the appearance of architectural visual design. As the leading software in 3D production, it has significant functions, and it is mainly used for architecture renderings and landscape tours production in the architecture visualization process. However, it is difficult for designers to produce satisfactory renderings due to the frequent fault data [Ghebrebrhan, Aranda, Walsh et al. (2017)]. In this investigation, we improve this situation by presenting an algorithm based on the Bayesian network to construct a vector representation of the fault data.

2 Bayesian architecture visualization model based on geometric reconstruction

The algorithm is summarized as the followings: (1) through the geometric reconstruction process of the Bayesian network [Song, Li, Gu et al. (2016)], the redistribution and reimplementation [Arunkumar, Kumar and Venkataraman (2016)] of the information contained in the network model can be realized, as well as the centralization [Arunkumar,Kumar and Venkataraman (2016)] of distributed information. Thus this algorithm enables a few model nodes to contain most of the fault data information; (2) the fault signal can generally be described with the multivariate form of the Gaussian function to construct a vector representation of the fault data with sparse features. It can be assumed that in the subnet area, there is a right-angle projection problem, which is, then the vector representation can be expressed as follows:

In the vector representation, the number of zero elements is. Meanwhile, the number of non-zero elements is k,and the parameteris a non-zero block in the fault data, whose size is k. Therefore, a Gaussian distribution may be used to construct a multivariate representation model specifically:

Theorem 1: The posterior density vectors that are presented in visual data parametersof architecture function also satisfies Gaussian distribution features. Its Gaussian matrix is, whose mean and variance of make up a matrix in the following forms:

Among them, the dimension of the matrixis, which means intercepting the first k columns of data in the matrix.

Prove: Assume that the calculation equation of the probability density in the observation matrixandis:

Based on the Bayesian rules [Arunkumar, Jayalalitha, Dinesh et al. (2012)], the posterior distribution calculation model of the visualization model of architecture function can be obtained:

The Fourier marginal likelihood constant used in the equation is mainly used to normalize the posterior distribution of the architectural function visualization model. The calculation form can be expressed as follows:

Substituting Eq. (6) into the posterior probability parameter in Eq. (5), the improved equations are:

Thus, the calculation equation of the posterior distribution parameter of the architecture function visual model in Gaussian function is:

In the equation,

Theorem 2: The maximum likelihood estimation is used for conducting the learningprocess of the parameter in the architecture function visual model according to the following rules:

Prove: Maximum Likelihood Estimation algorithm mainly includes two main processes during the execution: E-estimation and M-estimation.

(1) E-estimation: use the expectation function to calculate the mean of the likelihood function of the architecture function visual model:

(2) M-estimation: use the optimization calculation process to selectto maximize the value of the following model:

Through the parameter simplification process, a simplified model of the parameterin the model of Eq. (18) can be obtained in the form:

We conduct the derivation process on the parameter itemand set its value to 0 to get the following model form:

In the diagnostic model, we also take into account the value of the parameter, Eq.(20) can be simplified as follow:

Simultaneously, we establish the following relation:

Therefore, the equivalent form of Eq. (21) is:

In the equation, the parameter itemandcan obtain the estimation result based on the calculation process shown in Eq. (11). Through the partial derivative process, the training calculation form for the parameter itemcan be obtained as:

Similarly, it can be calculated that the formis satisfied.

In addition, in order to improve the diagnostic performance of the architecture functionvisual model, the improvement measure taken is to define the valuing form of ,adopting the model structure with symmetrical form, with the composing elementsandof the matrix and then construct a model of non-zero elements in the matrix, adopting the calculation model of first-order autoregressive model. The calculation form ofis:

In Eq. (25), the parameter termis the mean of the diagonal elements of the matrix, and the parameter termis the mean of the diagonal elements of. Algorithm 1 shows the details about how to improve the algorithm.

?

?

In the model construction of the Bayesian geometric reconstruction for the architecture function visual model selected above, there are two loop processes nested, so the computational complexity of the algorithm can be analyzed based on these two nested loops. The computational complexity of the previous cycle is 1: L, and that of the lattercycle is 1: K. Therefore, the computational complexity of the outer cycle is,the computational complexity of the inner cycle is, and the overall computational complexity is

3 Bayesian architectural visual design

From the process of abstraction to figuration, the design concept is more intuitive and persuasive. Visualized products for architectural design can also be considered as a form of media, which has the characteristics of outstanding mass communication. Architectural design visualization products, no matter architectural renderings and real estate or film and television animation, are all targeted at specific audiences, enhancing the effectiveness and accuracy of information through disseminating certain information and using different visual means, and thus achieve the expected results [Yingyue, Qi, William et al. (2016)].

The architectural visual design mainly includes these following contents: indoor 2.2.

3.1 Indoor and outdoor rendering

The indoor rendering is a kind of form that an interior designer describe abstract thinking with the 3Ds MAX production software for creating an interior model and with Photoshop software for post-processing, transforming the abstract thinking language into the visualized language. It gives people a clearer understanding of the design concepts as it truly reproduces the designer’s innovation through the faithful representation of various elements such as color, texture, shape, structure, etc. [Stephygraph, Arunkumar and Venkatraman (2015)].

The outdoor rendering is mostly similar to the indoor renderings, except that the outdoor renderings have more details such as the background elements of the blue sky, white clouds, trees, pedestrians, roads, etc., but these factors all can be post-processed by Adobe Photoshop software. In 3Ds MAX software, designers need to complete the building. However, it should be noted that there are no fixed equations, no matter whether it is an indoor or outdoor rendering, the processing methods need to be adjusted according to the actual situation and need to be changed randomly. Therefore, designers can produce satisfactory renderings.

3.2 Architectural roaming animation

The architectural roaming animation, also known as real estate animation, uses the 3Ds MAX software to create a virtual building environment on the computer, with the location,building appearance, interior decoration, landscape and supporting facilities, then designers import virtual figures and animals into sequence images rendered by 3Ds MAX software.3Ds MAX software is also used to create animation effects such as wind, rain, thunder and lightning with its particular flow system, presenting every scene dynamically in the building roaming animation [Jennifer, Yingyue and Kathryn (2015)]. The post-processing uses the perspectives, close-ranges, close-ups, panoramas, etc. to express the depth of the animation, so that the audience can browse from any angle at any spot.

3.3 Virtual reality

Virtual Reality was developed by U.S. programmer Lannir in 1989 to use computer technology to generate a realistic 3D visual, auditory, tactile or olfactory sensory world,allowing users to take advantage of natural skills and some devices that make browses and interact investigation to the objective virtual world from their own point of view. It compares virtual reality with human senses [Fernandes, Gurupur, Sunder et al. (2017)].

Virtual reality basically includes three elements. The first element is immersion, also called sensation, which refers to the degree of reality that users feel as a protagonist in the simulated environment. The second element is interaction, which refers that users can communicate interactively with the virtual reality scene, therefore the virtual reality must percept what the user knows, feels, and thinks. The third element is imagination; this element can be sensory or psychological. The sense of presence and participation here is judged based on the user's personal psychology [Jennifer, Yingyue and Kathryn (2015)].Virtual reality can fulfill people's dreams that cannot be accomplished in the real world. It can not only reproduce the real existing environment but also can create the virtually nonexistent.

4 Case study: architectural indoor rendering

Now we report a case study where the algorithm based on the Bayesian network was used to avoid the fault data during rendering with 3Ds Max. The rendering result demonstrates the effectiveness of this algorithm.

4.1 3Ds MAX in producing an indoor rendering

In-line equations/expressions are embedded into the paragraphs of the text. For example,. In-line equations or expressions should not be numbered and should use the same/similar font and size as the main text.

4.2 Display style

(1) Making the main contour model

In the modeling of architectural renderings, we first made the main contour model as shown in Fig. 1.

Figure 1: The main contour model

(2) Attaching the texture

Because the case is an indoor rendering, a V-Ray plug-in needs to be installed to the produced model.

(3) Light setting

The effect of the material of the interior architecture is represented by light. In the 3Ds MAX, the lighting settings should not be random. On the contrary, the lighting plan for the entire indoor scene should be done first.

(4) Creating camera

Before rendering, the camera should be created and adjusted through the height of the camera determination, rendering angle observation, rendering parameters adjusting, and then the image can be outputted and saved, as shown in Fig. 2.

Figure 2: Rendering parameters setting

(5) Post-processing

Post-processing of interior renderings is generally performed in Adobe Photoshop software, as shown in Fig. 3.

Figure 3: Final computer visualization

The connotations and cultures represented by different styles of indoor effect pictures are various, so when expressing interior design, the choice of style should be based on different cultural connotations. In the production of such an indoor rendering, it is necessary to understand the structure of the house and design according to the floor plan of the house first. Besides, it is also essential to get familiar with the various modeling tools in 3Ds Max. At last, expecting results can be achieved just according to creativity.

5 Conclusions and prospect

3Ds MAX three-dimensional software has been used since the beginning of architectural visual design. As the major software in 3D production, it has greatly important functions.

The fineness of the architectural model and the fluency of the architectural animation all depend on 3Ds MAX. Because of Bayesian 3Ds MAX running through the entire process of building visual design, the operation of this software is complex to some extent.What’s more, knowledge of other subjects is also incorporated with it, which is not easy to master completely. In short, because of the difficulties mentioned above and the limited ability of us, this paper still needs to be further improved in many aspects.However, due to the recognition of the practical value of Bayesian 3Ds MAX applied to architectural visual design, we tried our best to meet the challenge and attempted to complete the research. We hope to start a more professional discussion that could provoke more profound mature research in the future.