Wells Cathedral

Jesse Window Database

Pierre Smars, 27 January 2003

Introduction

This document describes how to use the Jesse Window database developped at the University of Bath.
The database contains a set of records. Each record makes reference to a single glass unit of the window. The fields of the records are called themes. They can be, for instance: colour, material or alteration. The values which can be given to a theme are called layers. For an alteration theme, they could for instance be: intact and damaged. It is of course possible to create new themes or layers or to erase them.
A graphical interface based on a virtual model of the window allows the user to interact with the database, i.e. to visualise a theme, to edit individual records and to edit themes and layers.
Images can also be projected on the model to help the user to edit the database. For the moment, there is only a picture of the lead net which allows an easy identification of the elements. Detail pictures could also be used to help determining the state of conservation.
The database is accessible through the internet with a web browser (we use Microsoft Internet Explorer).
To visualise the model of the window, it is necessary to have a VRML plugin installed [VRML (Virtual Reality Modeling Language) defines a file format that allow the creation of interactive 3D virtual worlds]. The database was tested with Cortona VRML client, which is freely available and very easy to install.

Database management

The database is accessible at http://staff.bath.ac.uk/absps/wells/db. Access is password protected and you are first redirected to a logon page (figure 1).

Figure 1: Logon window: http://staff.bath.ac.uk/absps/wells/db

When user name and password are authentified, you are redirected to the main database window (figure 2). This window is divided in 2 frames. The left one (A), now empty, will contain information related to the glass units (figure 10). The right frame (B) contain a VRML window (a) (if you don't see it, it means that Cortona VRML client has not been installed properly) and different controls (items b to f on figure 2) to be discussed below.

Figure 2: Opening screen

Before using the database, some settings of the cortona VRML client have to be controlled. With the mouse above the VRML window, click on the right button. A window menu (figure 3) should appear. Choose Preferences....

Figure 3: Cortona VRML client settings

Another window should appear. Select the Renderer tab (figure 4). Choose the DirectX Renderer and, in the options, verify that the textures are optimised for quality. Click on OK to exit the window and apply the new settings. These adjustments are necessary to achieve a correct rendering of the model.

Figure 4: Cortona VRML client settings

It is also necessary to adjust settings in Microsoft Internet Explorer. On the menu bar of the browser, choose Tools, click on Internet Options.... A window appears. The General tab should be selected. In the Temporary Internet Files, choose Settings.... You should now see a window similar to the figure 5 below. Verify that Check for newer versions of stored pages is set to Every visit to the page (you may also want to return to another setting when you don't work with the Jesse database). This setting is necessary to insure that, when something is updated in the database requiring a refresh of the model, the information is taken from the internet and not from a temporary file stored locally. Click on OK to update the settings and exit both windows.

Figure 5: Microsoft Internet Explorer Settings

At this stage, only the outline of the window is visible. An image of the leadnet can be projected on the model. Choose the lead image from the list of available images (figure 2.c, figure 6). Then press on the Update button (figure 2.e) to perform the projection.
This is a general behaviour of all the interface windows developped. To save time, they are not automatically updated. To synchronise their content with the content of the database, the Update button of that window has to be pressed.

Figure 6: Choosing an image

Themes can be choosen in the same way as images (figure 2.b, figure 7). Each glass unit is then coloured according to its layer in the chosen theme (figure 8). For instance, all the damaged glass could be coloured in red and the undamaged in blue.

Figure 7: Choosing a theme

Figure 8: The model rendered with an image (of the leadnet) and with a theme (with the colours corresponding to the different layers)

Pre-defined views of the model can be selected in turn using the view buttons (figure 9.a-b) on the VRML frame. Other controls of the VRML window (plan, pan...) are explained in the Cortona VRML client user guide.

Figure 9: Detail view of the model

If the user click on one glass unit of the model (figure 9.c), an element editor will open in the first frame of the general window (figure 2.A, figure 10). All the themes are listed and for each of them, the layer currently selected is shown on the right-hand side. The current selection can be edited by simply opening the pop-down menu and choosing the appropriate layer from a list of the existing layers (figure 11).

Figure 10: Rendered model with the element frame allowing to edit the data related to a specific glass unit.

Figure 11: Choosing a layer

Again, the Update button has to be pressed to see the changes happen. And, in order to show the new changes on the VRML window, the Update button of the right frame (figure 2.e) has to be pressed as well.
If the user wants to create a new theme, he can open the Themes Editor window (figure 12), pressing on the Edit Themes button (figure 2.d). In this window, the existing themes and layers are all listed. In the example given, when the Update button will be pressed, the theme chemical_alt will be erased and a new theme alteration will be created. Each time that a new theme is created, a new unknown layer is created and assigned automatically to each glass unit. To add information, the user has to create new layers and assign them individually to the glass units. Note that themes' and layers' names cannot contain spaces.

Figure 12: Edit Theme Window

To edit layers of a specific theme, one has to open a Theme Editor window (figure 13) by pressing one of the theme's buttons of the Element Editor window (figure 10) or of the Themes Editor window (figure 12). In the example given, the layer undamaged will be erased and a new layer intact will be created. Note that the unknown layer cannot be erased. When a layer is erased, the corresponding glass units are assigned to the unknown layer.
The R, G and B fields are used to define the colour of the layer. They contain numbers between 0 and 255, expressing the content of the colour in Red, Green and blue (table 1).

Colour R G B
red 255 0 0
green 0 255 0
blue 0 0 255
yellow 255 255 0
orange 255 128 0
grey 128 128 128

Table 1: Example of possible colours and corresponding RGB values.

Figure 13: Edit Layer Window