[News] Ogre3D now supports Windows Phone 8!

News, announcements and important global threads from the Ogre3D Team.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

Awesome! Thanks a lot!
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

Do you have the rest of the dev environment ready?
Meaning Windows 8 with the Windows Phone 8 SDK and the emulation running?
Watch out for my OGRE related tweets here.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

Yes I do.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

Great!
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

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).
Watch out for my OGRE related tweets here.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

Awesome! It works. Thanks again! :)

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.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

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.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

mmm that makes me the 4th, thanks for your all assistance Assaf :)
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

Sure.
I have some GUI fixes - to make sample browser navigation easier - will commit them soon.
Watch out for my OGRE related tweets here.
User avatar
lderan
Gnoblar
Posts: 9
Joined: Mon Nov 05, 2012 2:06 am
Location: Staffs, UK

Re: [News] Ogre3D now supports Windows Phone 8!

Post by lderan »

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.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

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.
jsding
Greenskin
Posts: 105
Joined: Tue Dec 14, 2010 9:46 am
x 1
Contact:

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jsding »

Good news! We are planning to port our Android/iOS games to Win8, if so.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

Will be happy to help if you will have issues.
Watch out for my OGRE related tweets here.
nkligang
Kobold
Posts: 35
Joined: Wed Aug 18, 2010 9:14 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by nkligang »

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? :x

IDE is VS2012 pro. winRT can run on it. WP8 is not.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

You need to use the visual studio express that comes with the WP8 SDK.
Watch out for my OGRE related tweets here.
nkligang
Kobold
Posts: 35
Joined: Wed Aug 18, 2010 9:14 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by nkligang »

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 >...
Last edited by nkligang on Tue Nov 13, 2012 11:12 am, edited 1 time in total.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

No clue, it works for me on more then one computer.
Try to create a new WP8 project and see if it runs.
Watch out for my OGRE related tweets here.
nkligang
Kobold
Posts: 35
Joined: Wed Aug 18, 2010 9:14 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by nkligang »

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.
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.
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

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.
Watch out for my OGRE related tweets here.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

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!
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

It doesn't work in the OGRE sample browser that I uploaded?
Watch out for my OGRE related tweets here.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

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.
jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by jarno »

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().
User avatar
Assaf Raman
OGRE Team Member
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!

Post by Assaf Raman »

How can I recreate your issue?
Watch out for my OGRE related tweets here.
nkligang
Kobold
Posts: 35
Joined: Wed Aug 18, 2010 9:14 am

Re: [News] Ogre3D now supports Windows Phone 8!

Post by nkligang »

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.
thank you. i can run the project on my computer. when i change device orientation to landscape, the scene was not changed?
Post Reply