PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

3D enging under .NET?

Hi,

I am working on a project to integrate GPS and 3D. GPS.Net seems very good, but I am having problems finding a 3D engine under the .NET framework. Any suggestion?

Thanks,

Jason
joshbu [MSFT] · 07 Oct 2005, 00:57 UTC
There is a version of Direct3D Mobile exposed through the .NETCF 2.0.

Microsoft.WindowsMobile.DirectX.Direct3D is the namespace.

Docs and samples: http://msdn2.microsoft.com/en-us/librar ... n-US,VS.80).aspx

Third party tutorial: http://www.brains-n-brawn.com/default.aspx?vDir=cfmdx
Hi, Do you know if the fixed point matrix classes and such that are in the .net libraries work with c++?
Have anyone tried Mobile Direct 3D? I don't know the performance of this. It is worrying me a bit because I am using PocketHAL at the moment. C# is prefered over C++ if there isn't too much speed lost.

I suppose the pros with PHAL would be that it is platform independent. However I suspect that Mobile D3D will envolve in the future and perhaps support harware acceleration.
joshbu [MSFT] · 10 Oct 2005, 21:02 UTC
There is a companion library to Direct3D Mobile called Direct3D Mobile X that contains the fixed point code. It's all native, and then wrapped for managed, but the library can be programmed native as well.

D3DM is definitly going to support 3D accelerators on the devices that have them.

As far as perf goes, you'd have to make your own judgement call. It's certainly _very_ easy to get something together quickly and evaluate.
Thanks for the input, I have just found time to try it out. So I'm about to give it a shot :)
While I was investigating D3DM I also found out that there is a OpenGL ES.. Try google it if you don't know what it is :) Very interesting!
DillRye · 17 Oct 2005, 02:51 UTC — Looking in the wrong places?-
joshbu [MSFT],
I have been searching for the C++ header/library files for Direct 3d Mobile and I have not been able to turn any of them up. Did the Preview SDK not include them?

I am currently running Visual Studio 2005 beta 2 and I installed the Windows Mobile 5 preview. I am only able to find the C# libraries/example code.


Thank You,
Dylan
joshbu [MSFT] · 18 Oct 2005, 21:03 UTC
DillRye wrote:joshbu [MSFT],
I have been searching for the C++ header/library files for Direct 3d Mobile and I have not been able to turn any of them up. Did the Preview SDK not include them?

I am currently running Visual Studio 2005 beta 2 and I installed the Windows Mobile 5 preview. I am only able to find the C# libraries/example code.


Thank You,
Dylan


On my install, they are located at:

C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i

Do you have a similar directory?
Thanks a ton Joshbu,

I did not have that directory, but after a reinstall of the Windows Mobile 5 SDK I was able to find it.

Now I'm off to start coding some Direct 3d Games :).

Thank you again!
Dylan