<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 --> <refentry id="function.swf-perspective"> <refnamediv> <refname>swf_perspective</refname> <refpurpose> Define a perspective projection transformation </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>swf_perspective</methodname> <methodparam><type>float</type><parameter>fovy</parameter></methodparam> <methodparam><type>float</type><parameter>aspect</parameter></methodparam> <methodparam><type>float</type><parameter>near</parameter></methodparam> <methodparam><type>float</type><parameter>far</parameter></methodparam> </methodsynopsis> <para> The <function>swf_perspective</function> function defines a perspective projection transformation. The <parameter>fovy</parameter> parameter is field-of-view angle in the y direction. The <parameter>aspect</parameter> parameter should be set to the aspect ratio of the viewport that is being drawn onto. The <parameter>near</parameter> parameter is the near clipping plane and the <parameter>far</parameter> parameter is the far clipping plane. </para> <note> <para> Various distortion artifacts may appear when performing a perspective projection, this is because Flash players only have a two dimensional matrix. Some are not to pretty. </para> </note> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->