You're all most welcome. You've done the hard work. :) Away3D is my first foray into 3D graphics, so I'm still a n00b. I based the Lite implementation on my understanding of the lenses in Away3D which is as follows:
Perspective: Scaling x & y equally while accounting for scaling along the z axis using field of view and vanishing point to determine what that scaling should look like. Nicely provided by Flash 10. Orthogonal: Scaling x, y, and z equally using focus/zoom to determine what that scaling ought to be. To verify these concepts I wrote a test swf (three intersecting planes) in Away3D with the two lenses mentioned and then wrote one in Away3D Lite and compared the two side by side. They looked identical so I assumed my concept of the two types of projection was correct. If my basic understanding of the two types of projection sounds good to you, great! And if not, just point me in the right direction. Thanks, -Tristan On Dec 9, 8:27 am, Peter Kapelyan <[email protected]> wrote: > Awesome! That's the (holiday) spirit! :) > > > > > > On Wed, Dec 9, 2009 at 11:16 AM, Tristan S <[email protected]> wrote: > > Hi All, > > > Firstly, I've been using Away3D Lite for about a week now and I love > > it's elegance. I noticed there wasn't an orthogonal lens so I created > > one since I really wanted to take advantage of the enhancements in > > Lite (and soon in the HaXe version of Lite). My contribution is a > > simple refactor of the Camera3D classes and the addition of a lenses > > package (akin to Away3D) that contains an ILens interface and two > > concrete implementations PerspectiveLens and OrthogonalLens. > > > For your consideration, I've posted my copy of the source here: > >http://groups.google.com/group/away3d-dev/web/away3dlite_orthogonal.zip > > > -Tristan S > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM
