PHP Doku:: Define a perspective projection transformation - function.swf-perspective.html
Bisherige Suchanfragen: (1) anzeigen

Verlauf / Chronik / History: (14) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenShockwave FlashSWF Funktionenswf_perspective

Ein Service von Reinhard Neidl - Webprogrammierung.

SWF Funktionen

<<swf_ortho

swf_placeobject>>

swf_perspective

(PHP 4)

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.

Hinweis:

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.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)