Jelajahi Sumber

Merge pull request #17077 from sciecode/dev-uvgrid

Examples: Replaces UV Grid Texture
Michael Herzog 6 tahun lalu
induk
melakukan
feb11a5ce6

+ 1 - 1
examples/misc_exporter_collada.html

@@ -85,7 +85,7 @@
 				cameraControls.addEventListener( 'change', render );
 
 				// TEXTURE MAP
-				var textureMap = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var textureMap = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				textureMap.wrapS = textureMap.wrapT = THREE.RepeatWrapping;
 				textureMap.anisotropy = 16;
 

+ 1 - 1
examples/misc_exporter_gltf.html

@@ -186,7 +186,7 @@
 				// Simple geometry with basic material
 				// ---------------------------------------------------------------------
 				// Icosahedron
-				var mapGrid = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var mapGrid = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				mapGrid.wrapS = mapGrid.wrapT = THREE.RepeatWrapping;
 				var material = new THREE.MeshBasicMaterial( {
 					color: 0xffffff,

TEMPAT SAMPAH
examples/textures/UV_Grid_Sm.jpg


+ 0 - 1
examples/textures/UV_Grid_Sm.txt

@@ -1 +0,0 @@
-http://www.helloluxx.com/tutorials/cinema4d-2/cinema4d-materials/uv-grids/

TEMPAT SAMPAH
examples/textures/uv_grid_directx.jpg


TEMPAT SAMPAH
examples/textures/uv_grid_opengl.jpg


+ 1 - 1
examples/webgl_geometries.html

@@ -37,7 +37,7 @@
 				camera.add( pointLight );
 				scene.add( camera );
 
-				var map = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var map = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				map.wrapS = map.wrapT = THREE.RepeatWrapping;
 				map.anisotropy = 16;
 

+ 1 - 1
examples/webgl_geometries_parametric.html

@@ -45,7 +45,7 @@
 
 				//
 
-				var map = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var map = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				map.wrapS = map.wrapT = THREE.RepeatWrapping;
 				map.anisotropy = 16;
 

+ 1 - 1
examples/webgl_geometry_nurbs.html

@@ -142,7 +142,7 @@
 				var knots2 = [ 0, 0, 0, 0, 1, 1, 1, 1 ];
 				var nurbsSurface = new NURBSSurface( degree1, degree2, knots1, knots2, nsControlPoints );
 
-				var map = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var map = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				map.wrapS = map.wrapT = THREE.RepeatWrapping;
 				map.anisotropy = 16;
 

+ 1 - 1
examples/webgl_geometry_shapes.html

@@ -59,7 +59,7 @@
 				scene.add( group );
 
 				var loader = new THREE.TextureLoader();
-				var texture = loader.load( "textures/UV_Grid_Sm.jpg" );
+				var texture = loader.load( "textures/uv_grid_opengl.jpg" );
 
 				// it's necessary to apply these settings in order to correctly display the texture on a shape geometry
 

+ 1 - 1
examples/webgl_geometry_teapot.html

@@ -79,7 +79,7 @@
 				cameraControls.addEventListener( 'change', render );
 
 				// TEXTURE MAP
-				var textureMap = new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg' );
+				var textureMap = new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg' );
 				textureMap.wrapS = textureMap.wrapT = THREE.RepeatWrapping;
 				textureMap.anisotropy = 16;
 

+ 1 - 1
examples/webgl_loader_ctm.html

@@ -130,7 +130,7 @@
 
 				loader.load( "models/ctm/ben.ctm", function ( geometry ) {
 
-					var material = new THREE.MeshLambertMaterial( { color: 0xffaa00, map: textureLoader.load( "textures/UV_Grid_Sm.jpg" ), envMap: reflectionCube, combine: THREE.MixOperation, reflectivity: 0.3 } );
+					var material = new THREE.MeshLambertMaterial( { color: 0xffaa00, map: textureLoader.load( "textures/uv_grid_opengl.jpg" ), envMap: reflectionCube, combine: THREE.MixOperation, reflectivity: 0.3 } );
 					callbackModel( geometry, 450, material, 0, - 200, 0, 0, 0 );
 					checkTime();
 

+ 1 - 1
examples/webgl_loader_obj.html

@@ -79,7 +79,7 @@
 
 				var textureLoader = new THREE.TextureLoader( manager );
 
-				var texture = textureLoader.load( 'textures/UV_Grid_Sm.jpg' );
+				var texture = textureLoader.load( 'textures/uv_grid_opengl.jpg' );
 
 				// model
 

+ 1 - 1
examples/webgl_marchingcubes.html

@@ -157,7 +157,7 @@
 			var hatchingMaterial = createShaderMaterial( ToonShaderHatching, light, ambientLight );
 			var dottedMaterial = createShaderMaterial( ToonShaderDotted, light, ambientLight );
 
-			var texture = new THREE.TextureLoader().load( "textures/UV_Grid_Sm.jpg" );
+			var texture = new THREE.TextureLoader().load( "textures/uv_grid_opengl.jpg" );
 			texture.wrapS = THREE.RepeatWrapping;
 			texture.wrapT = THREE.RepeatWrapping;
 

+ 1 - 1
examples/webgl_materials_blending.html

@@ -79,7 +79,7 @@
 					{ name: 'Multiply', constant: THREE.MultiplyBlending }
 				];
 
-				var map0 = textureLoader.load( 'textures/UV_Grid_Sm.jpg' );
+				var map0 = textureLoader.load( 'textures/uv_grid_opengl.jpg' );
 				var map1 = textureLoader.load( 'textures/sprite0.jpg' );
 				var map2 = textureLoader.load( 'textures/sprite0.png' );
 				var map3 = textureLoader.load( 'textures/lensflare/lensflare0.png' );

+ 1 - 1
examples/webgl_materials_texture_rotation.html

@@ -56,7 +56,7 @@
 
 				var geometry = new THREE.BoxBufferGeometry( 10, 10, 10 );
 
-				new THREE.TextureLoader().load( 'textures/UV_Grid_Sm.jpg', function ( texture ) {
+				new THREE.TextureLoader().load( 'textures/uv_grid_opengl.jpg', function ( texture ) {
 
 					texture.wrapS = texture.wrapT = THREE.RepeatWrapping;
 					texture.anisotropy = renderer.capabilities.getMaxAnisotropy();

+ 1 - 1
examples/webgl_raycast_texture.html

@@ -93,7 +93,7 @@
 
 				}, false );
 				this._background.crossOrigin = '';
-				this._background.src = "textures/UV_Grid_Sm.jpg";
+				this._background.src = "textures/uv_grid_opengl.jpg";
 
 				this._draw();