Is there any tutorial or example available that shows how to implement a custom gesture into Microsoft Surface? After hours of googling I couldn't find any.
Unfortunately, the SDK does not even provide a framework to recognize gestures.
Im particularly intersted in gestures like a circle, or ? or x
Edit:
Is there any news here? Or any good hints how to just recognize a X over a UI element?
Unfortunately the Surface doesn't have any gesture framework. You just have to dive in and do it yourself by tracking Contacts as they move, appear, and disappear.
Generally it is not a good idea to creat complex gestures like that in your application because they are really hard for people to discover. That said, you could track the touches to create a polyline and then apply an algorithm like the one outlined at
http://faculty.washington.edu/wobbrock/pubs/uist-07.1.pdf
to distinguish the path in a set of gestures.
Another option, but maybe not what you want is to use the SurfaceInkCanvas and recognize the text entered there.
Thanks!
In the meantime I implemented my own gesture recognition tool following this documentation
If somebody is interested, I could share the source.
Related
Right now I am trying to create an android object recognition application (it will be through an image) with Vuforia and Unity.
What I will show will be a 3D map, but in addition to showing it I want to present information of certain parts of the model (buildings, etc.) either by pressing it or pointing it at a similar point than in virtual reality..
What I want to create is something like this:
https://www.youtube.com/watch?v=y70yStPCBHA
I am very novice and as much as I try to understand how to do it, I do not succeed. Try searching for information on different websites, but I couldn't find anything similar to the video.
I hope you can help me, I would appreciate it.
I am sorry for my bad english.
your problem is not as complex as you might think. You should try searching for stuff not as a complete structure of every functionality that you need but you should break it down to smaller components.
In the instance you could just serch for how to detect touch on a game object in unity and you can find a lot of stuff about that. It's a good thing to get used to because you can find separate guides for all the components you need and then just combine everything together.
Check this video out about raycasting from touch to game object, it should be everything you need: https://www.youtube.com/watch?v=0sFrDJKwsdM
hope this helps!
I have been trying to find some things online about how to make your own visualizer that responds to sound, But so far I only could find tutorials for on a mac.
I also found some premade visualizer but prefer not to spend 50$ on a asset for it
theasset
I was wondering of somebody could maybe tell me how to basicly code a particle system to respond to sound interactions such as certain frequency's
I've found a nice tutorial here: http://www.41post.com/4776/programming/unity-making-a-simple-audio-visualization.
It is able to get different frequencies from the sounds and do something accordingly. You can try and change the variables of the particle with it.
Another thing I found is a project which analyses the spectrum of sound. You can download it here.
I also found this tutorial which generates a level based on the sound.
These links no longer works
Try them out and let us know what you thought of them and if they helped! Good luck.
I want to develop Windows WPF application using Kinect with great GUI/NUI. I've found really nice examples of user interfaces that could be even more admirable using Kinect device. For example: prezi effects - http://prezi.com/jipjiqvj6dsc/about-perspective/ one big wall and really nice zooming / moving. I was thinking about something similar for Metro UI too.
Do you know how to create those nice gui elements in the WPF? Or maybe you heard about good resources about this topic?
A good starting point is Josh Blake's upcomming book (you can get the MEAP preview now) and the "NaturalShow" sample app it includes. You can get that code at http://blakenui.codeplex.com/
I've found really nice project which includes solution for my problem: http://jarloo.com/code/projects/jot/
Nice discussion on stackoverflow: Pan & Zoom Image
I'm wanting to create an animation in C# such as what you would see in a slot machine where the pictures spin round. I know I could manually move the location of a PictureBox or something like that but that seems like not a good idea to me.
How would you guys do it? It doesn't actually matter whether its in standard forms or WPF or anything else similar. Possibly using XNA?
I suggest you use WPF.
With Expression Blend you can easily do the animation you need.
I think I've already seen a slot machine WPF sample somewhere on the web.
I'll search for it and post it if I find it again
Edit
Nope it was a silverlight application, but code is almost the same. Here is the link:
http://www.dolittle.com/Silverlight/SlotMachine/SlotMachine.html
Anyway, if you find that approach to difficult I suggest you read a bit about simple WPF programatically driven animations. They're very easy to do, and with a few lines of code you can accomplish your needs.
Best regards
I can place a couple of buttons in Silverlight, but I'm not that experienced with the Silverlight tools and capabilities.
What do you think I should use to create something like this?
The control would have to pull and ID from the database and according to that place an image asociated with the record.
I need it to be animated with some crispy movement.
How can I achieve this?
It's all possible, but you need to break the task down into smaller steps.
Once you've done that you should find that you can solve some of these with your current knowledge, others will resolve themselves with a little more research, but there will be some you need to ask questions about here.
I'd suggest you start that break down and try to solve the little problems. Then if you get stuck come back and ask more specific questions.
Well, with Silverlight and c# you can make the animations needed and such, and you can set a Silverlight Image control with a data bound source, so it loads the images dynamically, but Silverlight can't talk with databases directly, you'll need to use a webservice to interact between Silverlight and the database. Don't know how much you know but to not leave anything out, with Expression Blend you can make the graphical part of you're app fast and easy, and with Visual Studio you'll add the code-behind and functionality.
In this link you can find a example of how to make an image slide show with Silverlight, it may not be exactly what you're looking for, but it should give you a heads start.