<< Prev] [Index] [Guide] [Next >>


Positioning

When browsing a collection of stars or planets and moons with ChView, you can move the view around, rotate it, and change it from object to object. It is possible, by setting parameters to set the view up to start anywhere you like -- centered around any star, planet, or other object -- and also control the scope of objects depicted.

Centering

The parameter "Center" allows you to fix the starting centerpoint of view for ChView. The value is a set of coordinates, just like for a star.

Center on Sol Center on Alpha Base Center on Beta Base
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Center"
 value="0,0,0">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Center"
 value="-.05,-5.95,.49">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Center"
 value="-1.68,-1.37,-3.87">
<param name="DataType"
 value="cherryh">
</applet>

Scope

The parameter "Radius" allows you to control just how many stars are in view at any one point. This is best tailored to the display size of your applet. The value is just a number.

<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Radius"
 value="12">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Radius"
 value="8">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Radius"
 value="6">
<param name="DataType"
 value="cherryh">
</applet>

Scale

Scale is another way of adjusting what you see on the screen. It acts the same way the "+" and "-" buttons do. The parameter "Scale" can be set to any number.

<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Scale"
 value="16">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Scale"
 value="12">
<param name="DataType"
 value="cherryh">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="Scale"
 value="8">
<param name="DataType"
 value="cherryh">
</applet>

Rotation

The two parameters "Theta" and "Phi" control the initial position. Their values are in degrees. Theta controls rotation around the z axis, the one poking straight out of the screen. Positive values move it Counterclockwise. Phi controls rotation around the x axis, the one going left to right. Positive values move stars above the midline "into" the screen, and stars below the midline "out of " the screen.

<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="theta"
 value="0">
<param name="phi"
 value="0">
<param name="body001"
 value="S!!!-ve x!!G!1!-4,0,0">
<param name="body002"
 value="S!!!+ve x!!G!1!4,0,0">
<param name="body003"
 value="S!!!-ve y!!G!1!0,-4,0">
<param name="body004"
 value="S!!!+ve y!!G!1!0,4,0">
<param name="body005"
 value="S!!!-ve z!!G!1!0,0,-4">
<param name="body006"
 value="S!!!+ve z!!G!1!0,0,4">
<param name="body007"
 value="S!!!!!M!1!0,0,0">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="theta"
 value="45">
<param name="phi"
 value="0">
<param name="body001"
 value="S!!!-ve x!!G!1!-4,0,0">
<param name="body002"
 value="S!!!+ve x!!G!1!4,0,0">
<param name="body003"
 value="S!!!-ve y!!G!1!0,-4,0">
<param name="body004"
 value="S!!!+ve y!!G!1!0,4,0">
<param name="body005"
 value="S!!!-ve z!!G!1!0,0,-4">
<param name="body006"
 value="S!!!+ve z!!G!1!0,0,4">
<param name="body007"
 value="S!!!!!M!1!0,0,0">
</applet>
<applet code=chview.ChViewer
 archive=chview.jar
 width=290 height=320>
<param name="theta"
 value="0">
<param name="phi"
 value="45">
<param name="body001"
 value="S!!!-ve x!!G!1!-4,0,0">
<param name="body002"
 value="S!!!+ve x!!G!1!4,0,0">
<param name="body003"
 value="S!!!-ve y!!G!1!0,-4,0">
<param name="body004"
 value="S!!!+ve y!!G!1!0,4,0">
<param name="body005"
 value="S!!!-ve z!!G!1!0,0,-4">
<param name="body006"
 value="S!!!+ve z!!G!1!0,0,4">
<param name="body007"
 value="S!!!!!M!1!0,0,0">
</applet>



<< Prev] [Index] [Guide] [Next >>


© 1998-2001 Sol Company. All Rights Reserved.