UPDATE: Now shows separate browser on each face! (a fast PC will help 🙂 ). Click a face in “browse” mode to select it and change the URL (or interact with it). Source code available on CodePlex (see related post).
There’s an updated version of YouCube (WPF 3D Web Browser) available based on my Awesomium / Chromium control. Try it here!
If you prefer you can run the application locally instead (ZIP here).
For more examples, and an important note about VS2010, be sure to check out Sacha Barber’s related post 🙂




38 comments
Comments feed for this article
August 27, 2009 at 6:25 am
Dew Drop – August 27, 2009 | Alvin Ashcraft's Morning Dew
[…] WPF 3D Chromium Browser (Chris Cavanagh) […]
August 28, 2009 at 7:26 am
Bravo
I downloaded thia app. I could not browse. I could see white box and be able to rotate it but could not really use it. Great effort though!!
August 28, 2009 at 7:42 am
Chris Cavanagh
Bravo – Interesting… Did you run the ClickOnce app or use the ZIP? It’s possible the zip is a little out of date compared to the ClickOnce (I maybe forgot to update it).
Does your browser usually go through a proxy or anything “unusual”? Do you already use Google Chrome? (maybe having the full browser will let you configure any other settings it needs…. I’m just taking a wild guess here though 🙂 ).
Any more details you can send would be helpful 🙂
August 29, 2009 at 1:00 pm
Shannon Cavanagh
This is a great idea, and im using it to type this comment as we speak…..
It does have a few bugs though, which I will list next, then of course, il add some praise at the end 😉
anyway, so far the “youcube” seems to be having some trouble with flash and java, I havnt tested anything else, and sometimes its hard to see the scroll bar, maybe you could make the green border on the side of the fase a bit thinner? I would also like to see som form of back button if you could. There are a few other small bugs and glitches and stuff, but they are very, ( VERY! ) small…..
I do however like the way that the cube “scales” with the window it uses, and the fullscreen option, and I love the way everything on the cube is “live” and sont just pause when you switch windows……..Imagine watching three youtube vids at the same time…….
I would also suggest that you be careful with the name……..”youcube” is like “youtube” and google might not like that…….
Continue the good work!
August 29, 2009 at 7:44 pm
Chris Cavanagh
Thanks Shannon! Yes it urgently needs a back button 🙂 If you install Safari or Google Chrome and install the Flash & Silverlight plugins there, they should appear in YouCube (it’s based on the same browser base as Chrome & Safari).
I’ll go make the green focus border a bit thinner…
August 31, 2009 at 8:03 am
Squid Brain Backup – SB2 » Blog Archive » Un nome un santo…Chris Cavanagh!
[…] Facendo ciò ci si apre a infinite possibilità di utilizzo. Un esempio lo potete trovare qui […]
September 1, 2009 at 7:17 am
Li Fong
http://ubrowser.com is better and been out for 3+ years.
September 1, 2009 at 8:23 am
Chris Cavanagh
Li Fong – Thanks! It looks cool 🙂
September 1, 2009 at 9:49 am
squid
Li Long – Is based on libmozilla and there is not C# wrapper.
September 2, 2009 at 6:19 am
Li Fong
Sorry Chris – my comment came over strong and not what I meant all. Yours looks like renderes more high resolution and looks very nice. Good job.
squid: what is libmozilla – not heard that.
September 2, 2009 at 6:51 am
Chris Cavanagh
Li Fong – No worries 🙂 This is just a demo showing some of the cool / crazy things possible with a WPF browser control (rather than embedded ActiveX). I wasn’t familiar with uBrowser before though, so thanks for pointing it out!
September 5, 2009 at 10:49 am
Braun
visit: http://www.universaloscillation.com/youcube/?4063
my ‘experiment’!
September 5, 2009 at 9:17 pm
Chris Cavanagh
Braun – That’s awesome! I like the way the sound changes with the viewpoint (kinda like tuning a radio)… Nice 🙂
September 5, 2009 at 9:32 pm
Chris Cavanagh
Braun – Too cool to resist: http://www.universaloscillation.com/youcube/?4076 🙂
September 7, 2009 at 5:07 am
callum
For completeness sake 🙂
Great job Chris and Aaron.
September 9, 2009 at 8:21 am
A Real WPF WebBrowser « Chris Cavanagh’s Blog
[…] For more fun, have a look at YouCube 3! […]
September 22, 2009 at 9:12 am
Havadis #4 (Eylül’09) | Bulutlararası
[…] YouCube – Geliştiricinin böylesi de var tabi. Chris Cavanagh, klişede sınır tanımamış; manşetlere çıkmak için elinden geleni yapmış. Kabız bir proje adıyla WPF üzerinde yazdığı MS’in kod gezegenine yerleştirdiği 3B tarayıcıyı anons ediyor. Chris’i insanlığa yaptığı bu büyük katkı için kutlamamak elde değil. Ama merak etmiyor değiliz bugüne kadar neden başka bir âdemoğlu 3 boyutlu web tarayıcısı yapmayı düşünemedi. Şahidiz; WPF ile kaybolan heyecanımızı yeniden bulduk! […]
November 17, 2009 at 3:02 pm
sachabarber.net » WPF : A True WPF Browser Control That Can Bend It Like Beckham
[…] https://chriscavanagh.wordpress.com/2009/08/27/wpf-3d-chromium-browser/ […]
November 18, 2009 at 11:18 am
sacha barber
Chris
I posted about this over at my blog, but someone stated it leaks memory, just thought you may want to answer that user yourself.
Have a look at the post on my blog.
December 6, 2009 at 9:02 am
Julian
Hello I download the Software YouyCube and I was delighted but I want to see the source code….
And I would also like to download the source code of Chrorium Bowser
I appreciate their work
I´m from argentina….
December 6, 2009 at 10:00 am
Chris Cavanagh
Julian – All the source is available on CodePlex 🙂 :
YouCube 3 – http://youcube3.codeplex.com/
WPF Chromium control – http://wpfchromium.codeplex.com/
Hope this helps!
December 7, 2009 at 9:24 am
Julian
If you look at the codeplex page.. no links to download the data… only are these links:
https://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
and
https://chriscavanagh.wordpress.com/2009/08/27/wpf-3d-chromium-browser/
thanks
December 7, 2009 at 9:35 am
Chris Cavanagh
Julian – Sorry for the confusion. If you select the Source Code tab on CodePlex, then select the most recent change set you can browse the source. There’s also a Download link that’ll give you everything in a zip.
Note the YouCube 3 source has dependencies on a couple components in the WPF Chromium project (AwesomiumWrapper and Cjc.ChromiumBrowser).
January 10, 2010 at 4:53 pm
WPF Chromium DPI bugfix « Chris Cavanagh’s Blog
[…] 10, 2010 · Leave a Comment I’ve updated the WPF Chromium WebBrowser and Chromium3D demos to fix an issue with system DPI settings. Source on CodePlex has also been updated (all […]
January 13, 2010 at 3:54 pm
Awesomium v1.5 « Chris Cavanagh’s Blog
[…] (Cjc.AwesomiumWrapper) for the newly released Awesomium v1.5. The WPF Chromium WebBrowser and YouCube 3 (3D WPF WebBrowser) demos have also been updated, along with their source on CodePlex (here and […]
February 25, 2010 at 10:02 am
Nelson Silva
Hi!
Really…Nice Work!!!
Specially if you want to use it in a Multitouch environment!
Now I am just missing a nice (rotate enabled) PDF Control…and then we can open PDF’s with this browser and adapt to a multitouch app that can display/Rotate PDF’s too…
Thanks a lot! Great work!
February 25, 2010 at 10:15 am
Chris Cavanagh
Nelson – You could probably get that working with Google Doc viewer…? http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html
June 21, 2010 at 1:58 pm
wexoni
This is amazing. I just have problems running it…
I added reference to cjc. Awesomiumwrapper and cjc. and cjc.chromiumbrowser and I am getting:
A first chance exception of type ‘System.IO.FileNotFoundException’ occurred in Cjc.ChromiumBrowser.dll
September 5, 2010 at 12:45 pm
Tito
Hi Chris, I have the same problem as wexoni: System.IO.FileNotFoundException occurred in Cjc.ChromiumBrowser.dll. I get this problem when I test the web browser on a non-developper device. I have installed redistributables for C++ (2005, 2008 and 2010) but I always get this error. And on my computer, the same executable works well. Do you have an idea to resolve this problem ?
September 5, 2010 at 12:58 pm
Chris Cavanagh
wexoni & Tito – First make sure you’re using the matching versions of WebBrowser and Awesomium (probably are since it’s working on developer machines, but worth checking)… The source on the “Source code” tab in CodePlex is currently based on Awesomium 1.5.1. The zipped source on the “Downloads” page is based on Awesomium 1.6 beta (still waiting on release).
If that seems to be in order, maybe one of the Awesomium binaries is missing. Awesomium 1.5.1 only needed a couple, but 1.6 has a bunch of them (to support things like process isolation etc).
Also take a look in the Application Log (through Event Viewer). There might be something useful logged there.
If still no luck, could you send me a zip so I can take a closer look? (awesomium-at-chriscavanagh.com).
EDIT: Also, are these issues all with your own projects using Cjc.ChromiumBrowser & Cjc.AwesomiumWrapper, or specifically related to YouCube 3?
December 5, 2010 at 1:49 pm
jiga
is it possible to render WPF UI on top of this browser?
thanks
December 5, 2010 at 5:13 pm
Chris Cavanagh
jiga – Yes it should work like any WPF element (including applying transforms, effects etc) 🙂
March 27, 2011 at 3:28 am
saurabh kapate
sir,i have downloaded the source code and run the application in my visual studio but only the first url of cube loads and other are showing the source code of the website….please help me….
i request u to pls. send me the corrected source code or the path of source code so that i can download it and run it correctly…
April 10, 2011 at 8:12 am
Chris Cavanagh
saurabh – Does the demo app work ok for you? (running directly; not building from source).
I’ll look into this and let you know if I find anything (someone else reported a similar issue with their own project, although the demo appeared to work ok for them).
April 11, 2011 at 11:13 am
saurabhkapate
Not actually, it stops running while in the debugging when we try to rotate the cube…but that’s not my problem…If u can help me to show all 6 URL’S on each 6 phases then please let me know…..waiting for ur reply.
May 18, 2011 at 11:32 am
Andrej Benedik
If you are interested in using WPF 3D I would recommend checking out the http://www.wpf-graphics.com/Overview3d.aspx.
The page describes advantages of using WPF 3D in business applications.
Check out also the Ab3d.PowerToys library that simplifies using WPF 3D and adds many advanced features like: simplifies cameras, camera controllers, 3D models (box, sphere, etc.), 3D lines, 3D text and simplified event handling on 3D objects.
There is also Ab3d.Reader3ds library that can read objects and animations from 3ds files.
November 26, 2013 at 6:44 am
Bala
I got the below error when i build the latest source. ‘Cjc.ChromiumBrowser.WebBrowser’ does not contain a definition for ‘EnableAsyncRendering’ D:\Bowser\youcube3-76924\Window1.xaml.cs 179 5 Cjc.Chromium3D
Could you please help?
October 26, 2015 at 11:10 pm
Windows 7 / VS2010 demo app | Enfinite
[…] https://chriscavanagh.wordpress.com/2009/08/27/wpf-3d-chromium-browser/ […]