I'm working on Flash Augmented Reality. I want to add virtual buttons using FLAR MANAGER but can't do it. Anyone plzz help
thanx a lot in advance..!! :)
FLAR Manager relies on one of
FLARToolkit
flare*tracker
flare*nft
see http://words.transmote.com/wp/flarmanager/
All 3 of these libraries are for tracking 2d "targets", not for tracking general motion. None of them have the feature of tracking face or hand motions like the video clip.
If you are set on using Flash, you might be able to use Marilena, a Flash conversion of OpenCV that was floating around a couple of years ago. However, the only demos I saw that used it were using it for face tracking, so I'm not sure whether it has other motion tracking in it or not.
http://www.quasimondo.com/archives/000687.php#000687
A little google search for "eye toy for flash" gives me this "flytoy" library, really similar to your video.
http://www.zachernuk.com/2010/12/19/flash-eyetoy-with-source-code/
Related
There is an overlay feature available in the library. The overlay feature is nice but functionality wise it is just there to mask the UI.
Is there a way to customize the scannable area, I mean reduce the area that is scannable on the screen? When this can't be done there is no point in having the overlay right? The overlay does not really do anything.
This android app which uses the core Zxing library developed in java by the Zxing team https://play.google.com/store/apps/details?id=com.google.zxing.client.android you can see that - if the barcode/qr code lies outside the scanning area, it does not process it. That is what I am looking for. Is this possible?
According to this link github.com/Redth/ZXing.Net.Mobile/issues/87
the author of the library says
Unfortunately there's not a great short fix that I can think of for this scenario. Yes I could only check a certain region, but what would the region be set to? It makes sense to use the non-gray areas if you're using the default overlay, but if you use a custom overlay, you might not want the same region checked.
Just need some time to implement it (on ALL platforms - which is what takes so much effort).
It has been a more than a year since this issue was raised on github, so I don't think it will be implemented anytime soon.
i am actually trying to follow this tutorial: "How to create a HTML draggable and scrollable map with inertia using Phaser framework" (google it, www. emanueleferonato .com)
Im using Unity but i configured it "pixel perfect" so i can use directly pixels like in AS3 and flashdevelop.
I basically need to make a map for the game where the player can drag in the X axis of the map.
I have no clue of how to do it, also it should have acceleration and deceleration.
Edit:
As i say before, i am using a custom framework that does not allow components, or UI, it works like FlashDevelop and AS3, so imagine the answer is in AS3.
Thanks!
I recommend looking up Unity's UI documentation (AND TUTORIALS!) :D They have really good articles, and the forums are a great resource too.
Regarding your specific problem- Scroll Rect is what you are looking for. You can implement 2D dragging, along with acceleratoion, deceleration, and other kinds of UI physics (inertia, elasticity, etc.) with it.
Please look for tutorials if you're just beginning to dabble with these. I hope that helps!
I'm developing a website related to property which has a lot to do with maps. I just browsed to one of the Google's master pieces (i must say that) Smarty Pins.
I was just wondering if i can use that (or something like that) background effect in my website. If anybody has any idea how can i achieve that please help me.
Is it legal if i copy them??
Please have a look at this link for a documented tutorial of how to develop a game using Google Maps using HTML, CSS and Javascript. And this link will guide you though a course for game development in your web app with Google Map in it.
Hope this would Help you in developing a small game in your Website which has Google Maps and make it more interactive.
All the Best!!
I'm a little confused on the terms. I understand that the spark framework has a video player and a video display. The difference being that video display doesn't have the video controls.
I know that stage video is new in AIR3 and uses hardware acceleration to play videos.
My question is, does videodisplay and videoplayer take advantage of stage video out of the box? Do I need to implement it another way?
After doing some research StageVideo for AIR desktop and extended desktop profiles is not available.
There seems to be an announcement about AIR in the coming days. Hopefully they put this on the road map. Some adobe guys hinted that this is coming.
I don't find any references to it within VideoDisplay and I don't see anything in VideoPlayer regarding StageVideo, plus from reading this article it sounds to me like they would keep them as two completely separate beasts, due to the possibility that the GPU is already in use and therefore can't be used at any given point in time (just what it sounds like to me). http://corlan.org/2010/12/01/working-with-stage-video/
Also when I Ctrl+Shift+T to get to VideoDisplay and VideoPlayer it specifically notes that they aren't optimized for mobile, which it seems is the main purpose for the new class (it's built in to the flash player it seems so I can't access the source).
If you're looking for something with pre-packaged controls and that can take advantage of the new StageVideo, check out the open source media framework (OSMF) says they support it in versions > 1.6. http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCUQFjAA&url=http%3A%2F%2Fblogs.adobe.com%2Fosmf%2F2011%2F02%2Fgetting-started-with-stage-video-support-in-osmf-and-strobe-media-playback.html&ei=gbo6T46qKIyXtwedwonzCg&usg=AFQjCNHpm7AV9MZHw79TZjAs_nIZc-qoow&sig2=45WDlwOlB60uMzivf1fZOw
I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case:
How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integrate NASA's World Wind applet in a Flex panel, similar to what Adrew Trice did with the Google Earth API.
An alternative would be id Flex would support direct access to the 3D hardware through OpenGL or DirectX. But I do not think that that is the case yet, not even through AIR.
Any information on the above items would be great. Thanks
If you're going to be running in a browser, you can definitely do something much like the example you cite, which essentially runs both the Flash player and the Google Earth plug-in alternatingly on top of one another (in that case, Google Earth situated atop Flash), using JavaScript as the glue responsible for hooking the two together.
As for wrapping Java applets, accessing the hardware, etc., though, no -- you're pretty much confined to the player in that sense. If you're hosting the Flash player in an installed application (as we often do here), or in a browser (e.g., as described above), you can reach out of the box using ExternalInterface, or if you're not, you can plug in to another app using AS3's Socket classes, but that's about it; Flash Player has no facilities for wrapping/embedding non-Flash binaries.
Hope that helps -- feel free to post back in comments and I'll try to help explain whatever additional questions you might have.
What you need to ask yourself is why on Google Earth would you want to do such a thing? Flex is Flex, not a Java wrapper. There's a reason Flex exists: Java Applet FAIL.