PrimeSense webcam settings for ARToolKit Unity? - unity3d

My Windows 10 laptop has a Unity Project which uses the Integrated Webcam for an ARToolKit package.
Unity Inspector default package settings:
What settings do I need to instead use a PrimeSense (Kinect-like, OpenNI2 Structure Sensor) camera attached via USB?
Device Manager for Dell Inspiron 15R:

As a temporary solution, I screencaptured the sensor's viewer application (NiViewer), saved the (TinyTake) capture as an .mp4, converted to a .mov (Any Video Converter), and used ARToolKit's "QuickTime Video Input from Movie File or Stream" directions. I changed Video config. (Windows) to
-device=QUICKTIME -movie=“file:///C:/path/to/captured movie.mov”

Related

Vuforia Ground Plane Detection doesn't work when using webcam (IP webcam using Iriun Webcam in android phone)

Thought of using Vuforia as it allows testing using a webcam. So, i downloaded Iriun Webcam (IP Webcam for android), and succesfully got the video stream inside the Unity Editor when i press "Play".
I created a minimal AR example, where my app would detect a plane and a tap would place an object.
My issue is that when I Build the apk and test it on my phone it works perfectly as it should, but when i do it using the play button inside the editor, the video stream is captured, but it won't do any AR stuff (like plane detection as it was supposed to do)
Please help me with any possible reason there could be, as I couldn't find any such issues faced by anyone else
I created a minimal AR example, where my app would detect a plane and a tap would place an object.
My issue is that when I Build the apk and test it on my phone it works perfectly as it should, but when i do it using the play button inside the editor, the video stream is captured, but it won't do any AR stuff (like plane detection as it was supposed to do)
As mentioned here https://library.vuforia.com/unity-extension/vuforia-play-mode-unity Ground Plane is not supported when using a webcam in Unity Play Mode. Ground plane relies on a robust device tracker and this is not available when using a webcam. However, to help development, it is possible to record a sequence on a device and then using this in play mode https://library.vuforia.com/platform-support/recording-and-playback. The other option is to emulate the Ground Plane behavior using an Image Target as discussed here https://library.vuforia.com/ground-plane/introduction-ground-plane-unity.

Why is not Unity recognizing my digital camera?

I have mixed around with Unity and Vuforia. Im all set and got it to work with an image that spawns 3D objects. My project has been done with my FaceTime Camera on my Macbook pro 2018. Now i want to try and move over to my Digital Camera: Sony AX6300. But when i connect the camera, Unity wont recognize it. I can still only choose FaceTime Cam built in on my Mac. Can anyone in here help out maybe?
Image
You have to edit the xml file named webcamprofiles.xml inside vuforiaresource, and add or edit your device camera name...
it works for me

Recording vr motion video

I want to record a vr motion video of my house using aframe so that I can show the demo view of the the house.What are the js files need to be included?How can I do it?
I assume you just want to record 360º video — if so, a 360º camera is the place to start. See: http://thewirecutter.com/reviews/best-360-degree-camera/
You may want to test things out on your device (Gear VR, Cardboard, Vive, whatever) before investing in a camera. Video playback in A-Frame may have some issues on mobile devices particularly.
Example: https://aframe.io/examples/showcase/videosphere/
hi kumar yes you use without using 360 camera by using normal mobile phone but to place that video you have to use latest version of unity that support not only 360 video format but also plane so where you can put that video as an medium.
or if you are using unity 4.6 to unity 5.3 then use have to use some packages like easy video texture in this package you have different options for placing video
https://github.com/maazirfan/Easy-Movie-Texture-for-Unity
and use where ever you want vr/gear vr / htc vive .

Use Device Camera instead of Webcam on Play

I've downloaded and used Vuforia with success and when I play the project, It uses my webcam on my laptop. But how can I use my connected iPhone's camera instead when I play the project in Unity?
Simple answer: You can't.
Vuforia accesses the camera hardware directly with C++ and not with Unity's WebCamTexture API. This would have worked with the new Unity Remote 5 if they used WebCamTexture in their API to get camera frames, but they didn't because WebCamTexture is extremely slow for image processing.

Run 3d video on unity3d

One of my client want to run 3d video on Unity3d, I have two question
What is format of 3d videos.
Is this possible that we can run 3d video on iPhone and Android as well if it supported?
Thanks in advance.
If you meant playing a video on a texture in a 3D scene, then Unity3D as a MovieTexture class you can use. Sadly, it requires a Pro license and doesn't work on iOs or Android :(
add this code where you want to play a vedio:
Handheld.PlayFullScreenMovie("MovieFileName.mp4",Color.black,FullScreenMovieControlMode.CancelOnInput,FullScreenMovieScalingMode.AspectFit);
then put your movie file in Assets/StreamingAssets, movie file means:
.mov, .mp4, .mpv, and .3gp and using one of the following compression standards:
H.264 Baseline Profile Level 3.0 video, up to 640 x 480 at 30 fps. Note that B frames are not supported in the Baseline profile. MPEG-4 Part 2 video (Simple Profile).
details in: http://docs.unity3d.com/Documentation/ScriptReference/Handheld.PlayFullScreenMovie.html