Page 1 of 1

Sample How to Use DLLImport from C#

Posted: Thu Oct 21, 2010 1:32 pm
by daniex1
Hi Guys, Please I am Try integrate Tracking Tools and Unity3d
I Need a sample How to Use DLLImport in C#, to use the functions NPTrackingTools.dll

I have found very little documentation

Best Regards
Daniel
dperez@dilbrands.com

Re: Sample How to Use DLLImport from C#

Posted: Thu Oct 21, 2010 2:39 pm
by VincentG
It might be easier to use one of the streaming protocols (like VRPN) for example to stream rigid bodies into Unity3D vs. loading the DLL into the Unity process space.

Re: Sample How to Use DLLImport from C#

Posted: Thu Oct 21, 2010 2:50 pm
by daniex1
some sample ? please

I need urgent integrate this function

Best Regards
Daniel

Re: Sample How to Use DLLImport from C#

Posted: Thu Oct 21, 2010 3:01 pm
by VincentG
http://www.naturalpoint.com/optitrack/s ... #streaming

Plugins, Streaming and Extras
[Show MotionBuilder, NatNet, VRPN & Trackd]


NaturalPoint (NatNet) Streaming Sample Distribution Files
SDK for capturing tracking data streamed across networks by ARENA and Tracking Tools/Rigid Body Toolkit. Sample clients with source code are included.
Download .zip file (v2.2, posted 06/02/10)

VRPN Streaming Sample Distribution Files
VRPN source and sample implementation for VRPN streaming from Tracking Tools/Rigid Body Toolkit.
Download .zip file

Trackd Streaming Module Distribution Files
Implementation of the Trackd module for use with Tracking Tools/Rigid Body Toolkit and Trackd broker.
Download .zip file

Requires Trackd to be licensed and installed. Visit Mechdyne/VRCO for details.