GithubHelp home page GithubHelp logo

Are you still working ont it? about quadifier HOT 7 CLOSED

RYG81 avatar RYG81 commented on August 19, 2024
Are you still working ont it?

from quadifier.

Comments (7)

jam3sward avatar jam3sward commented on August 19, 2024

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:

  1. 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.
  2. 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.
  3. The DirectX off-screen buffer is directly shared with OpenGL using the NV_DX_interop
  4. 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.

RYG81 avatar RYG81 commented on August 19, 2024

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:

  1. 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.
  2. 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.
  3. The DirectX off-screen buffer is directly shared with OpenGL using
    the NV_DX_interop
  4. 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:
https://github.com/jam3sward/quadifier/wiki
Finally, there is more technical detail in the readme here:

https://github.com/jam3sward/quadifier/blob/e2f4730b9c1b93fd5ecd6e3f9d370b472939f407/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:

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.

jam3sward avatar jam3sward commented on August 19, 2024

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:

  1. When using multiple displays (e.g. CAVE type displays) with different viewpoints
  2. When you need full control over the stereoscopic viewing system (asymmetric frustum)
  3. When OpenGL stereo output is needed
  4. When using head-tracking
  5. When the OS, drivers or hardware don't support DirectX stereo, or when OpenGL stereo is preferred
  6. 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.

RYG81 avatar RYG81 commented on August 19, 2024

Hi James, Did you implemented the AMD part that you mentioned in earlier message?

from quadifier.

jam3sward avatar jam3sward commented on August 19, 2024

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.

RYG81 avatar RYG81 commented on August 19, 2024

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.

jam3sward avatar jam3sward commented on August 19, 2024

Closing this due to inactivity.

from quadifier.

Related Issues (16)

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.