Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com Volume 2, Issue 3, May June 2013 ISSN 2278-6856
Development of an Intelligent Virtual Environment for Augmenting Natural Language Processing in Virtual Reality Systems
Dr. R.S. Kamath1 and Dr. R.K. Kamat 2
Department of Computer Studies Shahu Institute of Business Education and Research Kolhapur, India Department of Electronics Shivaji University, Kolhapur, India
2 1
been done to design an interface that will bridge the gap between the NLP and VI. The objective of the research work presented here is to develop an IVE suite intended for digital scenario visualization which will serve as a natural language interface for VR systems. The significant advantage of the integration is the shortening timeframe for the construction of virtual world due to the natural advantages of the NLP. The aforesaid convergence aspect forms the core of the research work presented through this paper. The IVE suite developed in the course of this work is a natural language text driven system to visually simulate the modeled operation in 3D virtual space. This suite has been designed to receive inputs in the form of English words. NLP module of this suite extracts commands out of given text. Text parser analyzes the inputted text and generates Rule base. Further the Rule base maintains sequence of the actions to Keywords: Intelligent Virtual Environment (IVE), be performed. Subsequently, the interface directs all these Virtual Reality (VR), Natural Language Processing visualization details to the renderer. Renderer displays the (NLP), Artificial Intelligence (AI) object with additional features as per input specified by the user. The IVE suite portrayed in this paper is 1. Introduction developed in Visual C Plus (VC++). The paper is divided Throughout the progression of the modern computing, amongst several sections. After introducing the theme, researchers are striving hard to nurture the systems the relevant literature review pertaining to the VR, NLP centering on the human being. This prevalent trend has led and AI has been taken. This is followed by the description to the development of some of the most innovative and of the functioning modalities of the development. culmination of many converging technologies such as Subsequently the advantages and future scope has been Natural Language Processing (NLP), Virtual Reality (VR) described in the concluding remarks. However it is and Artificial Intelligence (AI) congregating as Intelligent worthwhile at the outset to take a stock of recent Virtual Environment (IVE). The formal notion of the development related to the technologies enabling the IVE. Intelligent Virtual Environment as per the reported literature depicts unification of Artificial Intelligence and 2. Enabling Technologies For IVE Virtual Reality [1, 6]. It offers a much more sophisticated approach to user interaction leading to cover the new 2.1 Advances in VR needs of Human Computer Interaction [2, 9]. VR in this context achieves a feeling of immersion in the simulated Virtual Reality is the integration of computer graphics world [3]. Promoting the users ability to communicate in and various input and display technologies to create the natural language in the VR paradigm has been in the illusion of immersion in a computer generated reality. It forefront for quite some time [4] and the same has served is the use of computer technology to create the effect of an interactive 3D world in which the objects have a sense of as the motivation of the present work. spatial presence [21]. It makes the user to feel effectively However, despite the above mentioned efforts in immersed in a responsive virtual world. It achieves a integration of the technologies for extending the users promising way of interacting with computer applications with their natural communication, not much has so far and simulations. VR is a method of human-computer Abstract-We present development of a software suite
embodying Intelligent Virtual Environment (IVE) that provides Natural Language Interface for directly manipulation in the Virtual Reality (VR) paradigm. The work is motivated by the increasing convergence of Artificial Intelligence (AI) and the Virtual Reality archetypes supplemented and complemented with the emergence of the Natural language Processing (NLP). IVE suite portrayed in this paper enables the user to intermingle with the VR system in order to visualize scenarios in the most natural manner. The aforesaid suite captures text written in plain English as an input and translates it to a three dimensional (3D) object. After reading and interpreting the scenario, the system creates the virtual scene and the intended pertinent animation. The capability of natural language interface for VR systems is the most significant achievement of the present work which brings novel perspective in the field IVE.
Page 198
4. System Architecture
The purpose of the current research is to demonstrate and explore some of the capabilities of a NLP interface to a VR system. The architecture of IVE suite developed in this research is shown in figure 2. The required scenario is inputted by the user in natural language. Text parser analyzes the inputted text and generates Rule base. Rule base maintains sequence of the actions to be performed. Library is the repository CAD model requisite to generate virtual world. Interface directs all these visualization details to the renderer. Renderer displays the object with additional features as per input specified by the user. A 3D display is a prime part of this system that accounts for virtual reality. This section of the paper explains the detailed discussion of methodology carried out in the course of this research and execution of this IVE suite with example. Page 199
Figure 2 IVE Suite Architecture 4.1 User Input This suite is able to receive inputs in the form of natural English. User inputs the details of virtual scene in natural language. Thus IVE understands natural language giving users a more convenient way to communicate. Lets consider an example scenario, Display Sphere, Apply Material Bronze, Display-mode Wireframe, Isometric View, Apply Texture, 3D Vision A simple user-interface provides an easy way to input the scenario with parameters is shown in the figure 3.
Table 1: Attribute Value pairs for display of object Attribute Values Material Gold, Silver, Chrome, Emerald, Perl, Copper, Brass, Bronze Background Color, Image Outlook Wireframe, Vertices, Line View Front, Back, Top, Bottom, Left, Right, Isometric Tools Texture, Fog, Walkthrough VR 3D Vision Table 2: Information extracted by Parser Attribute Values Object Sphere Material Bronze Outlook Wireframe View Isometric Tools Texture VR 3D Vision 4.3 Rule Base Consists set of rules denotes the actions the renderer can take while working with the scenario. These actions when interpreted results to the production of virtual scenes by invoke of functions call. Rules are generated as per the sequence inputted by the user. It is referred to generate sequence of actions. Part of rule base generated in this example is, If (Material == Bronze), applyBronze() If (Outlook == Wireframe), applyWireframe()
Figure 3 Snapshot of user input form 4.2 Text Parser Parser is a program accepts as input a sequence of words in a natural language and breaks them up into parts to be managed by other programming. It analyzes input and extracting relevant information. It is able to translate the natural language statements into appropriate actions for the system. While parsing inputted text; parser gathers object and its necessary features and is passed to rule base for further processing. Building the text parser involved the creation of an application-specific dictionary and lexical semantics. It translates inputted text into messages for the application software to produce the appropriate actions. Parser maintains a special type of knowledge base, which represents and stores the knowledge. Table 1 shows sample of knowledge base designed in this research for the application of additional properties to the already generated scene. Table 2 shows extracted information by the parser for the example considered in section 4.1. Volume 2, Issue 3 May June 2013
If (View == Isometric), applyIsometric() If (Tool == Texture), applyTexture() 4.4 IVE Library It is a container for set of CAD models maintained in the form of ASCII formats. Initially model is designed under CAD system. Modeling software can export these designs into ASCII format. A ready-made set of models taken from CAD software such as I-Deas, Catia in order to provide the display backdrop. Virtual Reality Modeling Language (VRML) file format is considered in this research. VRML is a scene description language [17]. It encloses all the visualization details of the model. This text file defines description of the object in terms of triangulated data. The datasets are organized from point by point followed by polygons vertices references. All the details of the object such as vertices and edges of the polygon; surface color, material, lighting, shininess etc are represented in triangulated fashion [26]. Figure 4 shows part of objects data in VRML format. Library maintained with a wide variety of VRML files helpful for the display Page 200
Figure 4 Part of VRML file 4.6 Renderer Display of Model Rendering, the process by which computer displays the model on the screen. Renderer fetches the selected model from the library and renders the object. This module reads the triangulated data contained in VRML file and performs display of it [19]. As per the specification of rule base the sequence of actions are applied to the rendered model. We have used OpenGL tool for displaying the dataset on the screen [24, 25]. Data sets of the model are passed to OpenGL for rendering. OpenGL is a software interface to graphics hardware. It constructs 3D rasterization information from geometric primitivespoints, lines & polygons. It has set of commands to specify the objects and operations needed to produce interactive three-dimensional applications. Along with display of model, renderer supported with additional features such as: Provide transformation options like Rotation, Panning and Zooming Provision of editor for selection of different material properties Options for rendering the model in various modes i.e. solid, wireframe and point Give different views of the model i.e. front, back, left, right, top, bottom and isometric Provide texture mapping, Volume 2, Issue 3 May June 2013
Figure 7 Wireframe view of the Sphere 4.7 From Natural Language to Virtual Environment We are in the process of exploring NLP interface for VR systems. Presence is closely related to the sensation of immersion. It can be described as the feeling of being in the same space as the Virtual Environment, which gives a sense of the reality of objects in the computer-generated scene and the users presence with those objects. The parameter depth is provided along with height and width for the display of model to perceive 3D view. The technique incorporated for the 3D viewing is generating two views of the scene, one from each eye position [18]. The position of the eyes is specified in terms of eye separation parameter. Having separate Page 201
REFERENCES
[1] L.A. Dobrzaski, R. Honysz, Artificial intelligence and virtual environment application for materials design methodology, International Scientific Journal, Vol. 45 Issue 2, 2010 [2] Jean-Luc Lugrin, Marc Cavazza, Sean Crooks and Mark Palmer, Artificial Intelligence- Mediated Interaction in Virtual Reality Art, IEEE Inteligent Systems, 2006 [3] Samir Sadek Hosny, Sherif Morad Abdel Kader, Integrating Intelligent Mixed Reality in Architectural Education, Al Azhar University Engineering Journal, Vol. 7 No. 3 2004 [4] Tamer M Wasfy, Ahmed K Noor, Rule Based Natural Language Interface for Virtual Environments, ELSEVIER Advances in Engineering Software 33 (2002) 155-168 [5] Prakash M Nadkarni, Lucila Ohno-Machado, Wendy W Chapman, Natural language processing: an introduction, J Am Med Inform Assoc 2011 [6] Ruth Aylett Michael Luck, Applying Artificial Intelligence to Virtual Reality: Intelligent Virtual Environments [7] Stephanie S. Everett, Kenneth Wauchope, Manuel A. Perez, A Natural Language Interface for Virtual Reality System [8] Curry I. Guinn and R. Jorge Montoya, Natural Language Processing in Virtual Reality Training Environment [9] Stephen N. Matsuba, Speaking Spaces: Virtual Reality, Artificial Intelligence and the Construction of Meaning [10]Milos Cernak1, Adrian Sannier, Command Speech Interface to Virtual Reality Applications, Technical Report, Iowa State University Page 202
AUTHORS
R.S.Kamath is an Assistant Professor at Chh. Shahu Institute of Business Education and Research, Kolhapur. She has obtained her M.Sc from Mangalore University and Ph.D from Shivaji University in Computer Science. Volume 2, Issue 3 May June 2013 Page 203