Is there any way that I can access the windows phone Camera in my XNA app without using silver-light app.
Because there are issues with silver light app ..
- GraphicsDeviceManager is not accessible.
- Loading a texture giving out of memory exception
Is there any way that I can access the windows phone Camera in my XNA app without using silver-light app.
Because there are issues with silver light app ..
- GraphicsDeviceManager is not accessible.
- Loading a texture giving out of memory exception
Shayan Rais (0344-2621149)
Undergraduate - Computer & Information Systems Engineer (NED University)
Facebook : https://www.facebook.com/messdevelopers
Twitter : https://twitter.com/messdevelopers
Hi Shayan,
When you say access the phone camera what exactly do you mean?
Do you just want to take a snapshot? do you need a continuous stream?
Also why do you say SL is not an option? you can mix SL and XNA
instead of GraphicsDeviceManager you have SharedGraphicsDeviceManager (which you access via SharedGraphicsDeviceManager.Current)
as for loading a texture and giving you OOM how big exactly is your texture?
Have you read this article : http://www.developer.nokia.com/Commu...amera_with_XNA ?
On WP7 this work very well.
Last edited by yan_; 2013-06-02 at 12:11.
I need continuous stream because the Idea is to mke an augmented reality game..
The OOM is not occurring only, when I load my texture in OnDraw Method.. the texture is in KBs..
Have you used GOBLIN Library ? I have a problem using SharedGraphicsDeviceManager instead of GraphicsDeviceManager there ..
And dont you think that silverlight app will affect my game speed ?
Thnak You for the Reply.
Shayan Rais (0344-2621149)
Undergraduate - Computer & Information Systems Engineer (NED University)
Facebook : https://www.facebook.com/messdevelopers
Twitter : https://twitter.com/messdevelopers
And If I use SLXNA app for my augmented reality game .. please some one suggest me good library for Marker Detection ..
SLAR is working smooth on Windows but not on windows phone,
Any other Library please..
Shayan Rais (0344-2621149)
Undergraduate - Computer & Information Systems Engineer (NED University)
Facebook : https://www.facebook.com/messdevelopers
Twitter : https://twitter.com/messdevelopers