PHP: swf_perspective - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

swf_placeobject swf_ortho

Last updated: Fri, 26 Jan 2007

view this page in

# swf_perspective

(PHP 4, PECL)

swf_perspective -- Define a perspective projection transformation

## Description

void swf_perspective ( float fovy, float aspect, float near, float 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.

> Замечание: 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.

add a note User Contributed Notes
swf_perspective
There are no user contributed notes for this page.
swf_placeobject swf_ortho

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST