Tinkering with Hololens app
With ongoing process of development with Hololens in this article we will try to work on the code modify it to our liking
Let’s break the Hololens app
We will now work on modifying the spinning render cpp file now we need to check on which points we need to modify for Hololens rendering of the cube.
We attack the part where it is written as cube indices let’s look on changing the co-ordinates first.
static const unsigned short cubeIndices  =
2,5,0, // -x
3,4,1, // +x
0,5,1, // -y
2,3,7, // +y
0,4,3, // -z
5,6,7, // +z
Now we run the app in Hololens emulator the output is as shown below
Further modifications to continue
We find out that it’s easy to change shapes of an object and the content needs to be changed in cube renderer cpp file. With changes we can get lot of effect on the object creation.