Giter VIP home page Giter VIP logo

Comments (10)

wolfgangfengel avatar wolfgangfengel commented on August 22, 2024 1

We used The Forge for StarVR and I know we used it in other AR / VR environments. So I assume it is possible. I ask the guys who worked on those projects ... and get back to you.

from the-forge.

wolfgangfengel avatar wolfgangfengel commented on August 22, 2024

Hey mgsim, what is your usage case? Obviously, you can plug two monitors in your GPU and you can run them ... but this is probably not what you are asking.

from the-forge.

boberfly avatar boberfly commented on August 22, 2024

Hi @mgsim
I was able to use The-Forge with GLFW: https://www.glfw.org/ which does let you spawn multiple windows. From there I would associate each one with its own swapchain by passing the window handle to the descriptor struct and handle it much like you would with a native API from there. (GLFW lets you create these windows without OpenGL contexts, it works with any API that supports the native OS window handle). Alternatively SDL2 could be used.

from the-forge.

mgsim avatar mgsim commented on August 22, 2024

@wolfgangfengel My particular use case is for rendering to a custom 3D stereoscope where each eye receives a full-screen render image from a different viewpoint. In addition I need to support even more windows/monitors for additional unrelated drawing or debug views with a free camera. I could use a distinct GPU adapter for each eye, but I'm particularly interested in the usage of The Forge API with multi-monitor where there is only one GPU available.

@boberfly Thank you for your comments. I am currently using an identical setup to you. I use GLFW for generating multiple OS windows with no context and use GLFW's native header to retrieve the native window handles to pass to The Forge. This works perfectly and I have multiple windows to which I can render, but I am looking for best practices regarding the usage of The Forge for rendering to these windows. I'm concerned with the most efficient way to render to multiple monitors regarding the usage of threads, single or multiple command queues, command lists, and descriptor heaps. I'd like to duplicate as few resources as possible.

from the-forge.

mgsim avatar mgsim commented on August 22, 2024

@wolfgangfengel That's good news. I look forward to hearing your response. I think adding a multi-window/multi-monitor example to the unit tests would be immensely helpful too.

from the-forge.

mgsim avatar mgsim commented on August 22, 2024

@wolfgangfengel Did the guys who worked on StarVR or the other AR / VR environments with The Forge get back to you with any best practices? I'm still interested in learning this. Thanks.

from the-forge.

mgsim avatar mgsim commented on August 22, 2024

@wolfgangfengel Any forward progress on this issue? I'm still very interested. I'd be happy to set up a meeting to discuss this with you at SIGGRAPH in L.A. if you will be attending this year. Thanks.

from the-forge.

wolfgangfengel avatar wolfgangfengel commented on August 22, 2024

I think we have now multi-monitor support in the new window example. Let me know if this is what you were looking for.

from the-forge.

wolfgangfengel avatar wolfgangfengel commented on August 22, 2024

@mgsim can I close this issue?

from the-forge.

mgsim avatar mgsim commented on August 22, 2024

from the-forge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.