That's excellent news.  Thank you again for taking the time to explain
the subtleties of the lenses in Away 3D, and I'm happy my efforts will
help others as well. :)

Happy holidays,

-Tristan

On Dec 13, 11:29 am, Rob Bateman <[email protected]> wrote:
> Hey Tristan
>
> lenses have now been uploaded to the trunk of Away3D Lite in a 1.0.3 release
>
> cheers!
>
> Rob
>
>
>
> On Thu, Dec 10, 2009 at 12:36 AM, Rob Bateman <[email protected]> wrote:
> > Hey Tristan
>
> > great job! there are a few tweaks to make to the code before we can upload,
> > but otherwise things look correct.
>
> > Just to clafiry the different lens types - in away3d the default projection
> > uses a zoomfocuslens rather than a perspectivelens. the difference is subtle
> > but is there as a legacy to the old way of using zoom and focus properties.
> > both lenses do pretty much the same thing, but in the zoomfocuslens' case,
> > focus is used as an addition to the z-depth of objects as well as a scaling
> > factor, which ensures that adjusting the focus keep the scale constant for
> > objects at distance 0 from the camera. this sounds confusing, and it is!
> > basically zoomfocuslens is there to maintain compatibility with older
> > projects, while perspectivelens uses a more standard equation for the
> > projection matrix, and renders the focus property redundant. if you want to
> > emulate what you see in your 3d modelling package, for example, you want to
> > make sure you use perspectivelens! hope that makes things clearer
>
> > cheers
>
> > Rob
>
> > On Wed, Dec 9, 2009 at 5:13 PM, Tristan S <[email protected]> wrote:
>
> >> 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
>
> > --
> > Rob Bateman
> > Flash Development & Consultancy
>
> > [email protected]
> >www.infiniteturtles.co.uk
> >www.away3d.com
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]

Reply via email to