Presentation on theme: "VIEW Mike Brundage Ivan Sopin. Overview of X3D X3D is an open standards file format and run-time architecture to represent and communicate 3D scenes and."— Presentation transcript:
Overview of X3D X3D is an open standards file format and run-time architecture to represent and communicate 3D scenes and objects using XML Interchange is the basic profile for communicating between applications. It support geometry, texturing, basic lighting, and animation. Interactive enables basic interaction with a 3D environment by adding various sensor nodes for user navigation and interaction, enhanced timing, and additional lighting. Immersive enables full 3D graphics and interaction, including audio support, collision, fog, and scripting.
Toothbrush Use X3d to demonstrate mechanical dissection of an electric toothbrush Students must assemble the toothbrush and they will be graded based on correctly selecting the order of assembly.
Parts The toothbrush is made up of 15 different parts. Each part was modeled in SolidWorks and converted into X3D file format. Each part is defined in a separate X3D file, then it is called in the main toothbrush file using Inline File locations.
Collision We first tried to use collision detection to provide a degree of difficulty in assembling the toothbrush. The file sizes and the resources used for calculating collisions caused visual lag on some computers. We decided to move away from collisions and use scripted paths instead.
Scripted Paths Each part moves along a single path. Once it reaches the end of the path, it is locked in place. A part must first be enabled before it may be moved. Parts are enabled based on an order of assembly.
Order of Assembly The order of assembly forces a user to think about how to correctly assemble the toothbrush. Only certain parts are unlocked at any given time. This ensures no part can collide with any other part. This is also how we will keep a user’s score.
Scoring Each user begins with a 100% score. Each time a user tries to move a part in an incorrect order, the user will lose a percentage of their score. Trying to move parts out of the correct order of assembly is currently the only way to lose points.
User Interface The user interface is comprised of an X3D viewer (BS Contact), and HTML. The HTML portion will include a timer, the score, name of the part under the mouse, a help button, and the ability to view any specific part in a pop-up menu. A buzzer sound will play when an error has been made. A click sound will play when a part has been locked into place.
Reports A user must enter their name, class, and password before the X3D viewer will load. After completion, a user will click a Report button that will generate a report that will includ a user’s name, score, time to complete, number of resets, and any errors made. » Run Program Run Program