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 10th September 2008, 10:56 PM
pauloke's Avatar
pauloke pauloke is offline
Senior Member
 
Join Date: Sep 2007
Location: Guildford
Posts: 136
Default [APP][25.09.08]HTC Touch Diamond VR Hologram v2.02

VR Hologram very similar to the wii Head Tracking VR demo made famous on youtube.

Uses G-Sensor to track tilt and update the VR Hologram view accordingly. 3D Hologram created using Managed Direct 3D Mobile (MD3DM). Found it easier to learn than the Managered wrapper for Opengl ES.

This is my first 3D app / game and also my first windows mobile app so be gentle but your comments, recommendations and criticisms are more than welcome. Been checking out this forum for over a year now but never really contributed.



Change Log

v2.02



Control Panel Added
  • Reverse tilt direction
  • Control affect of Moving Average Smoothing
  • Control tilt distance
  • Use set sprite locations or random sprite locations
  • Choose number of random sprites (5 - 20)
  • Choose from pre-set sprite texture (thanks to the submissions on this thread)
  • Choose custom texture image from file system
    N.B. Limited allowed image size to 150kb
    certain images (haven't been able to determine why) cause the application to crash. No exception is raised by HTC's implementation of MD3DM so cannot investigate. Just restart app and texture falls back to a preloaded texture.
  • Displays Average Frames Per Second over recent frames
  • Settings saved to file and are applied once app restarted
v1.0
First Release

MD3DM Graphics
G-Sensor view tilt (smoothed using moving average)
Nav sensor zoom
Tap screen to exit

HTC Diamond Sensor SDK (Thanks Koush)

Smoothing of G-Sensor reading essential as output is definately not. Kalman filter would have been ideal but the maths involved just goes beyond me. Moving average more than sufficient though.

Hopefully if I have time this concept can be carried forward into a game using either MD3DM or Opengl ES.

This is a concept app but can also be used to show those without the Diamond it abilities

Check it out on youtube

Hope you enjoy!! Let me know of any bugs

EDIT: Default orientation of diamond for the app is laid flat due to how the G-Sensor reading are intepreted. Diamond laid flat facing up to have a view straight down.

It appears that MD3DM drivers on the diamond are not complete as setting the app to draw fullscreen causes the render not to be presented on to the screen.

Confirmed phones that this app works with are:
Touch Diamond
MDA Compact IV
Touch Pro

For the following phones please refer to: http://forum.xda-developers.com/show...&postcount=417 (Pillermann Columbus)
Touch HD
Touch Diamond 2

For those that are experiencing slow FPS e.g. 0.14fps then please try installing the ATI Drivers: http://forum.xda-developers.com/showthread.php?t=475493

By no means is this app optimized to run as quick as possible. Also the FPS is just an average FPS so gives a benchmark indication but it isn't the most accurate.

Download v2.02 Source: 4Shared
Attached Files
File Type: cab DiamondHologram v1.0.CAB (586.2 KB, 20129 views)
File Type: cab DiamondHologram v2.02.CAB (203.9 KB, 51726 views)
__________________
MDA Compact V (TD2) | MDA Compact IV (TD) | HTC Touch Dual | HTC Touch
Dutty's Topaz WM6.5 R5

Creator of: HTC Touch Diamond VR Hologram

If you like my work please DONATE

Last edited by pauloke; 10th June 2009 at 11:37 AM.. Reason: Added more info
Reply With Quote
Sponsored Links

  #2  
Old 10th September 2008, 11:03 PM
wontcachme wontcachme is offline
Member
 
Join Date: Jun 2008
Posts: 69
Default

i have just 3 letters for this: WOW

After installing:
Does not work properly for me. The depth perspective moves. So only when the diamond lays flat on the table i see the background. Otherwise the depth moves out of the picture. This was not how it look likes on youtube

Image example added. This was with the phone laying with the right side down and the left side up.
Attached Images
File Type: jpg Screen01.jpg (59.8 KB, 4890 views)

Last edited by wontcachme; 10th September 2008 at 11:26 PM..
Reply With Quote

  #3  
Old 10th September 2008, 11:09 PM
counterfitninja's Avatar
counterfitninja counterfitninja is offline
Senior Member
 
Join Date: Jul 2008
Location: Bath
Posts: 230
Default

Nice work. Looks really sweet. Keep it up
Reply With Quote

  #4  
Old 10th September 2008, 11:14 PM
marios96's Avatar
marios96 marios96 is offline
Senior Member
 
Join Date: Sep 2007
Location: Nicosia
Posts: 230
Default

THANK YOU VERY MUCH!

I am testing it on my Touch Pro right now...

EDIT: Working great on my PRO! It even zooms in-out using the touch pad...!


FANTASTIC!!!

Last edited by marios96; 10th September 2008 at 11:20 PM..
Reply With Quote

  #5  
Old 10th September 2008, 11:19 PM
cremerhm cremerhm is offline
Junior Member
 
Join Date: Jul 2008
Posts: 4
Default

How do is install the sensor software?
And is it essential?

It looks nice on youtube!
Reply With Quote

  #6  
Old 10th September 2008, 11:19 PM
pbv302's Avatar
pbv302 pbv302 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 212
Default

Awsome! Thanks daddy!
Reply With Quote

  #7  
Old 10th September 2008, 11:20 PM
keko001 keko001 is offline
Member
 
Join Date: Aug 2008
Posts: 91
Default

thx look nice
Reply With Quote

  #8  
Old 10th September 2008, 11:21 PM
CarpeNoctum's Avatar
CarpeNoctum CarpeNoctum is offline
Member
 
Join Date: Jul 2008
Location: Greece/Belgium
Posts: 87
Default

It works perfectly! Thank you for sharing! Keep up the good work.
Reply With Quote

  #9  
Old 10th September 2008, 11:27 PM
KukurikU's Avatar
KukurikU KukurikU is offline
Senior Member
 
Join Date: Nov 2006
Location: Rehovot
Posts: 1,406
Default

congratulations! nice app! love it!
__________________
All the desirable things in life are either illegal, expensive, fattening or married to someone else.


HTC Leo aka HD2
HTC HD KWBR's Damn Small Topix
HTC Diamond Duttys V3.4 WWE
HTC Trinity 3600 FInixNOver 3.4 Lite
HTC Athena 7501
i-Mate
Reply With Quote

  #10  
Old 10th September 2008, 11:31 PM
tuem's Avatar
tuem tuem is offline
Senior Member
 
Join Date: Aug 2007
Location: Karlsruhe
Posts: 111
Thumbs up

niiiice!

imagine what could be done with this effect...


one little thought - i think if you made the perspective change "slower" with the tilt, it might look better, right now it seems that the perspective angle changes faster than the tilt angle.

and it would be great if it was possible to have these circles be in perspective (becoming oval) to add to the 3d effect
__________________

Last edited by tuem; 10th September 2008 at 11:40 PM..
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 02:35 AM.


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