PDA

View Full Version : [APP][22/09/2008] Diamond SnowStorm


cgeboers
22nd August 2008, 05:48 PM
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 :rolleyes: 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 (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=koushik_dutta%40yahoo%2ecom&item_name=Support%20Development%20Projects&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8).
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.

NisseDILLIGAF
22nd August 2008, 05:56 PM
lol... cool ... totally useless! :D

But I think It should react more when u shake it..!?

cyron_at
22nd August 2008, 06:37 PM
lol... cool ... totally useless! :D

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
22nd August 2008, 07:37 PM
haha
totally random
but useless
well at least ill show off my friends i have a digital snowstorm ball
:p
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
22nd August 2008, 09:37 PM
Without words.......


But wit an enormous grin!!!!!!!!!!! :p:p:p

surur
22nd August 2008, 10:42 PM
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
22nd August 2008, 10:55 PM
how about a flying santa when you shake it ?

sjarrel
25th August 2008, 02:57 PM
.net compact framework needed, where can i get the latest version for my diamond?

unvisigoth
25th August 2008, 03:36 PM
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
26th August 2008, 08:41 AM
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 :p
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 ?

surur
26th August 2008, 08:17 PM
- Anybody thinks that having sound is a good idea ?

Definitely little jingle bells :)

Surur

cgeboers
26th August 2008, 08:52 PM
Send me a wave or mp3 with some jingle bells and I'll do my best. I'll make sure you have it before Xmas.

marios96
26th August 2008, 09:05 PM
Currently there is no way to change the images, I just display one each day :p
[...]

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

This could be big... Xperia X1's Fish tank big..., maybe we could use this as a screensaver or as an unlock screen of some kind....

Maybe we should be able to change not only the picture on the background but the color and size on the snowflakes as well, so it won't be just a christmas thing...

Also, maybe you should also put some interactive water in the ball... as for sound? It's not really necessary i think...

Good job btw! Thanks...

Admiral_Thrawn
26th August 2008, 09:34 PM
What version of .net do I need? My Diamond gives me errors that .net is missing?

cgeboers
26th August 2008, 09:42 PM
What version of .net do I need? My Diamond gives me errors that .net is missing?

I use .NET CF 3.5 for most of my applications. It comes with the ROM image I installed, but it is also downloadable for free from Microsoft. Have a look in this forum, there are several pointers to it. (Sorry, that I can not be more helpful)

NikPraskaton
1st September 2008, 10:25 AM
I know the speed doesnt need to be turbo cuz the snowflkes are in the fluid (water, etc..) but having this in mind, the movement is still toooooo slow.. :) Same with the beer application.. Can it be more faster? Take a look here: http://uk.youtube.com/watch?v=CEBtJG3pFhI

gevak
6th December 2008, 12:00 PM
Cool! Thank you! :)

Giannis86
6th December 2008, 12:19 PM
cool application for xmas
i do have a suggestion though

i would assume that the large amount of snowflakes caused the slow down..i think you should have about 50 snowflakes at most (maybe slightly bigger if necessary)..200 makes it a bit too clustered

cigraphics
10th December 2008, 08:22 PM
cool good job :D

uniqueboy
13th December 2008, 08:47 PM
Wow I am made up to see this, I don't know why I didn't see it before, I think it may even have been my idea once, so thanks a lot for making it real.:D
So many downloads awesome!
Edit: Had a play great, better than I thought, Looking forward to be able to run it with my own background image.

missbizzylizzy
14th December 2008, 04:35 PM
Hey! This is great! My daughter will love it. Ooooo, on second thought, maybe I should uninstall it. She's only 4. LOLOL Thanks for sharing this. I know people keep saying it's useless, but it's still great!:p

DarkAngelFR
14th December 2008, 06:13 PM
Hey! This is great! My daughter will love it. Ooooo, on second thought, maybe I should uninstall it. She's only 4. LOLOL Thanks for sharing this. I know people keep saying it's useless, but it's still great!:p

+1 here ^^