  | | | Dir3d-l Digest, Vol 8, Issue 11 | Dir3d-l Digest, Vol 8, Issue 11 2004-01-09 - By dir3d-l-request@(protected)
Back Send Dir3d-l mailing list submissions to dir3d-l@(protected)
To subscribe or unsubscribe via the World Wide Web, visit http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l or, via email, send a message with subject or body 'help' to dir3d-l-request@(protected)
You can reach the person managing the list at dir3d-l-owner@(protected)
When replying, please edit your Subject line so it is more specific than "Re: Contents of Dir3d-l digest..."
Today's Topics:
1. Re: Director3D speed with Javascript (Alex da Franca) 2. Showing video as texture - help / hints needed (Roman Bl?th) 3. Re: Showing video as texture - help / hints needed (Colin Holgate) 4. Re: Showing video as texture - help / hints needed (Stefan Ladstaetter) 5. Re: Showing video as texture - help / hints needed (Danny Kodicek) 6. Re: Showing video as texture - help / hints needed (Martin Pallett) 7. Re: Showing video as texture - help / hints needed (Agust?n Mar?a Rodr?guez) 8. Re: Showing video as texture - help / hints needed (Roman Bl?th) 9. Re: Camera following (Mathieu S?nidre) 10. RE: Director3D speed with Javascript (Thomas Higgins) 11. test, please disregard (Nmuta Jones) 12. RE: Director3D speed with Javascript (Nmuta Jones)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Message: 1 Date: Fri, 9 Jan 2004 12:35:52 +0100 From: Alex da Franca <da.Franca@(protected)> Subject: Re: [Dir3d-l] Director3D speed with Javascript To: dir3d-l@(protected) Message-ID: <p06002010bc2441b15d8e@[217.239.85.11]> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1" ; format="flowed"
At 23:18 Uhr -0500 08.01.2004, Nmuta Jones wrote: > >I love Director and I would love to come back if this new "MX2004" is an >indication that Director is still getting sufficient attention from >Macromedia. Thanks.
there doesn't seem to be much reason for a 3-D worker to return to director this release :-( hopefully will get a .5 release this time. the .5 releases seem better for 3-D people like us. ;-)
but the very good new is, that director seems to get more attention from macromedia, than many of us believed some month ago... I think the feuture set for DMX 2004 shows it very clearly.
juhu ! --
||| a�ex --
-- ---- ---- ---- ---- ---- --
Message: 2 Date: Fri, 09 Jan 2004 15:33:45 +0100 From: Roman Bl?th <bloeth@(protected)> Subject: [Dir3d-l] Showing video as texture - help / hints needed To: dir3d-l@(protected) Message-ID: <3FFEBBC9.4050903@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1; format=flowed
Hey there,
frequent reader, occasional contributor, but now I need advice.
I'm about to start showing a video within a relatively complex 3d-scene at some point (via constantly replacing the "cinema's" texture with an actual video frame).
I've tried to use the ChromeXtra-methods for real video, but it showed that the video struggles - it's far from fluent video. That unfortunately is a no go for my project, so I'm trying to use another method.
Showing a Quicktime video "off screen" and copying the corresponding proportion of the stage image like Tom Higgins describes on http://poppy.macromedia.com/~thiggins/flash_integration/flashvideo/index.htm is a working method in theory (it is MUCH FASTER than using real video!) - my problem is just that I cannot use a web browser movie, but a stand alone projector, and thus this method doesn't work anymore: As soon as the video sprite is not visible on the stage any more, also the stage image will not contain any video frame to copy into an image object for use as texture.image.
Perhaps someone out there can help me with this - anyone has got any clue about how to accomplish this task?
Thanks a load in advance, roman bl�th.
-- ---- ---- ---- ---- ---- --
Message: 3 Date: Fri, 9 Jan 2004 09:43:22 -0500 From: Colin Holgate <colin@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: dir3d-l@(protected) Message-ID: <p06020403bc246e6a04e5@[192.168.1.101]> Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>Perhaps someone out there can help me with this - anyone has got any >clue about how to accomplish this task?
In a projector case, you could play the video in a hidden MIAW, and get the image of the MIAW window.
-- ---- ---- ---- ---- ---- --
Message: 4 Date: Fri, 9 Jan 2004 15:43:14 +0100 From: "Stefan Ladstaetter" <ladstaetter@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: <dir3d-l@(protected)> Message-ID: <001301c3d6be$e9524880$ee0fa8c0@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"
> anymore: As soon as the video sprite is not visible on the stage any > more, also the stage image will not contain any video frame to copy > into an image object for use as texture.image.
Easy: Play the video in a MIAW and take the image of the MIAW. It can be off-screen, of course.
Stefan
-- ---- ---- ---- ---- ---- --
Message: 5 Date: Fri, 9 Jan 2004 14:58:31 -0000 From: "Danny Kodicek" <dragon@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: <dir3d-l@(protected)> Message-ID: <003101c3d6c1$0bf2ce80$ab439fd4@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"
You might try placing the video on the stage somewhere underneath the DTS 3D member. It won't show up to the viewer, but it'll appear on the stage.image. I know that someone did this a while back with Flash, but I do remember some people complaining about problems with flickering.
If not, you could use a MIAW to play the video. If you open the window and hide it, I think you can still get its image.
Danny
-- -- Original Message -- -- From: "Roman Bl�th" <bloeth@(protected)> To: <dir3d-l@(protected)> Sent: Friday, January 09, 2004 2:33 PM Subject: [Dir3d-l] Showing video as texture - help / hints needed
Hey there,
frequent reader, occasional contributor, but now I need advice.
I'm about to start showing a video within a relatively complex 3d-scene at some point (via constantly replacing the "cinema's" texture with an actual video frame).
I've tried to use the ChromeXtra-methods for real video, but it showed that the video struggles - it's far from fluent video. That unfortunately is a no go for my project, so I'm trying to use another method.
Showing a Quicktime video "off screen" and copying the corresponding proportion of the stage image like Tom Higgins describes on http://poppy.macromedia.com/~thiggins/flash_integration/flashvideo/index.htm is a working method in theory (it is MUCH FASTER than using real video!) - my problem is just that I cannot use a web browser movie, but a stand alone projector, and thus this method doesn't work anymore: As soon as the video sprite is not visible on the stage any more, also the stage image will not contain any video frame to copy into an image object for use as texture.image.
Perhaps someone out there can help me with this - anyone has got any clue about how to accomplish this task?
Thanks a load in advance, roman bl�th. __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
-- ---- ---- ---- ---- ---- --
Message: 6 Date: Fri, 09 Jan 2004 14:53:53 +0000 From: Martin Pallett <martin@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: dir3d-l@(protected) Message-ID: <5.2.1.1.0.20040109144706.02b31ea8@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"; format=flowed
Hi,
try putting the Quicktime in a MIAW the same size as the video. You don't even need to open it - just declare it, send the Quicktime to the frame you need, and grab the window's image
i.e.
grab = window("MovieWithAQuickTimeInIt") tell grab sprite(1).movietime = thisframetime end tell imageGrab = grab.image
or
open the window offscreen and have the video playing, and just grab the window's image each time you need a frame
hope this helps,
Martin Pallett
At 15:33 09/01/2004 +0100, you wrote: >Hey there, > > >frequent reader, occasional contributor, but now I need advice. > >I'm about to start showing a video within a relatively complex 3d-scene at >some point (via constantly replacing the "cinema's" texture with an actual >video frame). > >I've tried to use the ChromeXtra-methods for real video, but it showed >that the video struggles - it's far from fluent video. That unfortunately >is a no go for my project, so I'm trying to use another method. > >Showing a Quicktime video "off screen" and copying the corresponding >proportion of the stage image like Tom Higgins describes on >http://poppy.macromedia.com/~thiggins/flash_integration/flashvideo/index.htm >is a working method in theory (it is MUCH FASTER than using real >video!) - my problem is just that I cannot use a web browser movie, but a >stand alone projector, and thus this method doesn't work anymore: As soon >as the video sprite is not visible on the stage any more, also the stage >image will not contain any video frame to copy into an image object for >use as texture.image. > > >Perhaps someone out there can help me with this - anyone has got any clue >about how to accomplish this task? > > >Thanks a load in advance, >roman bl�th. >__ ____ ____ ____ ____ ____ ____ ____ ____ ____ >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
-- ---- ---- ---- ---- ---- --
Message: 7 Date: Fri, 09 Jan 2004 12:02:29 -0300 From: Agust?n Mar?a Rodr?guez <agustin@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: Danny Kodicek <dragon@(protected)>, dir3d-l@(protected) Message-ID: <3FFEC285.1040505@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1; format=flowed
Danny Kodicek wrote:
> I know that someone did this a while back with Flash,
It was Mal.
> but I do remember some > people complaining about problems with flickering.
That was Colin. -- Agust�n Mar�a Rodr�guez | agustin@(protected) | www.OnWine.com.ar
-- ---- ---- ---- ---- ---- --
Message: 8 Date: Fri, 09 Jan 2004 16:02:42 +0100 From: Roman Bl?th <bloeth@(protected)> Subject: Re: [Dir3d-l] Showing video as texture - help / hints needed To: Danny Kodicek <dragon@(protected)>, dir3d-l@(protected) Message-ID: <3FFEC292.6060907@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1; format=flowed
Dear wizards,
concerning the subject above, you helped me a lot! It works both ways, putting the video sprite behind the DTS 3D sprite and showing the video in a MIAW. I have to compare the performances of both methods, but both are much better than working with Real Video.
Thank you guys, you quite made my day!
Best regards, roman bl�th.
-- ---- ---- ---- ---- ---- --
Message: 9 Date: Fri, 9 Jan 2004 16:51:32 +0100 From: Mathieu S?nidre <matse@(protected)> Subject: Re: [Dir3d-l] Camera following To: dir3d-l@(protected) Message-ID: <1073663492.3ffece04a71b5@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1
Hi,
Was the dummy "removedFromWorld" ? I remember having trouble with this several months ago, and it was precisely because of that (took a while to find out...). I can't remember what problem(s) was occuring because of this though :/
hth
Matse http://www.newtgames.com
Selon Roger Jones <roger@(protected)>: > I tried something like that recently and found that when I made the > camera a child of a dummy that reflection maps no longer updated when > the camera was no at the top of the hierarchy. YMMV
-- ---- ---- ---- ---- ---- --
Message: 10 Date: Fri, 9 Jan 2004 07:59:35 -0800 From: Thomas Higgins <thiggins@(protected)> Subject: RE: [Dir3d-l] Director3D speed with Javascript To: "'dir3d-l@(protected)'" <dir3d-l@(protected)> Message-ID: <AF3D4B6E3776C7459203A5CB01B976DB0535685A@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"
> > I doubt that the Javascript code will make any difference > > speed wise because I think behind the scenes both Lingo > > and Javascript get compiled to the same bytecode. If > > anyone knows better then please advise. > > According to Tom, this is *not* the case. The JS engine is > a separate module, and generally runs slower than Lingo > (how much slower depends what you're doing). They > considered compiling them to the same bytecode, but this > would have been such a nightmare that instead they > incorporated an existing JS engine (SpiderMonkey).
Danny's got it correct, we used the SpiderMonkey engine and so your JS syntax scripts and your Lingo scripts are in fact compiled to separate byte-code then run through different execution engines at run-time. The truth is that Lingo is generally faster than JavaScript syntax, there are areas where JS syntax can provide equivalent or possibly better performance than Lingo (text searching using regular expressions), but in general Lingo wins. When implementing this engine our primary concern for this release was to get it in place and stable, we did not want to get into the SpiderMonkey engine itself and try to do any tweaks other than what was really necessary, as such performance optimizations of the engine wasn't on the feature list. We did work to optimize the communication layer between the two syntax options and we are in general on par with or faster than JavaScript in the browser and ActionScript in Flash. Maybe next release we can look at internal performance optimizations in the JS engine we've incorporated, but this release needed to be stable and complete, we think we've done that.
Cheers, Tom Higgins Product Specialist - Director Team Macromedia
Announcing Director MX 2004, de lekkerste! http://www.macromedia.com/software/director
...
-- ---- ---- ---- ---- ---- --
Message: 11 Date: Fri, 9 Jan 2004 11:06:05 -0500 From: Nmuta Jones <nmuta@(protected)> Subject: [Dir3d-l] test, please disregard To: "dir3d-l@(protected)" <dir3d-l@(protected)> Message-ID: <1073664365.3ffed16df2517@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1
test
-- ---- ---- ---- ---- ---- ---- ---- ---- ------ This mail sent through IMP: http://horde.org/imp/
-- ---- ---- ---- ---- ---- --
Message: 12 Date: Fri, 9 Jan 2004 11:53:30 -0500 From: Nmuta Jones <nmuta@(protected)> Subject: RE: [Dir3d-l] Director3D speed with Javascript To: "dir3d-l@(protected)" <dir3d-l@(protected)> Message-ID: <1073667210.3ffedc8a7d301@(protected)> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1
Nik Lever wrote:
> Out of interest what 3D apps have you used that improve on Director for > speed of creation that includes a physics engine?
My response:
Well, for one Virtools.
Virtools also has Havok physics capabilites (costs extra) but it is twice as fast as Director, and it runs in a browser. Very expensive, but if you teach (like me) or if you are a student you can get educational version. Their 'rubber ducky' physics demo ran FAST on a 4MB intel gfx card on with a 450 mhz processor on a machine built in 1997 with Windows 98. I was impressed. That same old computer runs Director3D so slow it is barely playable.
Second: Blitz3D
Blitz3D is FAST. Although the code is based on Basic and very easy to write and read, it is compiled to C++ code and apps run fast, hence the name 'Blitz'. Some Blitz coders have written physics .dlls, all of which are free and I think one is open source. I have seen ragdoll, cloth, rigid body physics in Blitz using these demos and they are very fast. When I bought Blitz it was only $150 and now the price has even dropped to $100. the site is blitzbasic.com but the hangout place for all of us coders is blitzcoder.com Just make sure if you buy to buy from blitzbasic.com...that will allow you to get the most recent engine updates, which are crucial.
If you want to look at physics in Blitz poke around on blitzcoder.com The user community is huge. I've finished 2 complete 3D games in it and it's pure bliss. And a great exporting pipeline for models and animations from 3Ds Max to Blitz is available.
Third: QUEST3D
Quest3D is probably the fastest of all of these. Similar to Virtools, it has a visual authoring system but you can also write scripts and even your own C++ building blocks if you so desire.
Quest is relatively inexpensive and comes with built in physics that are awesome. It runs in a browser like Virtools and it has pathfinding, pixelshaders, realtime shadows (pro version) and tons of other stuff. It's the envy of the real time 3D world right now IMHO. I bought the LITE version and I love it. (only $89)...not bad considering physics included!
Quest3D has the best realtime physics car demo I have ever seen. I found it somewhere on the user forums....its called the 'buggy' demo. It has a suspension and shocks system that is very nice...built by a university student somewhere. Amazing and very very fast. That is what sold me on Quest3D. I think you have to download the free trial version to play the buggy demo, if you can find the buggy on the user boards. if you can't find it I can direct you.
3dGamestudio A6 also has physics in the commercial and pro versions. A6 cannot run in a browser, though. But the userbase is ENORMOUS. On the Conitec website, they have a comparison of about 20 game creation apps, all of which I have looked into, and 5 of which have physics. The comparison is a little outdated, but it's here: http://www.conitec.net/a4faq.htm I cannot testify for 3dGamestudio A6 because I have not tried it.
Director is a killer app, and nothing can compare to it in its own league, but I just wanted to shed some light on other apps that have really focused on realtime 3D authoring, since I have received two questions about it so far.
-nj>
-- ---- ---- ---- ---- ---- ---- ---- ---- ------ This mail sent through IMP: http://horde.org/imp/
-- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
End of Dir3d-l Digest, Vol 8, Issue 11 **************************************
|
|
 |