Info For  Group Members

Power PoinT With Chime


Jordan group spring 2004

The PPTWC package was assembled to allow the use of interactive and animated three dimensional models during a power point presentation.

The “LiveWeb” Add-In embeds Microsoft Internet Explorer inside of Power Point. The Chime plug-in is used to render Three dimensional structures in real time via a web page. The combination of these two utilities allows for the unique ability to have interactive spacefilling and ball and stick models.

Before proceding you must have the PPTWC file set.

The file set includes
“LiveWeb” Power Point Add-In by Shyam Pillai
MDL Chime plugin
Default view files
-Ball and Stick         ballstick.html
-Spacefill            spacefill.html
-Ball and stick rotate        ballstickrotate.html
-Spacefill rotate        spacefillrotate.html

Install the MDL Chime browser plug-in by double clicking on MDLChimeSP6.exe and following the instructions.

Install the LiveWeb Add-In

I   Proper file format

All structures viewed in chime must first be in the brookehaven protein data bank format or .PDB  This is a generic format that is supported by almost all structural viewing and computational software.

II Viewing the PDB file with chime

To view the structure in chime there are two options.

1. You can view the PDB file without any formatting options.  This will display the wireframe structure on a black background. To do this, right click on the PDB file select open with and select Internet explorer. 

  

2. You can view the structure using a prepared HTML file with preselected formatting options.

- Right click on the HTML file with the settings you intend to use.
- Select copy and then paste
- Rename the duplicate HTML file using a unique filename (example : SMK-155.html)
- Open the HTML file using notepad (do this by using the same open with options explained above)
- Change the 7th line of the HTML file so that your filename is in place of the highlighted text.  When you are done it should read

<embed src="yourPDBfilename.PDB" align=abscenter width=100% height=100%

-Select the file menu and choose save.
-Double click your HTML file to open it with Internet explorer

III  Changing the “default view” of your PDB file.

When IE opens a PDB file using the Chime plug-in the orientation of the model is along the Z axis. This is not necessarily the view that you will want in your power point slide.  To change the orientation of the model when you load the PDB file.

- Open your HTML file that you created in part II.2
- Rotate your structure using the mouse until it is in the orientation you desire
- right click on the chime structure and select Edit, Copy chime script 



- Create a piece of electronic scratch paper, right click on your desktop and select New, Text Document
 

- Select edit, paste
- The information you have pasted into the text file is the script to generate the orientation you selected.
- The rotation information  is near the top of the file and looks like

reset
slab off
rotate z -79
rotate y -10
rotate x -153
zoom 190

- The z, y and x coordinates should then be entered into your HTML file. When you are done your code should look like,

set ambient 30; rotate z -3; rotate y -34; rotate x -85; zoom 190">

with your rotational parameters in the highlighted region.

- Save the HTML file by selecting File, save
- Open your HTML file in IE to make sure that it looks the way you would like.
- Tweak the zoom value until you are satisfied with the image
- You can delete your “electronic scratch paper” now if you would like

IV Changing the animation controls

The Chime plug-in has the capacity to automatically rotate the model when a button is clicked.  The commands for the rotation button are already included in the   ballstickrotate.html and spacefillrotate.html files. The default animation is to rotate the molecule 2 whole times (720 degrees) in 27 seconds. The script for the rotation button is.

script="move 0 720 0 0 0 0 0 0 27">

The first three numbers correspond to x-axis rotation, y-axis rotation and z-axis rotation. The last number corresponds to the total time the animation should take. The other numbers are for more advanced types of animation.

Be sure to try out your new animation before using it in a slide show.

V Embedding your chime image / animation into power point.

Make sure that both your HTML file and your PDB file are in the C:\PPTWC\ directory. This directory and file structure MUST be maintained throughout the ENTIRE GROUP so that when other members (including Prof. Jordan) need to use your chime slides there will be no unexpected complications.

Open your Power Point presentation and Select Insert, Web Pages.. and follow the instructions when asked for a URL, enter C:\PPTWC\uniquefilename.html

-

with your HTML filename in the highlighted area.

The web page will be inserted as a large windows logo and can be resized and manipulated like any other picture or power point object.  The Chime image can only be viewed during the slide show mode.

Once you have resized and formatted the slide to your likeing make sure that you double check the way everything looks in the slide show.