★ wanayoo — archive 1999 http://www.php.net/manual/function.swf-perspective.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to SWF
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
SWF
* swf_openfile
* swf_closefile
* swf_labelframe
* swf_showframe
* swf_setframe
* swf_getframe
* swf_mulcolor
* swf_addcolor
* swf_placeobject
* swf_modifyobject
* swf_removeobject
* swf_nextid
* swf_startdoaction
* swf_actiongotoframe
* swf_actiongeturl
* swf_actionnextframe
* swf_actionprevframe
* swf_actionplay
* swf_actionstop
* swf_actiontogglequality
* swf_actionwaitforframe
* swf_actionsettarget
* swf_actiongotolabel
* swf_enddoaction
* swf_defineline
* swf_definerect
* swf_definepoly
* swf_startshape
* swf_shapelinesolid
* swf_shapefilloff
* swf_shapefillsolid
* swf_shapefillbitmapclip
* swf_shapefillbitmaptile
* swf_shapemoveto
* swf_shapelineto
* swf_shapecurveto
* swf_shapecurveto3
* swf_shapearc
* swf_endshape
* swf_definefont
* swf_setfont
* swf_fontsize
* swf_fontslant
* swf_fonttracking
* swf_getfontinfo
* swf_definetext
* swf_textwidth
* swf_definebitmap
* swf_getbitmapinfo
* swf_startsymbol
* swf_endsymbol
* swf_startbutton
* swf_addbuttonrecord
* swf_oncondition
* swf_endbutton
* swf_viewport
* swf_ortho
* swf_ortho2
* swf_perspective
* swf_polarview
* swf_lookat
* swf_pushmatrix
* swf_popmatrix
* swf_scale
* swf_translate
* swf_rotate
* swf_posround
Manual: swf_perspective
View the source code for this pageSearch the site



Previous page
 swf_ortho2
 Updated
Mon, 14 Aug 2000
swf_polarview 
Next page


swf_perspective

(PHP4 >= 4.0RC2)

swf_perspective --  Define a perspective projection transformation

Description

void swf_perspective (double fovy, double aspect, double near, double far)

The swf_perspective() function defines a perspective projection transformation. The fovy parameter is field-of-view angle in the y direction. The aspect parameter should be set to the aspect ratio of the viewport that is being drawn onto. The near parameter is the near clipping plane and the far parameter is the far clipping plane.

Note: 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.


 About Notes


Previous page
 swf_ortho2
 Updated
Mon, 14 Aug 2000
swf_polarview 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.