Viewport Distortion

Software: Away3D 4.x

Jamie, Newbie
Posted: 11 October 2012 03:37 PM   Total Posts: 1

Hi all, is it possible to distort the entire Away3D 4 render on the GPU like in this example (on enter frame)?

http://en.nicoptere.net/?p=59

I tried drawing the context3d to a bitmap then apply matrix transforms frame by frame, but it drop’s to about 5 fps from 30.


Cheers.
Jamie.

   

Avatar
Fabrice Closier, Administrator
Posted: 11 October 2012 07:14 PM   Total Posts: 1265   [ # 1 ]

There was a similar thread not 2 days ago. only way to do this, is to ensure that everything on screen, including 2d is in the viewport, and that the designs would fake a smaller viewport. This way its possible to make it look like a postcard that you can turn, that you can distort the “fake” viewport as any other 3d element.
I know its hard to forget some of the display list concepts, but keep in mind that the Stage3D is under the display list and that it’s rectangular region that cannot be something else than a rectangle. The art in your case would be to give another impression.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X