The development of VRML 2.0 capable plug-ins is still in a early stage. Although in our modules we have tried to adhere to the VRML97 specification, this means that not all VRML 2.0 browsers really support all the VRML97 specifications. The two VRML browser plug-ins we have worked with are:
The use of VRML is restricted to the Quadrupole Mass Analyzer (QMA) and QUISTOR (Ion trap) parts of the module, where it is used in two ways:
The solution to this problem is to use CosmoPlayer 2.1 for the 1 ion fully interactive QMA part. We have found that the version previously available, 2.1a1, worked best. Unfortunately this version has a time expiration which causes Netscape to crash. The work-around for the time expiration is to temporarily set the date of the computer back.
In the meantime a non time restricted version of CosmoPlayer, 2.1b, has come out. Unfortunately this vesion has some other more serious bugs, which cause the animation to stop. This bug seems to be present on the windows version of 2.1 also.
The possible solutions differ somewhat for each platform:
For Mac:Here one can choose, during a Netscape run, which plug-in should be used for VRML content. We use the WorldView 2.0 plug-in for the 3-ion case, since it shows color better and seems to run faster (once the world is built). For the 1-ion case, CosmoPlayer must be used. In this case we use the 'time-bomb' version (2.1a1) because it does the infinite loop animation; but the date on the computer must be set to a date earler than 6/30/98 before Netscape is started.
For Windows:
In Windows, users can not switch which plug-in should be used for VRML, so one has to either opt for a buggy animation with CosmoPlayer, or the impossibility of viewing the 'on the fly' worlds of the 1 ion shockwave movie.
One should be aware of a potentially very useful feature which results from the way we implemented the 'on the fly' VRML world for the 1-ion QMA simulation (i.e., the one with all QMA parameters interactively adjustable). In this case the VRML text, generated by the shockwave movie, for the ion-trajectory and potential energy surface animations can be displayed, selected, copied, pasted in a text editor, and saved as "filename.wrl" (a regular text file). This file can later be opened with a web browser and the VRML world will be displayed by the VRML plug-in. This, for one reason or another, seems only to be possible with Netscape Navigator 3.01 (not with the 4.x versions). To do this one needs to temporarily modify the QMA1.htm file (in the MS:concept:QMA folder). This modified functionality is achieved by changing the javascript line
writeembed('model/vrml')
to read
writeembed('text/plain')