Sample How to Use DLLImport from C#

Post Reply
daniex1
Posts: 2
Joined: Mon Oct 18, 2010 5:48 am

Sample How to Use DLLImport from C#

Post by daniex1 » Thu Oct 21, 2010 1:32 pm

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

VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: Sample How to Use DLLImport from C#

Post by VincentG » Thu Oct 21, 2010 2:39 pm

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.

daniex1
Posts: 2
Joined: Mon Oct 18, 2010 5:48 am

Re: Sample How to Use DLLImport from C#

Post by daniex1 » Thu Oct 21, 2010 2:50 pm

some sample ? please

I need urgent integrate this function

Best Regards
Daniel

VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: Sample How to Use DLLImport from C#

Post by VincentG » Thu Oct 21, 2010 3:01 pm

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.

Post Reply