如何在多显示器同时显示内容,第二个显示器显示左右模式效果

我们想在多显示器显示交互内容,zSpace为主显示器,另外一个显示器显示左右模式效果,详见图片效果
,请问如何在程序里面实现,能否提供一个demo示例

Hi Ant,

I recommend implementing zView which enables apps to have a secondary presentation view. zView is purchasable by zSpace customers as a separate app. If you do not already have zView, contact sales@zspace.com for a license key.

Here is the zView 6.1 developer package that works with the zCore 6.x packages.
https://cdn.zspace.com/downloads/developer-resources/zView-6.1.0.unitypackage

If you’re determined to come up with a solution that doesn’t rely on zView as a secondary supporting app, then you will be largely on your own. This would be more effort than I could justify spending on a demo example for you.

At a high level, what you would need to do is write a native plugin that generates a separate window and an OpenGL or D3D context to draw to it. Then you would need to set up a shared render texture that you would draw to in Unity and read from in your special plugin that manages the secondary window.

Again, using zView is our recommended solution, so I advise giving that a try first.

Alex S