========
TKE_View
========

Opcode
======

.. csv-table::

	"ASCII", "}"
	"Hexadecimal", "7D"
	"Decimal", "125"


Operands
========

| Byte projection, Point position, Point target, 
| Point up_vector, Float field_width, Float field_width, 
| [Float oblique_around_y], [Float oblique_around_x], 
| [Float near_limit], Byte length, (length)xByte name </pre>

.. csv-table::

	"projection", "bitmask describing the projection transform"
	"position", "camera *eye* point"
	"target", "point at center of projection plane"
	"up_vector", "direction representing 'up' to the camera"
	"field_width, field_height", "size of the minimum viewable rectangle around the target point"
	"oblique_around_y", "horizontal skew angle (degrees), present if the ``Camera_Oblique_Y`` bit is set in the projection"
	"oblique_around_x", "vertical skew angle (degrees), present if the ``Camera_Oblique_X`` bit is set in the projection"
	"near_limit", "near clipping plane (hither) scaled between 0 at the camera position and 1 at the target, present if ``Near_Limit`` bit is set"
	"length", "length of view name string"
	"name", "name of this view"
	
	
Notes
=====

Projection:


.. raw:: html::

	<table BORDER =1 WIDTH="500">
	  <TR> 
		<TD height=21 width=50> 01</TD>
		<TD height=21 width=390>perspective (default is orthographic)</TD>
	  </TR>
	  <tr> 
		<td WIDTH="50" HEIGHT="21"> 02</td>
		<td WIDTH="390" HEIGHT="21">stretched (field is stretched to fit window, 
		  by default aspect of field is not changed and additional data outside 
		  the field may be visible)</td>
	  </tr>
	  <tr> 
		<td WIDTH="50" HEIGHT="21"> 04</td>
		<td WIDTH="390" HEIGHT="21">Camera_Oblique_Y, view is skewed about the 
		  Y-axis (x is sheared relative to z)</td>
	  </tr>
	  <tr> 
		<td WIDTH="50" HEIGHT="21"> 08</td>
		<td WIDTH="390" HEIGHT="21">Camera_Oblique_X, view is skewed about the 
		  X-axis (y is sheared relative to z)</td>
	  </tr>
	  <tr> 
		<td WIDTH="50" HEIGHT="21"> 10</td>
		<td WIDTH="390" HEIGHT="21">Near_Limit, explicit near clipping limit is 
		  specified</td>
	  </tr>
	</table>

A view is a named camera provided for application use, such as supplying a default view or a set of interesting views. Their use is up to the application, they are not added to the database by default. In most applications, the initial default camera is identified by the view object which is named 'default'. To have an initial camera position honored by other applications please name your initial view 'default'.

View was added in HSF version 6.10.
