| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 2 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 3 |
<html> |
| 4 |
<head> |
| 5 |
<title>BALLView Raytracing Demo 1</title> |
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
<blockquote> |
| 10 |
|
| 11 |
<h3>Setting the Materials</h3> |
| 12 |
In addition to the lighting effects, nice effects can be achieved by changing the material settings. |
| 13 |
<br> |
| 14 |
<br> |
| 15 |
The material settings of a representation can be modified using the <b>Modify Representation</b> dialog. <br> |
| 16 |
Open it by pressing the right mouse button in the <b>Representations</b> window on the <b>Ball and Stick</b> representation |
| 17 |
built from the ARND peptide. Choose <b>Modify Representation</b> in the activated context menu. |
| 18 |
<br> |
| 19 |
<br> |
| 20 |
The <b>Renderer</b> box offers to switch between the three current renderes of BALLView. |
| 21 |
<ul> |
| 22 |
<li> OpenGL, |
| 23 |
<li> POVRay, and |
| 24 |
<li> RTFact.</ul> |
| 25 |
Click on <b>RTFact</b> in the radio button list |
| 26 |
and enable the <b>automatic update</b> checkbox. |
| 27 |
<br> |
| 28 |
The best way to get to know the different material properties is to play with their sliders. |
| 29 |
<br> |
| 30 |
|
| 31 |
<h4>Ambient Intensity</h4> |
| 32 |
The Ambient Intensity specifies the amount of background light that is unconditionally |
| 33 |
added to the represenation.<br> |
| 34 |
Try different Ambient Intensity factor values and compare the change in the |
| 35 |
molecule's appearance. |
| 36 |
<br> |
| 37 |
|
| 38 |
<h4>Specularity</h4> |
| 39 |
The Specularity determines the intensity of the specular highlights. <br> |
| 40 |
Change the Specularity factor to a smaller value and watch the highlights. |
| 41 |
<br> |
| 42 |
|
| 43 |
<h4>Shininess</h4> |
| 44 |
The Shininess accounts for the size of the specular highlights.<br> |
| 45 |
Vary the Shininess factor and compare the highlights on the molecule. |
| 46 |
<br> |
| 47 |
|
| 48 |
<h4>Reflectivity</h4> |
| 49 |
The Reflectivity is the ability of the representation to reflect light, i.e. to act as a mirror.<br> |
| 50 |
In the following, we guide you to change an already added plane into a mirror.<br> |
| 51 |
Open the <b>Modify Representation</b> dialog from the context menu of the |
| 52 |
mirror plane's entry in the <b>Representations</b> window (right click on the entry), |
| 53 |
select the <b>RTFact</b> renderer in the radio button list, |
| 54 |
and enable the <b>automatic update</b> checkbox. <br> |
| 55 |
Now, set the <b>Reflectiveness</b> to <b>1</b>. <br> |
| 56 |
Close the dialog by pressing <b>OK</b>.<br> |
| 57 |
Now, change the camera position to a viewpoint where both, the molecule and its mirror image, can be seen simultaneously. |
| 58 |
<br> |
| 59 |
|
| 60 |
|
| 61 |
<h4>Transparency</h4> |
| 62 |
The effect of Transparency can be perfectly demonstrated using a transparent molecular surface.<br> |
| 63 |
To this end, build an <b>SES</b> surface of our molecule by opening the context menu of our protein ARND in the <b>Structures</b> window (right click on it) and by selecting <b>Create Representation</b>. |
| 64 |
Then choose <b>SES->by element</b>. |
| 65 |
<br> |
| 66 |
Open the <b>Modify Representation</b> dialog of the <b>SES</b> surface in the |
| 67 |
<b>Representations</b> window by opening the context menu of <b>SES</b>.<br> |
| 68 |
Select the <b>RTFact</b> renderer in the radio button list, |
| 69 |
and enable the <b>automatic update</b> checkbox. <br> |
| 70 |
Now, set the Ambient Intensity to <b>0.03</b>, the Reflectiveness to <b>0</b>, |
| 71 |
the Specularity to <b>0.14</b>, the Shininess to <b>6.125</b>, and the |
| 72 |
<b>Transparency</b> to <b>55%</b>. <br> |
| 73 |
Close the dialog by pressing the <b>OK</b> button. |
| 74 |
<br> |
| 75 |
Enjoy the picture! |
| 76 |
<br> |
| 77 |
<br> |
| 78 |
Press <b>Next</b> to continue. |
| 79 |
<br> |
| 80 |
<br> |
| 81 |
</blockquote> |
| 82 |
|
| 83 |
</html> |