Category Archives: Uncategorized

Using a LeapMotion for Qt inputs

This is awesome!

Building Tepee3D

We are still working on our project Tepee3D and although we have not yet reached the popularity we hoped too, this project has allowed us to work on many interesting aspects, one of which is adding LeapMotion inputs to our application.
For those of you who don’t know what a LeapMotion is, it is a small sensor about the size of a lighter that you can use to track hands movement in space.
You can find more information about it on the LeapMotion web site.

There are several ways to interact with an application using the LeapMotion sensor. However as Tepee3D has mainly been focused on touch and multitouch inputs, one simple way to use the LeapMotion was to convert fingers 3D position in Qt touch points so that they could then be used in QTouchEvent or QMouseEvents without having to rewrite the entire application.

For the specific gestures (swipe…

View original post 1,753 more words


When to use Pointers in C/C++

A lot of people have asked me when you actually use pointers in C++ from day-to-day. I usually stare at them asking why they don’t use pointers everyday. Pointers are probably one of the biggest reasons you should even be using C or C++. There are several uses for pointers–too many to really go over. If you use C frequently, you are probably familiar with char*.

The golden reason to use pointers in my eye is controlling an object’s lifetime. Lets look at a scenario for an application I wrote a few months back. Continue reading

WebGL Coming to Next Iteration of IE11?

It seems that leaked builds of IE11 are showing promising signs of supporting the open graphics standard WebGL. This means that the 5 major browsers–Chrome, Firefox, Opera, Safari, and Internet Explorer–could support a single, open standard for accelerated graphics in your browser. If you are already using one of the four browsers listed above (disregard IE for now…), you can try out WebGL by going to Google Maps and enabling the WebGL functionality to see 3D elements on the map.

What do you think about the new standard in IE? Is Microsoft really going to embrace an open standard like this? Or will it be some proprietary WebX framework developers can use to support only IE11? Leave your thoughts on the topic below!