[Papervision3D] camera capture
John Grden
neoriley at gmail.com
Thu Jul 26 13:25:19 EDT 2007
You can use MovieMaterial - which has to be an instance on stage
MovieAssetMaterial is from the library
Does that help?
On 7/26/07, -a- <aYo at binitie.com> wrote:
>
> It seems from the class documentation that the only way you can do a
> movieclip map is to have a movie clip in the library. This is not a
> FlexBuilder feature. Is there a workaround in Flex - for either Fex or
> ActionScript projects?
>
> [ a/]
> > Thanks for the tip
> > I'll try that
> > -a-
> >
> >> well, i'm guessing he did these steps:
> >>
> >> 1. create movieclip on stage
> >> 2. edit movieclip
> >> 3. add video object to movieclip's stage
> >> 4. write code similar to this in frame 1:
> >>
> >> var cam:Camera = Camera.getCamera ();
> >> myVideoContainer.attachCamera(cam);
> >>
> >> 5. exited that movieclip's timeline
> >> 6. gave it an instance name of "myCameraCapture"
> >> 7. use a MovieMaterial("myCameraCapture") for the plane object
> >>
> >> var mat:MovieMaterial = new MovieMaterial("myCameraCapture");
> >>
> >> 8. create new plane and pass the new material:
> >>
> >> var plane:Plane = new Plane(mat, myCameraCapture.width,
> >> myCameraCapture.height, 6,6)
> >>
> >> I'm guessing that's what he did ;)
> >>
> >>
> >> On 7/26/07, *-a-* <aYo at binitie.com <mailto:aYo at binitie.com>> wrote:
> >>
> >> Thanks. Do you have any idea I can get Aaron's material?
> >> > Aaron B did this at the classes in LA in 5 minutes (Show off) -
> he
> >> > might have some tips
> >> >
> >> > On 7/26/07, *-a-* < aYo at binitie.com <mailto:aYo at binitie.com>
> >> <mailto:aYo at binitie.com <mailto:aYo at binitie.com>>> wrote:
> >> >
> >> > Hi,
> >> > I've been able to map videos to the PV3D primitives haowever
> >> I do not
> >> > seem to be able to do the same for a local camera capture.
> >> > Embedding the
> >> > video in a movie clip does not help neither does drawing the
> >> capture
> >> > data to bitmapdata. Can anyone point me in the right
> direction??
> >> >
> >> > [a /]
> >> >
> >> > _______________________________________________
> >> > Papervision3D mailing list
> >> > Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >> <mailto: Papervision3D at osflash.org <mailto:
> Papervision3D at osflash.org>>
> >> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > [ JPG ]
> >> >
> >>
> ------------------------------------------------------------------------
> >> >
> >> > _______________________________________________
> >> > Papervision3D mailing list
> >> > Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> >
> >>
> >>
> >> _______________________________________________
> >> Papervision3D mailing list
> >> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> <http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
> >>
> >>
> >>
> >>
> >> --
> >> [ JPG ]
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Papervision3D mailing list
> >> Papervision3D at osflash.org
> >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>
> >>
> >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> >
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
--
[ JPG ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070726/3111ff61/attachment-0001.html
More information about the Papervision3D
mailing list