I found this example from Rob Bateman ...

view = new View3D({session:new BitmapRenderSession(1), clip:new
RectangleClipping(-400, -300, 400, 300)});
var mybitmapData:BitmapData = view.getBitmapData();

where a bitmap "session" is used instead of a "scene" ... as opposed
to what I do currently:

view = new View3D({scene:scene,
camera:camera,renderer:Renderer.BASIC});

apparently this allows you to grab a bitmap image of the rendered view
then apply effects to it (here's the post):
http://groups.google.com/group/away3d-dev/msg/b7bd8151cbac34c0

However, I don't understand the difference between a view as a
"session" and a view as a "scene" ... ?

Is this even the right dirrection for what I want to do?




On May 22, 11:59 am, Joseph <[email protected]> wrote:
> I must be really bad at keyword searching because I've been searching
> with no luck ... also I have nothing significant to give back to the
> community code-wise so feel a bit guilty about asking more
> questions ... I'll donate $$ to the cause eventually or any other way
> to give back let me know.
>
> I have a sphere with a bitmapfile material applied to it. I want to
> "project"/"draw"/"overlay" a smaller bitmap file onto the sphere
> bitmap. i.e. create the earth with bitmap file and sphere
> primitive ... now show a small airplane bitmap "flying" along the
> surface of the earth with position updated each frame render.
>
> I've looked at the Away3dTextureProjection demo and it's uber cool but
> I take a huge perf hit (I'm working with alot of objects).
>
> Using shaders to do "overlays" and I get a huge perf hit (working with
> alot of different objects).
>
> It seems like I should be able to "grab" the bitmap image on the
> sphere, place the smaller airplane on some point on the sphere bitmap
> and put them together back on sphere each enter frame ... ???? If this
> is possible how do I get access to the bitmap and plop the airplane
> onto it?
>
> Cheers in advance.
>
> Joseph

Reply via email to