Items with no label
3338 Discussions

Q1. I want to know how to get color and depth value when i pick a pixel in realsense unity wrapper sdk. Q2. In tutorial, it is forced to make gameobject includes RsDevice component, but i want to make RsDevice dynamically whenever i want

HPark22
Beginner
1,900 Views
 
0 Kudos
1 Solution
Eliza_D_Intel
Employee
1,238 Views
Hello HPark22, Thank you for your patience! Unfortunately, this functionality is not supported at this moment. The RealSense Engineering Team has been made aware of this request but we cannot guarantee if it will be implemented in a future release. Thank you and best regards, Eliza

View solution in original post

0 Kudos
8 Replies
Eliza_D_Intel
Employee
1,238 Views
Hello HPark22, Thank you for your interest in the Intel RealSense Technology. For your first question, I believe you might find useful this question posted on Unity Community: https://answers.unity.com/questions/1278323/how-to-convert-world-position-of-a-pixel-to-a-dept.html  As for your second question, could you please let us know why do you want to do that? Thank you and best regards, Eliza
0 Kudos
HPark22
Beginner
1,238 Views

I have used Kinect XBox 360 and Realsense D415 and Realsense D435.

I want my program to function regardless of the kind of depth camera.

So i made interface for depth camera and details for each camera.

Kinect supports KinectSensor.GetDefault() method in Windows.Kinect,

but i couldn't find similar way for realsense.

Can i get any way for this?

0 Kudos
HPark22
Beginner
1,238 Views

Briefly,

I want to get color frame (and each value) and one for depth, and tracked user(skeleton, joint, or anything) on script which i made, at runtime.

0 Kudos
Eliza_D_Intel
Employee
1,238 Views
Hello HPark22, Could you please take a look at this file: https://github.com/IntelRealSense/librealsense/blob/a321a0404c7b0cfd2e157d85c6b00f88a3e55d48/wrappers/unrealengine4/Plugins/RealSense/Source/RealSense/Private/RealSenseContext.cpp#L50 and let me know if this is the line you want to modify? If not, could you please point me exactly where? Thank you and best regards, Eliza
0 Kudos
HPark22
Beginner
1,238 Views

I think it's similar way with what i want in terms of that it makes Device Instance dynamically at run time.

but in unity wrappers, as i see, it is forced to make RsDevice object in hierarchy and register PipelineProfiles on RsDevice in inspector.

(I don't know that it's possible to use methods in RsDevice with skipping above procedure)

I want to use RsDevice's function without making object in hierarchy, registering profiles, etc.

0 Kudos
JesusG_Intel
Moderator
1,238 Views
Hello HPark 22, we have escalated your question to the engineering team. We will update this thread when we receive a response. Regards, Jesus
0 Kudos
Eliza_D_Intel
Employee
1,239 Views
Hello HPark22, Thank you for your patience! Unfortunately, this functionality is not supported at this moment. The RealSense Engineering Team has been made aware of this request but we cannot guarantee if it will be implemented in a future release. Thank you and best regards, Eliza
0 Kudos
HPark22
Beginner
1,238 Views

Thank you for reply.

I hope everyone can use that functionality in near future.

0 Kudos
Reply