After finally setting up I realized that I made a huge mistake with the Unity version that I didn't notice until after setting it up on the pyramid. I forgot that since the image reflects from the TV to the pyramid, the Leap Motions controls are technically reversed as well.
I fixed it within 30 minutes by writing this code:
function OnPreCull () {
camera.ResetWorldToCameraMatrix ();
camera.ResetProjectionMatrix ();
camera.projectionMatrix = camera.projectionMatrix * Matrix4x4.Scale(Vector3 (-1, 1, 1));
}
function OnPreRender () {
GL.SetRevertBackfacing (true);
}
function OnPostRender () {
GL.SetRevertBackfacing (false);
}
@script RequireComponent (Camera)
Basically flips the camera and uses backfacing to flip the image. A very easy and effective fix.
Jared Krinsky's Blog of Interesting Things
Thursday, April 24, 2014
Saturday, April 19, 2014
Done...sorta
Basically a recap of the last week:
-My computer broke, so I sent it in for repairs.
-Bought the most powerful stock model that apple had in stock.
-Spent an entire night moving everything from my backup to the new computer and getting my thesis to work with it.
-Finished the application portion of the project.
-Created 2 animations and rendered them both.
-Dealt with multiple render crashes.
-Sent one animation SVA to render on their render servers.
-Composited all of the animations into one video.
-Created a sign out of EL wire to help advertise for my thesis at the showcase.
-Created my splash screen for the showcase.
-Lost a lot of sleep, money, and self motivation.
That's about it. I just have to prepare my pitch and presentation and do the video for the website. I have basically put in about 2 weeks worth or work and rendering into about 4 days. You should hopefully see my project running on the show floor next friday, as long as apple gets me my computer back before the show Leap motion wont give me another beta key which is currently running a few parts of my apps and my key is on my broken computer).
-My computer broke, so I sent it in for repairs.
-Bought the most powerful stock model that apple had in stock.
-Spent an entire night moving everything from my backup to the new computer and getting my thesis to work with it.
-Finished the application portion of the project.
-Created 2 animations and rendered them both.
-Dealt with multiple render crashes.
-Sent one animation SVA to render on their render servers.
-Composited all of the animations into one video.
-Created a sign out of EL wire to help advertise for my thesis at the showcase.
-Created my splash screen for the showcase.
-Lost a lot of sleep, money, and self motivation.
That's about it. I just have to prepare my pitch and presentation and do the video for the website. I have basically put in about 2 weeks worth or work and rendering into about 4 days. You should hopefully see my project running on the show floor next friday, as long as apple gets me my computer back before the show Leap motion wont give me another beta key which is currently running a few parts of my apps and my key is on my broken computer).
Thursday, April 10, 2014
Main Menu
Here is the main menu of the entire application. It is fairly basic and I am greatly considering on changing it to work with a Leap Motion instead of a Mouse and Keyboard. If I am able to get all of the applications running in one session (all but the blocks are currently working in one session) and I have the time I will try to do such.
I am still running into a few problems currently, mainly Unity and/or Monodevelop crashing my computer so it is making it a slow progress rate.
I am still running into a few problems currently, mainly Unity and/or Monodevelop crashing my computer so it is making it a slow progress rate.
Blocks
Here is probably one of the coolest applications I have running with the hologram. You are able to knock blocks around using the Leap Motion. Some of them even give off a colored trail which looks amazing in the hologram output. I have yet to implement this with the Menu Screen sadly due to file name errors. I will hopefully get this up and running before the show.
Maze
In this short demo app the user controls a maze with a Leap Motion to maneuver a ball around. It isn't a fully functional game due to problems with Unity's collision detection, but it was a cool work in progress. As you can see, I am uploading 2 photos for some of these, one to show the actual level and another to show the hologram display output.
Skull
In this Skull app you are able to rotate a animated and semitransparent skull. I have a similar version in a video format for the show that isn't interactive but is a bit more visually appealing.
Subscribe to:
Posts (Atom)