Skip to content

Commit 31940d2

Browse files
committed
Add initial files
0 parents  commit 31940d2

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2020 JackDesBwa
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
StereoscopicEffects for three.js
2+
================================
3+
4+
This module provides effects to display a 3D scene created with threeJS in **stereoscopy** (multiple methods)
5+
6+
What does it mean?
7+
------------------
8+
9+
Displaying 3D scenes with threeJS is very nice, but displaying them so that the users can view them with depth is even better.
10+
As humans, we have a strong depth perception based on the slight differences of parallax perceived by our eyes.
11+
In threeJS, the StereoCamera allows to mimic the perception of each eye independantly, but the rest of the work is up to the develpper.
12+
13+
Furthermore, there exist tens of methods to display stereoscopic content.
14+
Each one has its pro and cons, and displaying one or another depends on which apparatus the user uses or prefers.
15+
The best is thus to let the users choose their display mode.
16+
17+
This module allows to display in a lot of methods easily.
18+
19+
Which methods are supported?
20+
----------------------------
21+
22+
- Side-by-Side:
23+
* Parallel view
24+
* Cross view
25+
* Parallel anamorphic view
26+
* Cross anamorphic view
27+
- Top-and-Bottom");
28+
* Top-Bottom view
29+
* Bottom-top view
30+
* Top-Bottom anamorphic view
31+
* Bottom-top anamorphic view
32+
- Interleaved
33+
* Interleaved lines 1
34+
* Interleaved lines 2
35+
* Interleaved columns 1
36+
* Interleaved columns 2
37+
* Checkerboard 1
38+
* Checkerboard 2
39+
- Single view
40+
* Single view left
41+
* Single view right
42+
- Anaglyph
43+
* Anaglyph Red/Cyan Gray
44+
* Anaglyph Red/Cyan Half Colors
45+
* Anaglyph Red/Cyan Dubois
46+
* Anaglyph Yellow/Blue Gray
47+
* Anaglyph Yellow/Blue Half Colors
48+
* Anaglyph Yellow/Blue Dubois
49+
* Anaglyph Green/Magenta Gray
50+
* Anaglyph Green/Magenta Half Colors
51+
* Anaglyph Green/Magenta Dubois
52+
53+
And the module renders also the WebXR session if started.

0 commit comments

Comments
 (0)