Why cannot I see apps cards in camera mode - sony-smarteyeglass

I have successfully installed all the extension&support apps from sony and 2-3 example apps for example HelloSensor. I can select the apps to get cards from and see HelloSensor output.
But whenever I press the camera button and go to VR mode in emulator the device begin to show the camera app and not the selected HelloSensor app cards.
Does any one have any comments on that?
Regards

I'm not sure, what do you want to achieve. Pressing camera button starts the built-in camera application. So the behaviour you are describing is expected.
Maybe it is confusing for you, that the camera is not showing on the background, until the camera API is in use. That doesn't mean, that the glasses are not in AR mode. They are AR always, as the eyewear display is transparent.

Related

Pass mouse and keyboard input to background windows without losing focus

I'm developing a 3D desktop application like this where I duplicate the desktop by creating planes in 3D space using each window's bitmap as texture and then passing mouse and keyboard input to them (background windows) via windows API.
This approach causes several issues and the main one is that some clicked windows generate new popup windows like menus that popup on top of 3D app and steal focus.
Is it possible to properly duplicate a desktop behavior inside another app like this - without losing focus and keeping 3D app on top?
Only workaround for this that I can think of is to have 3D app running on secondary monitor, let user work with regular desktop on primary monitor as usual and 3D app will just duplicate that and use windows hooks for any 3D app specific input.
Apparently IInspectable is right. No reliable way to do this without losing focus.

SwisTrack - usb camera black input

I'm trying to use SwisTrack software.
http://en.wikibooks.org/wiki/SwisTrack
I've installed using windows installer in 2 computers.
in both computers I have the same problem.
also tried with different usb cameras.
when I choose Input from usb camera - the camera detected, and the light on the camera turned on (so the software can see the camera and connect to it) - but the frames I got is totally black.
is anyone can help? is there someone here familiar with SwisTrack?
Thanks
It works for me. Just image outputs flipped.
Did you select source for output window? (see click on yellow caption on window header) :

Two finger moving smooth and kinetic scrolling with trackpad or touchpad?

I am working on a Qt application which resembles hex editor for Mac.
(picture from Google)
It has a very large portion of data to scroll vertically(upward and downward) because it shows all large files data in hex format.
In my application, I'd like to add two finger smooth scrolling in both direction: up and down like that in Macbook Air two finger scrolling.
It work properly with mouse wheel but not with trackpad two finger move scrolling.
If someone has a solution, please help me out. Thanks in advance.
The scroller allows for gestures like click and drag to do kinetic scrolling.
http://qt-project.org/doc/qt-5/qscroller.html#details
Note on this page:
QScroller::TouchGesture 0
The gesture recognizer will only trigger on touch events. Specifically it will react on single touch points when using a touch screen and dual touch points when using a touchpad.
So then the example they give would turn into this for you:
QWidget *w = ...;
QScroller::grabGesture(w, QScroller::TouchGesture);
There is more on doing new things with touch screens and touch pads by handling the QTouchEvent:
http://qt-project.org/doc/qt-5/qtouchevent.html#details
Hope that helps.

C++ Image Flow/Slider

I have a software which displays small image thumbnails at the bottom of the screen:
But these sample 5 are just a small portion of all the available ones. I am looking for ideas of libraries or just available open source code that would let me animate them as they switch to the previous/next ones in the list when the arrow button is pressed or the user flicks them left/right like on an ipod.
I am NOT using Qt (as another answer suggests using it).
Hey my be you need this one, has got nice animations and its native
http://www.codeproject.com/Articles/21006/Not-just-a-image-list-control-Neat-3D-iTunes-style

Fraps like functionality for Metro style applications under Windows 8

Tools like Fraps work with games based on OpenGL or DirectX but doesn't work with simple Windows 8 Metro style games like "Cut The Rope" or "Pirates Loves Daisies". Yes I know that "Cut The Rope" and "Pirates Loves Daisies" are using different technologies like JavaScript and HTML5 canvas but I'm really curious is it possible to build Fraps like tool for such games (some kind of canvas hack?). I would like to do 2 things:
1. Measure fps.
2. Capture screenshots.
I was reading articles about the whole Fraps concept and intercepting calls to DirectX but I'm not sure if its gonna work with Metro applications. Maybe I'm just wasting my time. I have 2 questions for you guys:
1. Do You think is it possible to build Fraps like tool that works with Metro style applications or games that are NOT using DirectX or OpenGL?
2. Does messing around with dxgi.dll (or other dll) could help somehow?
Thanks
Fraps is able to display the framerate because of hooks it has into DirectX. HTML apps do not provide access to this same information.
I've confirmed that the free program ScreenPresso (http://www.screenpresso.com/) can record Cut The Rope just fine.
Try Intel GPA (graphics performance analyzers)
http://software.intel.com/en-us/vcsource/tools/intel-gpa
Install it and then run the app.
There are a zillion options for graphs and stuff that I don't entirely understand (maybe it will be useful to you). If you want fps, just close the window; the program will continue running in the background.
There should be an icon in the lower right next to battery info and volume control. If you hover over it, it says your IP address. Right click on the icon for GPA and then select "Analyze Application" at the top.
A window will pop up with all the tile apps on the machine. Click on the app (don't double click) and click "run" in the bottom right.
The frame rate and resolution will be displayed in the upper left corner.
Tested and it works for Cut the Rope (I'm getting 58-60 fps). Hope this helps.