Re: 3D member images 2004-03-25 - By Martin Pallett
Back
Sorry, hadn't paid enough attention to the bit about two members!
I think it should work as long as the MIAW has access to both members i.e put them both in an external cast that is linked to the stage movie and the MIAW. This way your MIAW can refer directly to member("head") rather than telling the stage. I have been using this technique for some time to do screenshots just using one member accessed from two places, but don't see why it wouldn't work with two members.
cheers,
Martin
At 11:55 25/03/2004 -0500, you wrote: >Hey, and are you sure that you can set the camera of a sprite within a >MIAW to a camera contained in a member owned by the stage? If I could do >that, it would really speed up my image capturing problem, as I could >capture the image of a small window rather than my whole big stage. But I >tried various ways to set the camera in my MIAW with no success. Here is a >script I tried: > >tell window "@:files:LensView.dir" to sprite(1).camera=(the >stage).member("head").camera ("Camera2") > >This doesn't work at all, I get "Handler not found in object" error. > >Have you actually done this? What is the right syntax? > >Thanks, > >Carl > > > > >>From: "Neto" <neto@(protected)> >>Subject: Re: [Dir3d-l] Cameras and Images >>To: <dir3d-l@(protected)> >>Message-ID: <000d01c41207$e4c5dd20$1501b2aa@(protected)> >>Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1" >> >>Create an empty W3D and make it non DTS. Place it on the stage, with a small >>rect (that'll be the size of your texture), and using lingo to change the >>nin DTS sprite camera to the camera you want it to display in the main W3D >>(a 3D sprite can display cameras from different members other than it's >>own). >> >>The DTS member will be rendered on top of the non DTS one, and since DTS >>sprites will not affect (the stage).image, you can extract the image of the >>hidden sprite from the stage image. >> >>Just a notice, I've head that placing a non DTS 3D sprite behind a DTS one >>flickers on some Macs, so you might try adjusting the HTML tags to crop the >>DCR display area, so you can put the hidden 3D sprite outside the visible >>area (that's a good trick to have things render to the stage without the >>user seeing it, since the full stage will be rendered, but only part of it >>will be shown). For projectors, using a hidden MIAW does the trick. > >__ ____ ____ ____ ____ ____ ____ ____ ____ ____ >Dir3d-l mailing list >Dir3d-l@(protected) >http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
Spike Rowe House Emson Close Saffron Walden UK CB10 1HL +44 (0) 1799 529 100
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|