[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 » Wed Nov 07, 2012 12:12 pm

Awesome! Thanks a lot!
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Wed Nov 07, 2012 12:19 pm

Do you have the rest of the dev environment ready?
Meaning Windows 8 with the Windows Phone 8 SDK and the emulation running?
0 x
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 » Wed Nov 07, 2012 12:39 pm

Yes I do.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Wed Nov 07, 2012 2:58 pm

Great!
0 x
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

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

Post by Assaf Raman » Wed Nov 07, 2012 6:03 pm

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).
0 x
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 » Thu Nov 08, 2012 8:31 am

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Thu Nov 08, 2012 8:36 am

Great! You are the third person on earth to get OGRE running on WP8 (emulation or device)
0 x
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 » Thu Nov 08, 2012 2:53 pm

mmm that makes me the 4th, thanks for your all assistance Assaf :)
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Thu Nov 08, 2012 2:58 pm

Sure.
I have some GUI fixes - to make sample browser navigation easier - will commit them soon.
0 x
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 » Fri Nov 09, 2012 2:58 am

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Fri Nov 09, 2012 9:09 am

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.
0 x
Watch out for my OGRE related tweets here.

jsding
Greenskin
Posts: 105
Joined: Tue Dec 14, 2010 9:46 am
Contact:

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

Post by jsding » Mon Nov 12, 2012 5:59 am

Good news! We are planning to port our Android/iOS games to Win8, if so.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Mon Nov 12, 2012 7:08 am

Will be happy to help if you will have issues.
0 x
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 » Tue Nov 13, 2012 10:21 am

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Tue Nov 13, 2012 10:37 am

You need to use the visual studio express that comes with the WP8 SDK.
0 x
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 » Tue Nov 13, 2012 11:05 am

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Tue Nov 13, 2012 11:08 am

No clue, it works for me on more then one computer.
Try to create a new WP8 project and see if it runs.
0 x
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 » Tue Nov 13, 2012 11:51 am

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.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Tue Nov 13, 2012 3:25 pm

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.
0 x
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 » Tue Nov 13, 2012 7:45 pm

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!
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Tue Nov 13, 2012 9:13 pm

It doesn't work in the OGRE sample browser that I uploaded?
0 x
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 » Tue Nov 13, 2012 9:22 pm

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.
0 x

jarno
Gnoblar
Posts: 8
Joined: Wed Nov 07, 2012 11:18 am

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

Post by jarno » Wed Nov 14, 2012 4:42 pm

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().
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

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

Post by Assaf Raman » Wed Nov 14, 2012 4:54 pm

How can I recreate your issue?
0 x
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 » Thu Nov 15, 2012 7:34 am

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

Post Reply