> Is there any way to truly render off camera and not rely on the > browsers space?
this is what the clipping property of view is for. it overrides anything the browser is doing with regard to clipping, but doesn't seem to be behaving itself. i expect the scaling is throwing things off somewhat I've seen your issue 53 logged and will deal with it just as soon as i can cheers Rob On Fri, Aug 14, 2009 at 9:53 AM, Johan 'Zarkow' Munkestam < [email protected]> wrote: > > See if I have misunderstood something here: > In Papervision a scene added as a rawchild[ren] and respecting its > parents size, will display ontop of the control (for example, a > canvas) and (iirc) track its movements and makes it fairly easy to > display multiple 'viewports' on a page. > > For various reasons it however seems like Away3D is having some issues > doing the same. > > it wants to render to the browsers full output, so one can play with > clipping to restrict it, but this fails if the component is scaled > (scaleX, scaleY) since the clipping will now go haywire and cut away > too much. > > So I thought I could perhaps render to a bitmap (Image) using > BitmapRenderSession and passing out .getBitmapContainer from the > session. This works partly, but any resize of the browser will start > to cut into the rendered images boundaries, as it's 'draw space' is > altered. > > Is there any way to truly render off camera and not rely on the > browsers space? > > Can a scene output be linked and restricted to a specific canvas? > > Can a scene upon resizing actually be resized instead of having the > draw-area altered (showing more/less), and instead act like one would > be resizing a normal Image component? > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
