BuildAR Free Version Tutorial.docx

(291 KB) Pobierz

BuildAR Free Version Tutorial

1. Installing BuildAR

http://www.youtube.com/watch?v=gkRVb-kbG6A&feature=player_embedded

Currently BuildAR is only available on the Windows platform. You will need a PC running Windows (XP, Vista or 7) to use BuildAR.

BuildAR requires a web-cam to generate the live video view. Ensure a web-cam is connected to your computer, and the necessary drivers are installed, before running BuildAR.

To create the augmented reality experience, BuildAR tracks physical markers and draws 3D graphics on top. Therefore, you need one or more markers to use BuildAR. Markers are easy to make – they are simply black and white squares with a pattern in the centre, and can be printed out on your printer. BuildAR comes with several sample patterns in the BuildAR/data/patterns/ directory. You should print out the pattHiro.pdf and pattKanji.pdffiles.

To set up the BuildAR software use the following steps:

1.                Run the setup file

2.                Agree to the term and conditions

3.                Install the software

2. Creating Markers and 3D Models

This tutorial content relates to the free version of BuildAR

http://www.youtube.com/watch?v=wMI44-HBedg&feature=player_embedded

AR Markers

BuildAR uses printed square markers to create the AR scene. Markers can be easily created in a graphics package and printed out, or even created by hand (such as using adhesive-backed felt).

The printed marker should be a black square like that shown below with a distinct image in the middle. There should be a large enough white border around the square so that the BuildAR software can recognize the square. The image in the middle of the square can be in colour or black and white, but should be saved as a 16 colour bitmap file for use by BuildAR.

http://www.buildar.co.nz/wp-content/uploads/2010/05/Artoolkit_marker_dimensions-300x271.png

3D Objects

BuildAR can load 3D models in a variety of file formats. The recommended format is .ive, the native file format for OpenSceneGraph.

If you are using 3D Studio Max you can export your scene directly to IVE by installing OSGExp plugin.

Other supported file formats include:

·                  3DS (3D Studio file)

·                  LWO (Lightwave)

·                  OBJ (Wavefront Object)

·                  STL (Stereolithography)

·                  FLT (OpenFlight)

However, the quality of the importers for these other formats varies. Sometimes the displayed models have strange normal vectors, missing textures and lost animations. Typically you will simply need to try and discover which format works well with your choice of 3D models and modeling tools.

3. Learning the BuildAR Interface

http://www.youtube.com/watch?v=mGT8sajhI7I&feature=player_embedded

When you run BuildAR, you will be presented with a dialog box for configuring the video input from your web-cam. The recommended settings are 640×480 at 30 frames per second. Click OK and you will be presented with the BuildAR user interface.

The interface has the following four main components

·                  Scene Tree – for showing the patterns and 3D objects

·                  Live View – the live Augmented Reality view

·                  Manipulation Control – for directly entering object properties

·                  Toolbar – containing tools for manipulating the scene

http://www.buildar.co.nz/wp-content/uploads/2010/05/buildar_free_interface.jpg

 

4. BuildAR Walkthrough

Generating Patterns in BuildAR

http://www.youtube.com/watch?v=ZccIW2zGg5k&feature=player_embedded

To generate your own custom marker pattern, pull down the tools menu, and choose generate pattern. The AR Pattern Generator window will open.
Open the BITMAP file that you’ve created before and load it into window.
Save the file, using any file name you like, and print the marker.

The to add the new marker to the scene tree, click the button ‘add marker’ on the toolbar, and open the marker file that you’ve saved. You will now see the new marker pattern in the scene tree, ready to have an object attached to it.

Loading Models onto Markers

http://www.youtube.com/watch?v=q1j-B5GvjK0&feature=player_embedded

To load a model onto a marker in the Scene Tree, double Click the plus sign next to the marker. This will expand to in the scene to show the name of the 3D model below the marker name. Double click on the 3D model and open the 3D model that you want to be displayed. You will now see the 3D model in the live view on top of the marker.

Moving, Rotating and Scaling Models

http://www.youtube.com/watch?v=l4GulkqkJGU&feature=player_embedded

In BuildAR you can translate, rotate or scale the 3D models relative to the marker patterns they are on. In order to manipulate the 3D model, you can use the manipulation control and type the position manually or click on the 3D objects and choose the manipulation control from the buttons on the toolbar. On the toolbar there are buttons for translation, rotating and scaling. Clicking on a these buttons after clicking on a model in the AR view will bring up a virtual controller on the model that can be used to manipulate the model.

Saving and Loading the Augmented Reality Scene

http://www.youtube.com/watch?v=rEsvgEPL0V0&feature=player_embedded

After you have finished creating the scene, you can save the current scene that you’ve created using the save icon on the toolbar. Previously saved scenes can also be loaded and viewed or edited.

 

 

 

 

 

 

 

 

źródło: http://www.buildar.co.nz/buildar-free-version/

Zgłoś jeśli naruszono regulamin