Please goto: World# - Real Time 3D Augmented Reality with Silverlight. Such demos are now easily possible with the open source SLARToolkit.
In this short blog post I want to present a demo I've actually made last week. Unfortunately I had no time to work on it since then. This demo is a proof of concept for doing Augmented Reality with Silverlight 4 and the built-in webcam API.
I use the open source Augmented Reality library NyARToolkitCS and implemented the necessary interfaces to make it work with Silverlight. The NyARToolkitCS library is a completely managed version of the well known ARToolkit.
Video
I've recorded a short video with my iPhone 3GS. The video was recorded at night and it's no secret that the iPhone camera is not the best, but I think it's good enough to see how the marker is tracked and the Silverlight logo moves with it.
To be continued
The first results are quite good and the demo runs smoothly at 60-70 fps on a dual core machine utilizing both cores. I will continue my work on this project and provide more details, samples and of course source code.
Stay tuned...
Nice work man! I was wondering who was going to get to this first. Looking forward to the next post :)
ReplyDeleteThanks Adam! I really appreciate your comment.
ReplyDeleteRene, awesome post mate... Keep up the good work!!
ReplyDeleteExcellent! Can you show us your source code?
ReplyDeleteThanks!
ReplyDelete@Dimitris As I wrote I will release the source code in an upcoming blog post, but I have to clean it up first.
nice!
ReplyDeleteCan you tell us the artist and name of the song as well? :)
ReplyDeleteI had written the song and the artist name in the YouTube Infos about the Clip. I just added it to this blog post for you (below the embedded video). Henrik made / makes a lot of fantastic music. Check out the link for more great tracks.
ReplyDeleteReally cool.
ReplyDeleteCan't wait to see where this goes next.
For some odd reason, SL4 poped up an error message on my MAC when trying to capture the Web Cam. Something I must investigate further - the error message was scary enough, COM related. Last time I checked, COM is not on OSX. :)
Thanks Einar. I really appreciate it.
ReplyDeleteLOL - a COM error on a MAC. Now that's a weird bug. :) Unfortunately I don't own a MAC, but I asked via Twitter if someone with a MAC and SL4b could test it and I got positive feedback. I've also read that some people encounter strange issues that are caused by the webcam.
Have you tested my other webcam demos I've posted before "EdgeCam..."?
I guess this is a problem with my configuration.
ReplyDeleteTried a different demo that lead me to a path of fixing my issues. That one said I had no default capture device, fired up Skype and it said the same. So - I guess I need to turn of USB support in Parallels, even though I've not connected my iSight to it Parallels as a peripheral it can use.
I'll try the demo after I've done it all.
Get a bad HRESULT from a call to the webcam. Safari reacts better than Firefox, which brings up a crash dialog.
ReplyDeletePS, it would be good to say how large to print the tracking marker. It printed out 8.5x11 and is soaking wet with ink :) I think I could have printed much smaller...!
ReplyDeleteThanks for testing it out, Nick and sorry for the waste of ink. I updated the text above.
ReplyDeleteThere might be an issue with this version of
Silverlight and the webcam support on MACs. Although it's still the first beta and I hope it will get fixed in subsequent releases.
Could you please post the complete error you have encountered so I can send it to the Silverlight team? Which version of Safari, Firefox and Snow Leopard have you used for test and on what MAC?
Sorry for the bad experience, but I don't own a MAC myself and therefore I'm not able to test it on that platform. Again, thanks for trying it!
An excellent demonstration of next-generation web technology, powered by Silverlight! More demos like this please!
ReplyDeleteAbsolutely Good Job.. Keep up the Good Work !!!
ReplyDeleteVery cool post. Nice job. I look forward to more to come. -joel
ReplyDeleteGenius work here Rene, very impressed indeed.
ReplyDeleteI shall be keeping a close eye on this work!
Thank you all.
ReplyDeleteI wrote a follow up:
"World# - Real Time 3D Augmented Reality with Silverlight"
http://kodierer.blogspot.com/2009/12/world-real-time-3d-augmented-reality.html
Rene Schulte, nice work. You rock! Gottah love AR.
ReplyDeleteI had the same issue running all of your webcam demo's in osx, but it seems to me that SL4 beta default video source is actually by default incorrect. The problem can be resolved by going to the Silverlight preferences, and changing the default video source under the Webcam/mic tab from DV to built in i-sight. Voila, we are good to go:)
Thanks for the solution for the MAC default webcam issue.
ReplyDeleteCould you send the source??
ReplyDeletethanks.
Humberto Lins
Hi Humberto. I will soon release the source and even more. I'm working on SLARToolkit, the Silverlight Augmented Reality Toolkit. :) So please stay tuned.
ReplyDeleteAbout this Silverlight 4 is perfect because I was watching the video and the last result is amazing I'm thinking on make this at home.
ReplyDeleteReally good work! I see progress here!
ReplyDeleteYes, Silverlight 4 rocks! I want it!
ReplyDeleteArtÃculo muy interesante e informativa. Lea con mucha facilidad. Tales artÃculos de calidad realmente muy poco ahora.
ReplyDeleteI really treasure this wonderful write up. I really appreciate the information you have provided in this article. Thanks a lot!
ReplyDeletehello all, interesting article here...hhahah..
ReplyDeletehi, why you not update your site anymore?
ReplyDeletegreat topic, i will put a link back from my blog to this article, i like this article :)
ReplyDeletehello there, what you wrote there so interesting, i am so enjoy my stay here, great
ReplyDeletehello sir, can you teach me how to write a nice article like yours? :D
ReplyDeletei love this sir...
ReplyDeleteinteresting article and topic, awesome!
ReplyDeletehi,,,i like this, nice one
ReplyDelete