You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					61 lines
				
				1.7 KiB
			
		
		
			
		
	
	
					61 lines
				
				1.7 KiB
			| 
								 
											3 years ago
										 
									 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html lang="fr">
							 | 
						||
| 
								 | 
							
									<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">
							 | 
						||
| 
								 | 
							
										Double [page:PerspectiveCamera PerspectiveCamera]s utilisées pour réaliser des effets tels que
							 | 
						||
| 
								 | 
							
										[link:https://en.wikipedia.org/wiki/Anaglyph_3D 3D Anaglyph] ou [link:https://en.wikipedia.org/wiki/parallax_barrier Parallax Barrier].
							 | 
						||
| 
								 | 
							
										</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h2>Exemples</h2>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<p>
							 | 
						||
| 
								 | 
							
											[example:webgl_effects_anaglyph effects / anaglyph ]<br />
							 | 
						||
| 
								 | 
							
											[example:webgl_effects_parallaxbarrier effects / parallaxbarrier ]<br />
							 | 
						||
| 
								 | 
							
											[example:webgl_effects_stereo effects / stereo ]
							 | 
						||
| 
								 | 
							
										</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h2>Constructeur</h2>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[name]( )</h3>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h2>Propriétés</h2>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[property:Float aspect]</h3>
							 | 
						||
| 
								 | 
							
										<p>La valeur par défaut est `1`.</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[property:Float eyeSep]</h3>
							 | 
						||
| 
								 | 
							
										<p>La valeur par défaut est `0.064`.</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[property:PerspectiveCamera cameraL]</h3>
							 | 
						||
| 
								 | 
							
										<p>Caméra gauche. Elle est ajoutée à [page:Layers layer 1] - les objets devant être rendus par
							 | 
						||
| 
								 | 
							
										la caméra gauche doivent aussi être ajoutés à ce layer.</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[property:PerspectiveCamera cameraR]</h3>
							 | 
						||
| 
								 | 
							
										<p>Caméra droite.Elle est ajoutée à [page:Layers layer 2] - les objets devant être rendus par
							 | 
						||
| 
								 | 
							
										la caméra droite doivent aussi être ajoutés à ce layer.</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h2>Méthodes</h2>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h3>[method:undefined update]( [param:PerspectiveCamera camera] )</h3>
							 | 
						||
| 
								 | 
							
										<p>
							 | 
						||
| 
								 | 
							
										Met à jour les caméras stéréos selon la caméra passée en paramètre.
							 | 
						||
| 
								 | 
							
										</p>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<h2>Source</h2>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										<p>
							 | 
						||
| 
								 | 
							
											[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
							 | 
						||
| 
								 | 
							
										</p>
							 | 
						||
| 
								 | 
							
									</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |