Problem is that camera.fov always returns 0 to me =\

On 16 Nov, 11:07, John Brookes <jbp...@googlemail.com> wrote:
> I think its the same. Just replace with camera.fov
>
> eg camera at defualt 0,0,-1000 a plane at 0,0,0
>
> var maxheight:Number = Math.tan((view.camera.fov * 0.5) * Math.PI / 180) *
> 1000 * 2;
> var maxWidth:Number = maxheight * (stage.stageWidth / stage.stageHeight);
>
> plane = new Plane({material:material, width:maxWidth, height:maxheight,
> yUp:false, bothsides:true});
> scene.addChild(plane);
>
> On 15 November 2011 22:30, Andrea Silvestri 
> <andrea.silvestr...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Any solution for away 3? =\
>
> > Il 15/11/2011 23:14, John Brookes ha scritto:
>
> >  ahh no, thats for away 4

Reply via email to