Go Back   xda-developers > HTC Diamond: Touch Diamond, MDA Compact IV > Touch Diamond, MDA Compact IV Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th August 2008, 08:48 AM
Koush Koush is offline
Senior Member
 
Join Date: Sep 2007
Posts: 566
Default [REF]Write 3D Games and apps: a C#/.NET Compact Framework wrapper for OpenGLES

Update 8/10:
I published a 3D game called Sensory Overload. Full source is included.
http://forum.xda-developers.com/show...55#post2508955


Initial Post 8/08


I've been doing 3d graphics development for a while, and it's really exciting to finally own a Windows Mobile device that has hardware acceleration.
I'm also primarily a managed developer, and I know a lot of people are in the same boat. If you're looking to access the 3d hardware acceleration of the HTC Touch Diamond, then you will be interested in this managed library for OpenGL. The download includes the full source for the wrapper and the sample "spinning triangle" application that goes with it.

Have fun coding, and let me know if you find any bugs!

Last edited by tnyynt; 11th August 2008 at 06:26 PM.. Reason: Applied thread naming template
Reply With Quote
Sponsored Links

  #2  
Old 9th August 2008, 10:01 AM
CutePinkSox's Avatar
CutePinkSox CutePinkSox is offline
Senior Member
 
Join Date: Dec 2004
Location: London
Posts: 264
Default

Quote:
Originally Posted by Koush View Post


I've been doing 3d graphics development for a while, and it's really exciting to finally own a Windows Mobile device that has hardware acceleration.
I'm also primarily a manager developer, and I know a lot of people are in the same boat. If you're looking to access the 3d hardware acceleration of the HTC Touch Diamond, then you will be interested in this managed library for OpenGL. The download includes the full source for the wrapper and the sample "spinning triangle" application that goes with it.

Have fun coding, and let me know if you find any bugs!
So the rendering is done by the GPU rather than CPU - didn't think anyone accessed the hardware yet through the driver???
__________________
HTC Blackstone - now I can truly say an amazing WM device! If we somehow get properly optimised video drivers then even better.

-------------------
CutePinkSocks

My Devices:

HTC Blackstone (In use)
HTC P3700 - HTC Touch Diamond (In use)
HTC P3600 - Black HTC Trinity (Dead and buried)
Toshiba Portege G900 '800X480' Display - big as fcuk and ugly! - (Murdered)
XDA - Exec - (Dead and buried)
XD2i - (Retired)
XDA - (Retired)
Reply With Quote

  #3  
Old 9th August 2008, 10:26 AM
Koush Koush is offline
Senior Member
 
Join Date: Sep 2007
Posts: 566
Default

By querying the device via D3D and OpenGL, you can verify that they are both indeed hardware accelerated. Incidentally, it was the Diamond drivers that provided a breakthrough for hackers to provide hardware acceleration for the Kaiser devices.
Reply With Quote

  #4  
Old 9th August 2008, 02:05 PM
Menneisyys Menneisyys is offline
Moderator
 
Join Date: Jul 2005
Posts: 5,316
Default

Quote:
Originally Posted by Koush View Post


I've been doing 3d graphics development for a while, and it's really exciting to finally own a Windows Mobile device that has hardware acceleration.
I'm also primarily a managed developer, and I know a lot of people are in the same boat. If you're looking to access the 3d hardware acceleration of the HTC Touch Diamond, then you will be interested in this managed library for OpenGL. The download includes the full source for the wrapper and the sample "spinning triangle" application that goes with it.

Have fun coding, and let me know if you find any bugs!

Wowz! This is GREAT news! Want me to stick the thread?
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE.
Reply With Quote

  #5  
Old 9th August 2008, 02:09 PM
WWWeed WWWeed is offline
Member
 
Join Date: Jun 2005
Location: Watford, Hertfordshire
Posts: 65
Default

wow, nice work mate!!
__________________
I forgot there was a thing called life, then when I'd remembered it I quickly remembered why I'd forgotten it
Reply With Quote

  #6  
Old 9th August 2008, 03:02 PM
CutePinkSox's Avatar
CutePinkSox CutePinkSox is offline
Senior Member
 
Join Date: Dec 2004
Location: London
Posts: 264
Default

Quote:
Originally Posted by Menneisyys View Post
Wowz! This is GREAT news! Want me to stick the thread?
STICK IT STICK IT - lets make sure it gets alot of attention
__________________
HTC Blackstone - now I can truly say an amazing WM device! If we somehow get properly optimised video drivers then even better.

-------------------
CutePinkSocks

My Devices:

HTC Blackstone (In use)
HTC P3700 - HTC Touch Diamond (In use)
HTC P3600 - Black HTC Trinity (Dead and buried)
Toshiba Portege G900 '800X480' Display - big as fcuk and ugly! - (Murdered)
XDA - Exec - (Dead and buried)
XD2i - (Retired)
XDA - (Retired)
Reply With Quote

  #7  
Old 9th August 2008, 03:03 PM
Menneisyys Menneisyys is offline
Moderator
 
Join Date: Jul 2005
Posts: 5,316
Default

Quote:
Originally Posted by CutePinkSox View Post
STICK IT STICK IT - lets make sure it gets alot of attention
OK, I stick it. Hope the original poster will work on the project further
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE.
Reply With Quote

  #8  
Old 9th August 2008, 03:41 PM
marco.catelli marco.catelli is offline
Member
 
Join Date: Feb 2006
Location: Piacenza
Posts: 38
Thumbs up

wow, that's really nice, I never developed graphics things and I only know a bit of vb.net but during holidays maybe I'll give a try!!! thanks and go on!
__________________
Marco
Reply With Quote

  #9  
Old 9th August 2008, 05:44 PM
Koush Koush is offline
Senior Member
 
Join Date: Sep 2007
Posts: 566
Default

Quote:
Originally Posted by Menneisyys View Post
OK, I stick it. Hope the original poster will work on the project further
Thanks! Functionally, it is a complete implementation of a way to access OpenGL through managed code. However, there are some small things I want to do to make it easier for developers to write applications for OpenGL.
  • Implement/port GLU
  • Implement/port GLUT
  • Change the constants that are passed into OpenGL into enums so that it makes it easier for to see a list of valid arguments in Intellisense. This will also address some of the loose typing that is typical of OpenGL.
  • Implement a fixed point sample that works with the Vincent 3D software implementation of OpenGL.
Reply With Quote

  #10  
Old 9th August 2008, 08:05 PM
A_C's Avatar
A_C A_C is offline
Senior Member
 
Join Date: Jan 2007
Posts: 1,240
Default

Thanks for the great news. But how about the unmanaged way (c++)? Which header file(s) should be referenced?
__________________
Cheers,
A_C
http://ac-s2.com
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:19 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.