[News] Ogre3D now supports Windows Phone 8!
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
Re: [News] Ogre3D now supports Windows Phone 8!
Awesome! Thanks a lot!
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
Do you have the rest of the dev environment ready?
Meaning Windows 8 with the Windows Phone 8 SDK and the emulation running?
Meaning Windows 8 with the Windows Phone 8 SDK and the emulation running?
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
A ready to go WinRT and WP8 solution.
1. Install Window 8 and run it.
2. Install Windows Phone 8 SDK
3. Install Visual Studio Express 2012 for Windows 8
4. Download and uzip this to c: root. (The result will be in C:\1.9WPRC)
5. If you want to compile for Windows Phone 8 - open this solution - C:\1.9WPRC\WP8\build\OGRE.sln using Visual Studio Express 2012 for Windows Phone 8
6. If you want to compile for WinRT - open this solution - C:\1.9WPRC\WinRT\build\OGRE.sln using Visual Studio Express 2012 for Windows 8
I didn't try to build with to paid version of Visual Studio because I wanted to use only free tools (except Windows 8 I guess).
Make sure to use the right Visual Studio versions (as in steps 5,6) - else you won't be able to deploy the app (deploy will fail without any error message to explain why).
1. Install Window 8 and run it.
2. Install Windows Phone 8 SDK
3. Install Visual Studio Express 2012 for Windows 8
4. Download and uzip this to c: root. (The result will be in C:\1.9WPRC)
5. If you want to compile for Windows Phone 8 - open this solution - C:\1.9WPRC\WP8\build\OGRE.sln using Visual Studio Express 2012 for Windows Phone 8
6. If you want to compile for WinRT - open this solution - C:\1.9WPRC\WinRT\build\OGRE.sln using Visual Studio Express 2012 for Windows 8
I didn't try to build with to paid version of Visual Studio because I wanted to use only free tools (except Windows 8 I guess).
Make sure to use the right Visual Studio versions (as in steps 5,6) - else you won't be able to deploy the app (deploy will fail without any error message to explain why).
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
Re: [News] Ogre3D now supports Windows Phone 8!
Awesome! It works. Thanks again! 
Do you happen to know if it should be possible to render on a xaml DrawingSurface with Ogre?

Do you happen to know if it should be possible to render on a xaml DrawingSurface with Ogre?
Last edited by jarno on Thu Nov 08, 2012 8:36 am, edited 1 time in total.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
Great! You are the third person on earth to get OGRE running on WP8 (emulation or device)
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 9
- Joined: Mon Nov 05, 2012 2:06 am
- Location: Staffs, UK
Re: [News] Ogre3D now supports Windows Phone 8!
mmm that makes me the 4th, thanks for your all assistance Assaf 

-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
Sure.
I have some GUI fixes - to make sample browser navigation easier - will commit them soon.
I have some GUI fixes - to make sample browser navigation easier - will commit them soon.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 9
- Joined: Mon Nov 05, 2012 2:06 am
- Location: Staffs, UK
Re: [News] Ogre3D now supports Windows Phone 8!
All the samples work fine but I do get intermittent break warnings from VS2012,
I got this when I tried to launch the skeletal animation sample, it works after I redeploy the application
Unhandled exception at 0x7182E679 (Msvcr110.dll) in SampleBrowserWP8.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
stops at line 131 on invarg,c
In debug mode, on the win32 emulator.
Now onto creating a base project to start learning from.
I got this when I tried to launch the skeletal animation sample, it works after I redeploy the application
Unhandled exception at 0x7182E679 (Msvcr110.dll) in SampleBrowserWP8.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
stops at line 131 on invarg,c
In debug mode, on the win32 emulator.
Now onto creating a base project to start learning from.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
If you want to see what the " An invalid parameter" issue is - turn on break on c++ exceptions in visual studio. Good luck with your project.
Watch out for my OGRE related tweets here.
-
- Greenskin
- Posts: 105
- Joined: Tue Dec 14, 2010 9:46 am
- x 1
Re: [News] Ogre3D now supports Windows Phone 8!
Good news! We are planning to port our Android/iOS games to Win8, if so.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
Will be happy to help if you will have issues.
Watch out for my OGRE related tweets here.
-
- Kobold
- Posts: 35
- Joined: Wed Aug 18, 2010 9:14 am
Re: [News] Ogre3D now supports Windows Phone 8!
WP8 running error:
"The project 'SampleBrowserWP8' cannot be started directly. To debug this project, you must reference it from an aplication project thar is specified as the Startup Project."
tell me, how i can do?
IDE is VS2012 pro. winRT can run on it. WP8 is not.
"The project 'SampleBrowserWP8' cannot be started directly. To debug this project, you must reference it from an aplication project thar is specified as the Startup Project."
tell me, how i can do?

IDE is VS2012 pro. winRT can run on it. WP8 is not.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
You need to use the visual studio express that comes with the WP8 SDK.
Watch out for my OGRE related tweets here.
-
- Kobold
- Posts: 35
- Joined: Wed Aug 18, 2010 9:14 am
Re: [News] Ogre3D now supports Windows Phone 8!
i use vs express 2012 for WP, but it show "SampleBrowserWP8 project is incompatible with the current edition of Visual studio".
i had installed VS pro and WP8 SDK >...
i had installed VS pro and WP8 SDK >...
Last edited by nkligang on Tue Nov 13, 2012 11:12 am, edited 1 time in total.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
No clue, it works for me on more then one computer.
Try to create a new WP8 project and see if it runs.
Try to create a new WP8 project and see if it runs.
Watch out for my OGRE related tweets here.
-
- Kobold
- Posts: 35
- Joined: Wed Aug 18, 2010 9:14 am
Re: [News] Ogre3D now supports Windows Phone 8!
thanks Assaf Raman. yes , i create a new WP8 projects (for native only) that run on my computer...there was any proplem with my computer and IDE.Assaf Raman wrote:No clue, it works for me on more then one computer.
Try to create a new WP8 project and see if it runs.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
No clue, and I don't know how to recreate the problem - so I don't see how I can help.
Try uninstalling the WP8 SDK then re-installing the version from Microsoft download site.
Try uninstalling the WP8 SDK then re-installing the version from Microsoft download site.
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
Re: [News] Ogre3D now supports Windows Phone 8!
So, I'm now able to pass ogre render results from a WinPRT component to a managed WP project via a shared texture and show them on top of xaml content. However, for some reason I don't seem to be able to get the character sample animations to play in my project (the sample that is shown on the video here http://blogs.msdn.com/b/interoperabilit ... works.aspx). I pretty much just took the character controller class and the asset .zip from the sample and am using them from my renderer, which mimics the CubeRenderer in XAMLAndDirect3D sample project. I'm positive that the character controller addTime method gets called every frame with proper time delta value and that animation addTime gets called as well, but all that happens is that the character changes pose but doesn't animate.
I would appreciate any help. Is this related to WP not supporting hardware skinning(?). Or what could I be missing?
Thanks!
I would appreciate any help. Is this related to WP not supporting hardware skinning(?). Or what could I be missing?
Thanks!
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
It doesn't work in the OGRE sample browser that I uploaded?
Watch out for my OGRE related tweets here.
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
Re: [News] Ogre3D now supports Windows Phone 8!
It does work in the sample project, but when I try to run the animations in my own project, they don't seem to be playing.
-
- Gnoblar
- Posts: 8
- Joined: Wed Nov 07, 2012 11:18 am
Re: [News] Ogre3D now supports Windows Phone 8!
I got the animations to work now. I'm rendering the scene to texture and previously I was just rendering by calling myrendertexture->update(). Now that I switched to Ogre::Root::getSingleton().renderOneFrame(timeDelta) the animations started to work. I would still be interested to hear why the animations didn't work with RenderTexture-update().
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [News] Ogre3D now supports Windows Phone 8!
How can I recreate your issue?
Watch out for my OGRE related tweets here.
-
- Kobold
- Posts: 35
- Joined: Wed Aug 18, 2010 9:14 am
Re: [News] Ogre3D now supports Windows Phone 8!
thank you. i can run the project on my computer. when i change device orientation to landscape, the scene was not changed?Assaf Raman wrote:No clue, and I don't know how to recreate the problem - so I don't see how I can help.
Try uninstalling the WP8 SDK then re-installing the version from Microsoft download site.