microsoft / RoomAliveToolkit

Other
714 stars 191 forks source link

Still on OBJ import #46

Open arigbs opened 7 years ago

arigbs commented 7 years ago

Seeing some users here have had success importing obj files from the solved calibration to their Unity projects, I'd like to ask if anyone had issues importing the obj files into Unity and how they solved those issues. Unity just hangs when I try, I wouldn't expect a file size of 15mb to give trouble. I'm using the Unoffical RoomAlive Toolkit Unity Integration from https://github.com/Superdroidz/UnityRoomAlive which has worked pretty well up to this point. Any tips would be well appreciated.

thundercarrot commented 7 years ago

Care to post it somewhere so we can take a look?

arigbs commented 7 years ago

Thanks for getting back, I've uploaded the project to a github repository here, hoping that makes it easier to see what's going on, please let me know if you prefer to have it posted differently.

I finally got one Obj created (Calibration 3) after a long wait and I was able to load that one, (also after a long wait. It's the one that opens in Unity, There are two instances of the same obj in the scene from two different trials) but subsequent calibration tests have failed to produce Objs, I don't know why.

I'm really sold on the toolkit but might need just a little hand holding to get going properly. The project is for University coursework and I'll appreciate your assistance!

MY REPOSITORY: https://github.com/arigbs/RoomAlive_Test1

THE THREE MAIN FOLDER LOCATIONS:

The Unity project folder is: C:\Users\DigiLab\Downloads\RoomAlive_Test1-master\RoomAlive_Test1-master\UnityRoomAlive

The RoomAlive toolkit folder from which the calibrations were built: C:\Users\DigiLab\Downloads\RoomAlive_Test1-master\RoomAlive_Test1-master\RoomAliveToolkitWrapper-master

The calibration solutions folder: C:\Users\DigiLab\Downloads\RoomAlive_Test1-master\RoomAlive_Test1-master\RoomAliveToolkitWrapper-master\RoomAliveToolkit

Many thanks!

arigbs commented 7 years ago

I've been able to run successful calibrations since with Objs generated and imported to the scene, with no clear idea what the issue was in the first place. Current challenge: figuring out how to render what plays in game view in unity via the projector.

arigbs commented 7 years ago

Sorted, was a local setting for my own PC setup that needed tweaking. Been able to run several calibrations now and had some success setting up scenes and mapping them back and triggering interactions as desired. Current issue: the latency from Kinect2 is unbelievable. I'm running on an i7 with 6GB Ram, would have thought that would be more than adequate. Also sometimes calibrations produce obj, sometimes they don't. Not yet able to pin point why, it seems sometimes it just needs to be left alone for a long time to figure things out, but what I do for now is to keep restarting the server and keep repeating calibration till the obj appears in the folder.

masterchop commented 7 years ago

so what you are saying is that you dont save to OBJ you wait for the tool to generate the OBJ by its own? i have this problem only 1 worked and not sure why. any input is welcome.

thundercarrot commented 7 years ago

The tool should only generate an OBJ file if you ask it via the menu option. I'm not sure how it could be generating OBJ files on their own.

masterchop commented 7 years ago

oh ok, so my obj is not been imported into unity and some times it happens with the images. Not sure if this is relatead to the Solve failling. I open a thread for that error. Thanks.