Search found 199 matches

by morgan
Fri Nov 30, 2012 11:07 am
Forum: OptiTrack Data Streaming
Topic: Arena to Unity streaming
Replies: 45
Views: 102111

Re: Arena to Unity streaming

No - the direct depacketization script is a script only solution, so it does not require Unity Pro or the NatNetML.dll.
by morgan
Wed Nov 28, 2012 12:20 pm
Forum: OptiTrack Data Streaming
Topic: Arena to Unity streaming
Replies: 45
Views: 102111

Re: Arena to Unity streaming

<t>Hey guys -<br/> <br/> There's 2 separate approaches here:<br/> <br/> 1. Use NatNetML.dll, which is a .Net assembly, within your own Unity plugin. See the Winforms sample in the NatNet SDK for an example of how to consume this assembly. No depacketization is necessary here, as the NatNetML assembl...
by morgan
Fri Aug 24, 2012 5:26 pm
Forum: OptiTrack Data Streaming
Topic: Stream Arena to Matlab using NatNetML.dll
Replies: 5
Views: 5755

Re: Stream Arena to Matlab using NatNetML.dll

you'll need to add a callback handler for when data is delivered: // [NatNet] set a "Frame Ready" callback function (event handler) handler that will be // called by NatNet when NatNet receives a frame of data from the server application m_NatNet.OnFrameReady += new NatNetML.FrameReadyEven...
by morgan
Thu May 31, 2012 10:11 am
Forum: OptiTrack Data Streaming
Topic: Arena to Unity streaming
Replies: 45
Views: 102111

Re: Arena to Unity streaming

Here's an unsupported script that could help get you started on a script only solution for importing our OptiTrack data stream into Unity. This is a known working script against against 1.7.x, and should work with 1.8.x. Please note however that when doing direct depacketization, if the NatNet bitst...
by morgan
Wed May 16, 2012 10:12 am
Forum: Insight VCS
Topic: Motion Builder 2012 Rigid Body
Replies: 9
Views: 29680

Re: Motion Builder 2012 Rigid Body

Hey Don,

The Mobu 2013 plugin is still in beta - we're hoping to release this month after the Arena 1.8.1 Final posts.

Will shoot you a mail as soon as it does.
by morgan
Thu May 10, 2012 2:32 pm
Forum: Insight VCS
Topic: Motion Builder 2012 Rigid Body
Replies: 9
Views: 29680

Re: Motion Builder 2012 Rigid Body

<r>In Mobu 2012 I'll create a rigid body by selecting the opticals, then selecting "add" from the rigid body tab on the optical panel.<br/> <br/> Here's a video detailing the process in Tracking Tools / Mobu 2013. The vid shows how to use it both in Universal and Standard modes of our plugin:<br/> <...
by morgan
Tue Feb 21, 2012 12:42 pm
Forum: General OptiTrack Support
Topic: OptiTrack Model binding question
Replies: 2
Views: 2273

Re: OptiTrack Model binding question

<t>Hey Phaneendra - <br/> <br/> I just sent AJ an email with a script on this - but here it is for anyone else looking:<br/> <br/> # show current camera<br/> lSystem = FBSystem()<br/> lCurrentCamera = lSystem.Renderer.CurrentCamera<br/> print "Current Camera: " + lCurrentCamera.LongName<br/> <br/> <...
by morgan
Thu Feb 09, 2012 12:02 pm
Forum: OptiTrack Data Streaming
Topic: Streaming Individual Markers
Replies: 24
Views: 27726

Re: Streaming Individual Markers

<t>Great! Good to know about the byte order under Java - we'll update the docs to reflect that.<br/> <br/> If you can share your Java / Matlab code that would be great! I'm sure we have some other custoemrs who would greatly benefit. <br/> <br/> We're also happy to test it out here and include it in...
by morgan
Wed Feb 08, 2012 5:09 pm
Forum: OptiTrack Data Streaming
Topic: Streaming Individual Markers
Replies: 24
Views: 27726

Re: Streaming Individual Markers

yes - sorry - the byte order is little endian. it looks like java's ByteBuffer defaults to big endian, which would reverse the bytes and show the behavior your seeing. if you're using ByteBuffer you can change it's order easily using: ByteBuffer buffer = ... buffer.order(ByteOrder.LITTLE_ENDIAN); or...
by morgan
Wed Feb 08, 2012 1:07 pm
Forum: OptiTrack Data Streaming
Topic: Streaming Individual Markers
Replies: 24
Views: 27726

Re: Streaming Individual Markers

<t>In C/C++, floats and ints are both 32 bit values.<br/> <br/> In the example:<br/> <br/> ptr is an array of char (1 byte per char)<br/> x is a float (4 bytes)<br/> <br/> the actual value is a 4 byte float (stored sequentialy in memory as 4 chars) <br/> <br/> <br/> so:<br/> <br/> float x = 0; memcp...