Comments (7)
Hi Rahul
Yes, this is still being used daily, and there are some further changes planned. In particular, one of my colleagues has been making some changes to support AMD graphics cards - I plan to integrate his code changes to this repository soon.
To use it, you add the scripts provided with Quadifier to Unity, build your Unity project to create an executable, then run that executable through the Quadifier "launcher". Here's a short explanation of how that works:
- There are some scripts in Unity 3D which cause Unity to render left/right eye views sequentially in the same window. i.e. without Quadifier these would appear on top of each other, so you would only see the last one drawn.
- Quadifier intercepts the DirectX 9 drawing calls made by Unity, and causes Unity to render the left/right eye views to an off-screen buffer instead of to the window.
- The DirectX off-screen buffer is directly shared with OpenGL using the NV_DX_interop
- Quadifier creates a quad-buffer OpenGL stereo window (covering the normal DirectX window!), and renders the contents of the off-screen buffer to the left/right stereo channels in OpenGL
There is some further explanation in the Wiki here:
/quadifier/wiki
Finally, there is more technical detail in the readme here:
/quadifier/win32/readme.txt
You can use the software for any purpose (including commercially), provided it includes an acknowledgement in the documentation as indicated in the license agreement in the source files:
/quadifier/win32/source/main.cpp
Hope this helps?
Regards
James
from quadifier.
I heard that Unity after 4.6 supports stereoscopic 3 rendering. How that is
used in this tool?
All are you planning to get this thing work right from Unity without adding
that additional off window rendering? Not sure but may be this could
improve performance.
And thanks for making this tool.
Rahul
On Sat, Oct 24, 2015 at 6:10 PM, jam3sward [email protected] wrote:
Hi Rahul
Yes, this is still being used daily, and there are some further changes
planned. In particular, one of my colleagues has been making some changes
to support AMD graphics cards - I plan to integrate his code changes to
this repository soon.To use it, you add the scripts provided with Quadifier to Unity, build
your Unity project to create an executable, then run that executable
through the Quadifier "launcher". Here's a short explanation of how that
works:
- There are some scripts in Unity 3D which cause Unity to render
left/right eye views sequentially in the same window. i.e. without
Quadifier these would appear on top of each other, so you would only see
the last one drawn.- Quadifier intercepts the DirectX 9 drawing calls made by Unity, and
causes Unity to render the left/right eye views to an off-screen buffer
instead of to the window.- The DirectX off-screen buffer is directly shared with OpenGL using
the NV_DX_interop- Quadifier creates a quad-buffer OpenGL stereo window (covering the
normal DirectX window!), and renders the contents of the off-screen buffer
to the left/right stereo channels in OpenGLThere is some further explanation in the Wiki here:
https://github.com/jam3sward/quadifier/wiki
Finally, there is more technical detail in the readme here:You can use the software for any purpose (including commercially),
provided it includes an acknowledgement in the documentation as indicated
in the license agreement in the source files:https://github.com/jam3sward/quadifier/blob/master/quadifier/win32/source/main.cpp
Hope this helps?
Regards
Jamesโ
Reply to this email directly or view it on GitHub
#1 (comment).
from quadifier.
Hi Rahul
You're right that Unity 4.6+ now supports DirectX 11.1 stereo, from Windows 8.1 upwards (more details here). There's no support for DirectX stereo in Quadifier currently, and I've not yet had the opportunity to test it as we are still running Windows 7 on all our stereo PCs. It would be useful to add another rendering path for DirectX stereo to Quadifier at some stage. As you say, performance would be improved.
For simple single window applications running on consumer 3D hardware, the built in Unity stereo using DirectX is probably preferable to Quadifier. However, there are some circumstances where Quadifier may still be preferred:
- When using multiple displays (e.g. CAVE type displays) with different viewpoints
- When you need full control over the stereoscopic viewing system (asymmetric frustum)
- When OpenGL stereo output is needed
- When using head-tracking
- When the OS, drivers or hardware don't support DirectX stereo, or when OpenGL stereo is preferred
- For Linux support
Incidentally, we recently updated one of our PCs to Windows 10, and we are unable to get stereo to work at all (DirectX or OpenGL, even the built in NVIDIA stereo tests don't work). For this reason, we have resisted updating any more PCs. I assume it will be fixed at some stage though as the OS and drivers improve.
Regards
James
from quadifier.
Hi James, Did you implemented the AMD part that you mentioned in earlier message?
from quadifier.
Hi Rahul
Yes, I'm pleased to say that the AMD support has now been added (by my colleague Jason - I've merged his changes to this repository).
Regards
James
from quadifier.
Thanks
I should check and update you asap.
Rahul
On Mon, Nov 23, 2015 at 7:39 PM, jam3sward [email protected] wrote:
Hi Rahul
Yes, I'm pleased to say that the AMD support has now been added (by my
colleague Jason - I've merged his changes to this repository).
Regards
Jamesโ
Reply to this email directly or view it on GitHub
#1 (comment).
from quadifier.
Closing this due to inactivity.
from quadifier.
Related Issues (16)
- Unity Scripts HOT 2
- Failed to inject? HOT 2
- Failed In Unity5.3+ HOT 16
- Needs to have "Show Unity Splash Screen" enabled in Pro HOT 5
- No StereoGL in Unity 5.4 HOT 6
- Four problems HOT 6
- Issue with building it HOT 6
- Is this limited to nvidia cards? HOT 2
- Fails to start when Graphic quality is โBeautifulโ or above HOT 6
- Failed to hook GetProAddress with Win10 X64 HOT 7
- Error with CreateRenderTarget at Quadifier.cpp line 1235 when antialiasing is enabled HOT 2
- Unity window not receiving mouse and keyboard events after dragging and dropping the window HOT 3
- Left/Right eye sequence is sometimes reversed HOT 2
- Nonsupport Directional light of Unity? HOT 2
- edge blend HOT 2
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 quadifier.