123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!DOCTYPE html>
- <html lang="pt-br">
- <head>
- <meta charset="utf-8" />
- <base href="../../../" />
- <script src="page.js"></script>
- <link type="text/css" rel="stylesheet" href="page.css" />
- </head>
- <body>
- <h1>[name]</h1>
- <p class="desc">
- [page:PerspectiveCamera PerspectiveCamera] dupla usada para efeitos como
- [link:https://en.wikipedia.org/wiki/Anaglyph_3D 3D Anaglyph] ou [link:https://en.wikipedia.org/wiki/parallax_barrier Parallax Barrier].
- </p>
- <h2>Exemplos</h2>
- <p>
- [example:webgl_effects_anaglyph effects / anaglyph ]<br />
- [example:webgl_effects_parallaxbarrier effects / parallaxbarrier ]<br />
- [example:webgl_effects_stereo effects / stereo ]
- </p>
- <h2>Construtor</h2>
- <h3>[name]( )</h3>
- <h2>Propriedades</h2>
- <h3>[property:Float aspect]</h3>
- <p>O padrão é `1`.</p>
- <h3>[property:Float eyeSep]</h3>
- <p>O padrão é `0.064`.</p>
- <h3>[property:PerspectiveCamera cameraL]</h3>
- <p>Câmera esquerda. Isso é adicionado a [page:Layers layer 1] - objetos a serem renderizados
- pela câmera esquerda também deve ser adicionados a esta camada (layer).</p>
- <h3>[property:PerspectiveCamera cameraR]</h3>
- <p>Câmera direita. Isso é adicionado a [page:Layers layer 2] - objetos a serem renderizados
- pela câmera direita também deve ser adicionados a esta camada (layer).</p>
- <h2>Métodos</h2>
- <h3>[method:undefined update]( [param:PerspectiveCamera camera] )</h3>
- <p>
- Atualiza as câmeras estéreo com base na câmera passada.
- </p>
- <h2>Source</h2>
- <p>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </p>
- </body>
- </html>
|