BS+Contact+Stereo+and+the+Injector

BS Contact Stereo is a VRML and X3D loading application that allows for the use of full screen stereo visualization on the 3 display screens. Reference the BS Contact Users Guide for specific information on using the loader application.

=The Injector Application= An application, titled 'Injector', has been developed by the VIZ Group at Penn State which allows for additional content to be added to VRML models. The Injector aids in addition of controls for use of the joystick, revision of scale (for VRML files exported from specific applications), and the addition of lighting if desired. To use the injector, simply drag your VRML file onto the 'Injector' icon on the desktop. This will open the injector and allow you to select between several options. One option is to write a new file. If you plan you reuse the file, you can write it to a new VRML file. If you do not plan to reuse the file, you can simply view the file. Then, your model will open in the BS Contact Stereo viewer application.

=Editing VRML Models= VRML files are simply text file. The easiest method for editing the files is by using the VRML Pad application installed on the Console. This application shows the tree view of the file and assists in the syntax during editing.

=VRML Viewpoints= It is valuable to add good viewpoints into your VRML model. The following code was found for identifying your viewpoint in a VRML model. You can add this code to a VRML file by using VRML pad. This is valuable if you want to identify your viewpoint so that you can add new viewpoints to the VRML file directly in VRML

DEF FindMe ProximitySensor {center 0 0 0 size 100000 100000 100000},

DEF Printer Script { eventIn SFVec3f set_position eventIn SFRotation set_orientation url "javascript: function set_position(value, time) { print(value); } function set_orientation(value, time) { print(value); }" }, ROUTE FindMe.position_changed TO Printer.set_position ROUTE FindMe.orientation_changed TO Printer.set_orientation

=Additional Nodes in the BS Contact SDK= There are additional nodes that you can add to the VRML file which will only be available when loaded in the BS Contract loader. These nodes are defined in the BS Contact SDK. This SDK documentation can be found in the CIC Research Group folder on the C Drive on the Console. Please do not copy these files.