Child pages
  • Creating a 3D Model


Before we can view a Bayesian network in Virtual Reality, we need to prepare a 3D model in BayesiaLab.

To illustrate the process, we use a network from a recent webinar. You can watch the webinar and download the corresponding network file, ETF Flow by Focus.xbl.

The first step is to select Visual | Overall | Mapping | 3D Mapping.

This brings up the Mapping window, which, initially, appears to be identical to the original network in the graph panel.

However, when you click and hold the mouse cursor anywhere inside the window, you can rotate the network in three dimensions. Furthermore, using the scroll wheel, you can zoom in and out.

At this point, the network is still "flat." We are not yet taking advantage of the available three-dimensional space.

Once you press the P key, the familiar automatic layout function unfolds the network in three dimensions. 

At this point, you could simply explore this three-dimensional model on a two-dimensional screen, inside the Mapping window.

However, our objective is to explore this network in Virtual Reality, using the Oculus Rift. This requires that we save the network in its current state by clicking the Export 3D Model button. Specifying a file name a name and clicking Save concludes the steps in BayesiaLab.