forums.naturalpoint.com

Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

NPCamera.DrawFrame scaling?

by MonkeyBasic » Sat Aug 14, 2010 5:52 pm

I have an application that supports both the TrackIR 4 and 5. The feedback frame for the TrackIR 4 is 355x288 pixels where the TrackIR 5 is 640x480. Is there a way to scale down the DrawFrame function to display within a 320x240 panel? Currently the software only shows the top-left corner of a frame for TrackIR 5.

Any ideas would be appreciated!!!

Thanks,
Nelson
MonkeyBasic
 
Posts: 2
Joined: Sat Aug 14, 2010 5:37 pm

by Birch » Tue Aug 17, 2010 1:54 am

SetOption() with NP_OPTION_DRAW_SCALE might be what you are looking for.
Birch
 
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

by MonkeyBasic » Thu Aug 19, 2010 5:43 pm

Perfect, thank you!
MonkeyBasic
 
Posts: 2
Joined: Sat Aug 14, 2010 5:37 pm


Return to OptiTrack SDK