NPCamera.DrawFrame scaling?

Post Reply
MonkeyBasic
Posts: 2
Joined: Sat Aug 14, 2010 5:37 pm

NPCamera.DrawFrame scaling?

Post by MonkeyBasic »

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
Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: NPCamera.DrawFrame scaling?

Post by Birch »

SetOption() with NP_OPTION_DRAW_SCALE might be what you are looking for.
MonkeyBasic
Posts: 2
Joined: Sat Aug 14, 2010 5:37 pm

Re: NPCamera.DrawFrame scaling?

Post by MonkeyBasic »

Perfect, thank you!
Post Reply