Tuesday, July 13, 2010

Unity notes

MONITOR

Multiple monitor output: seems to require desktop spanning.

http://answers.unity3d.com/questions/640/fullscreen-on-a-second-monitor
http://answers.unity3d.com/questions/7396/dual-monitor-support
http://answers.unity3d.com/questions/3899/using-multiple-monitors-video-outputs



Use camera viewports to place camera output at certain locations onscreen.
http://unity3d.com/support/documentation/Components/class-Camera.html


how to set app to non-standard size?

if "fullscreen" is only single monitor, how to draw across full desktop without decoration?

is there a way to find total monitor-spanned desktop size? size of second monitor? for now, ability for user to enter second monitor resolution, and using that to place the output viewport in upper right corner of screen, would work.

Supposedly full-screen-on-second-monitor for windows was addressed and would be available in future version (presumably by 3.0) http://answers.unity3d.com/questions/640

There is also a workaround for window: set app res to match monitor res, then place window so header and frame are exactly offscreen... this also addresses the pops-out-of-fullscreen-when-app-focus-changes problem. Even a util for it: http://gwr.orekaria.com/



VIDEO

Video: no position control in native Unity: http://answers.unity3d.com/questions/5197/how-to-create-a-slider-to-control-video-playback

is is possible to get video resolution: http://answers.unity3d.com/questions/18945/how-to-get-video-resolution

it is theoretically possible to access pixels of iplimage from OpenCV and copy to Unity texture: http://answers.unity3d.com/questions/15574/import-video-from-camera

opencv cross-platform support notes: http://answers.unity3d.com/questions/16460/plugins-on-osx-opencv-and-emgucv

hey, this seems promising: a cross-platform QT plugin! http://www.unifycommunity.com/wiki/index.php?title=QTPlayback it doesn't have position control, but includes (non-free) source for the plugin

PLUGIN

native implementations for OSX and Windows http://unity3d.com/support/documentation/Manual/Plugins.html

No comments: