Comments (10)
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.
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.
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.
@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.
@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.
@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.
@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.
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.
@mgsim can I close this issue?
from the-forge.
from the-forge.
Related Issues (20)
- Rendering artifacts when disabling HDAO option in Visibility Buffer example on Windows PC with DirectX12 and Vulkan backend in The Forge 1.53 HOT 1
- Hello, is there any doc/examples on render mesh into 2d image? HOT 1
- heartbeat? HOT 8
- Materials playground hair assets missing HOT 2
- Vulkan - bug in queue initialization causing out of bounds access HOT 1
- Compiling error on MacOS 13.5.2 and Xcode 14.3.1 HOT 2
- Audio? HOT 2
- Sample Project HOT 4
- Supergiant's Hades switch from c# to c++, any more detail please!
- Issue of fullscreen windows at start HOT 1
- Possible issue in fsFetchZipEntryName function HOT 1
- Error from validation layers in vulkan backend in vk_utils_caps_builder HOT 1
- Direct3D12.cpp is missing "pRenderTarget->mDescriptors = pDesc->mDescriptors;" HOT 2
- Python regex warnings HOT 2
- enhancement request - explicitly sized enums in the API
- Wrong description or permission
- Missing #else implementation in fntGetFontAtlasSize()
- Any tutorial that how to start a project with vscode that can be built for android and windows exe both? HOT 1
- Missing textures for 39_ParticleSystem unit test HOT 2
- Unit tests crash on Linux with vulkan-icd-loader 1.3.285
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-forge.