Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cgeboers
Old
(Last edited by cgeboers; 22nd September 2008 at 07:26 PM.) Reason: New version
#1  
Member - OP
Thanks Meter 0
Posts: 86
Join Date: Jan 2008
Location: Schriek
Default [APP][22/09/2008] Diamond SnowStorm

Here is a "Snow Dome" type of application. Completely useless, but it was fun for programming. Try using it 2 days in a row

Watch this space for enhancements over time.

- Changed the speed

All new version on 22 Sep 2008
This has been a complete rewrite of the SnowStorm application and it was a good learning school !

Despite the complexity of the algorithm, I think the response times are very acceptable. If you like to count the number of snowflakes: there are 200 of them and each of them is updated every 40 ms !
I am really impressed with the 3D capabilities of the Diamond !

Using the OpenGLES SDK to create a "pseudo" 3D layout.
- Snowflakes will be larger in the front then in the back.
- If the PDA is laying horizontal, snowflakes will "disappear" to the back-end or stay on the front after a while
- Pseudo horizon, fixed at about 50% of the screen.
- Simple graphics, trees are placed randomly, snowman is fixed
- Simple turbulence (any pointers to good algorithms are appreciated)
- Snowflakes disappear behind trees/snowman, depending on their position in space. They will travel through them however
- Simple collision detection, only sides of the "frustum" are checked, as well as the artificial floor.

Click on the top part to be asked to quit the program. Click on the lower (25%) of the screen to restart it.

Expect some other enhancements over time too.

Needs CF 3.5 !


Important:

If you like my applications and want to donate, consider a donation to Koushik.
After all it is thanks to his (and the many other developers) work and readiness to share it that I can write these programs. I (currently) still get enough satisfaction in writing these programs.
Attached Thumbnails
Click image for larger version

Name:	SnowStorm.jpg
Views:	12513
Size:	21.0 KB
ID:	107907   Click image for larger version

Name:	SnowStorm2.jpg
Views:	2264
Size:	21.8 KB
ID:	108083   Click image for larger version

Name:	SnowStormOpenGL1.jpg
Views:	1123
Size:	18.6 KB
ID:	115126  
Attached Files
File Type: cab SnowStormInstaller01.CAB - [Click for QR Code] (724.7 KB, 5029 views)
File Type: cab SnowStormInstaller02.CAB - [Click for QR Code] (442.7 KB, 6241 views)
 
NisseDILLIGAF
Old
#2  
NisseDILLIGAF's Avatar
Senior Member
Thanks Meter 10
Posts: 1,277
Join Date: Jul 2008

 
DONATE TO ME
lol... cool ... totally useless!

But I think It should react more when u shake it..!?
Sony Xperia Arco S
ROM: cm10
Root: with method from Bin4ry

UCCW translate-filemaker
http://goo.gl/TVBqo

If u like what I do, why not buy me a beer

!!! READ THIS BEFORE STARTING A NEW THREAD !!!
 
cyron_at
Old
(Last edited by cyron_at; 22nd August 2008 at 05:40 PM.)
#3  
Senior Member
Thanks Meter 23
Posts: 1,822
Join Date: Aug 2007
Location: Vienna
Quote:
Originally Posted by NisseDILLIGAF View Post
lol... cool ... totally useless!

But I think It should react more when u shake it..!?
..xmas is just around the corner ;). And tomorrow I'll go on summer holiday! 3 weeks no xda dev....uff

Really a cool apps!
 
vanilla_star_8
Old
#4  
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Aug 2008
haha
totally random
but useless
well at least ill show off my friends i have a digital snowstorm ball

i wonder if you can put it as a wallpaper

so when you are in the 'home' tab and move the phone it snow
 
rondol1
Old
#5  
rondol1's Avatar
Senior Member
Thanks Meter 1
Posts: 1,279
Join Date: Dec 2006
Location: Hoofdorp
Without words.......


But wit an enormous grin!!!!!!!!!!!
[COLOR="DarkGreen"]iPhone 3GS 16Gb
 
surur
Old
#6  
Senior Member
Thanks Meter 1
Posts: 622
Join Date: Nov 2003
Video here.

http://wmpoweruser.com/?p=723

Nice, but way too slow. The flakes should also move faster when the movement is more violent.

Thx

Surur
 
iliescu902
Old
#7  
iliescu902's Avatar
Member
Thanks Meter 0
Posts: 94
Join Date: Jul 2008
how about a flying santa when you shake it ?
HTC Touch Diamond


Thank you xda-developers for making WinMobile worthwhile!
 
sjarrel
Old
#8  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Aug 2008
Default .net compact framework

.net compact framework needed, where can i get the latest version for my diamond?
 
unvisigoth
Old
#9  
Member
Thanks Meter 0
Posts: 50
Join Date: Feb 2008
Location: Roma
Totally useless, but...........very cool.
Only a question. I've installed your cab but I've obtained only the second image that you've posted not the first. Is there a way to pass from one image to another ?
Thanks
 
cgeboers
Old
#10  
Member - OP
Thanks Meter 0
Posts: 86
Join Date: Jan 2008
Location: Schriek
Default Picture selection

Quote:
Originally Posted by unvisigoth View Post
Totally useless, but...........very cool.
Only a question. I've installed your cab but I've obtained only the second image that you've posted not the first. Is there a way to pass from one image to another ?
Thanks
Currently there is no way to change the images, I just display one each day
So to answer your question: wait for a day

BTW, working on a new openGL based version that might react faster and more realistic

- Also thinking about user selected pictures, so you can insert anything you like.
- Anybody thinks that having sound is a good idea ?

 
Post Reply+
Tags
sensor sdk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...

XDA PORTAL POSTS

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more