PROWAREtech

articles » current » javascript » three-js » cover-scene-background-with-image

ThreeJS: Cover Background with Image without Stretching

How to set the background image to cover the scene without stretching it; how to make the background responsive for mobile apps using THREE.js.

This javascript function will properly crop the background image to make it cover the entire scene without distortion or stretching.

See related: Move camera to make objects fill screen.


function setBackground(scene, backgroundImageWidth, backgroundImageHeight) {
	var windowSize = function(withScrollBar) {
		var wid = 0;
		var hei = 0;
		if (typeof window.innerWidth != "undefined") {
			wid = window.innerWidth;
			hei = window.innerHeight;
		}
		else {
			if (document.documentElement.clientWidth == 0) {
				wid = document.body.clientWidth;
				hei = document.body.clientHeight;
			}
			else {
				wid = document.documentElement.clientWidth;
				hei = document.documentElement.clientHeight;
			}
		}
		return { width: wid - (withScrollBar ? (wid - document.body.offsetWidth + 1) : 0), height: hei };
	};

	if (scene.background) {

		var size = windowSize(true);
		var factor = (backgroundImageWidth / backgroundImageHeight) / (size.width / size.height);

		scene.background.offset.x = factor > 1 ? (1 - 1 / factor) / 2 : 0;
		scene.background.offset.y = factor > 1 ? 0 : (1 - factor) / 2;

		scene.background.repeat.x = factor > 1 ? 1 / factor : 1;
		scene.background.repeat.y = factor > 1 ? 1 : factor;
	}
}

Example usage:

var img = new Image();
img.onload = function () {
	scene.background = new THREE.TextureLoader().load(img.src);
	setBackground(scene, img.width, img.height);
};
img.src = "background.jpg";

This code assumes that the canvas is the size of the window, so don't forget to call setBackground() when the browser window is resized. This will also work for when users rotate their mobile device or smartphone.

Here is a full working example:


<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Cover Background with Image</title>
	<style>
		body {
			height: 100vh;
			padding: 0;
			margin: 0;
		}
		canvas {
			position: fixed;
			top: 0;
			left: 0;
			display: block;
			width: 100%;
			height: 100vh;
		}
	</style>
</head>
<body>
	<canvas></canvas>
	<script src="/js/three.min.js"></script>
	<script type="text/javascript">

(function () {

	var canvas = document.getElementsByTagName("canvas")[0];

	// NOTE: the width and height of the canvas
	var size = {
		getWidth: function(){return canvas.offsetWidth;},
		getHeight: function(){return canvas.offsetHeight;}
	};

	var windowSize = function(withScrollBar) {
		var wid = 0;
		var hei = 0;
		if (typeof window.innerWidth != "undefined") {
			wid = window.innerWidth;
			hei = window.innerHeight;
		}
		else {
			if (document.documentElement.clientWidth == 0) {
				wid = document.body.clientWidth;
				hei = document.body.clientHeight;
			}
			else {
				wid = document.documentElement.clientWidth;
				hei = document.documentElement.clientHeight;
			}
		}
		return { width: wid - (withScrollBar ? (wid - document.body.offsetWidth + 1) : 0), height: hei };
	};

	var setBackground = function (scene, backgroundImageWidth, backgroundImageHeight) {

		if (scene.background) {

			var factor = (backgroundImageWidth / backgroundImageHeight) / (size.getWidth() / size.getHeight());

			scene.background.offset.x = factor > 1 ? (1 - 1 / factor) / 2 : 0;
			scene.background.offset.y = factor > 1 ? 0 : (1 - factor) / 2;

			scene.background.repeat.x = factor > 1 ? 1 / factor : 1;
			scene.background.repeat.y = factor > 1 ? 1 : factor;
		}
	};

	// NOTE: backimg can be a url to an image
	var backimg = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAKAAD/7gAhQWRvYmUAZMAAAAABAwAQAwIDBgAAE5kAACYcAABPK//bAIQAFBAQGRIZJxcXJzImHyYyLiYmJiYuPjU1NTU1PkRBQUFBQUFERERERERERERERERERERERERERERERERERERERAEVGRkgHCAmGBgmNiYgJjZENisrNkREREI1QkRERERERERERERERERERERERERERERERERERERERERERERERERE/8IAEQgBdwH0AwEiAAIRAQMRAf/EAN0AAQADAQEBAQAAAAAAAAAAAAADBAUCBgEHAQEAAwEBAQAAAAAAAAAAAAAAAQIDBAUGEAACAgICAQIEBgMBAQEBAAABAgMEAAUREhMQBkAhIhQgMFAxNBUyMzUWI0EkEQACAQIDBAYFBwkHBAEFAAABAhEAAyExEhBBUQRhcbEiMhPwg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JlSJIGdG2VGfi3ip0MSN6mm1DTbb7MTSi2PCKGvwzjVwoe4F1JBqbTnzN65U4W6UNsSdRNDW2qPpGVJFBiTqG+gWxI37BZZT3ciDQNyQQIOEzTkaVVp8YoorhVGJ6aBKSCIOGZrz7YAUZiI2LpE6/DFEJIYZxTEEhmENNY/QLahHCpnOgS3dJrumRt8wDu1MGKmPmGZwrSzEjgTsKKARundTBlksZ1b6t3tMACGpisQThh9AhgcTQKmTnWJkVJxA26HGEbqCthG41ogRTBYmsMjlUOYpTODcaBOIO/bP0foBrSu6sRNEEGG3VOyblasO8MKDTAoPbYipksBQYZitTLgOFBCp7u+pnvbAhAByppbGd1EasqBbEGgONLOOrKKlhA+if3cz0VIBJ3ihNs+yhCHV1UDGk8NuFY6o6agBo6jRDLux1YbCArFt+Bp1fw8YwogERx2HzDB3V+4br71GBrMUPNWFnDYqlHBEQdOdH+YBAjepFOMPzSaCOoH5xooSrKftahhQ8lgwPAz9C//2Q==";
	// NOTE: create the scene to place objects in
	var scene = new THREE.Scene();
	scene.matrixWorldAutoUpdate = true;

	var img = new Image();
	img.onload = function () {
		scene.background = new THREE.TextureLoader().load(backimg);
		setBackground(scene, img.width, img.height);
	};
	img.src = backimg;


	var cameraNear = 1, cameraFar = 500;
	var camera = new THREE.PerspectiveCamera(75, size.getWidth() / size.getHeight(), cameraNear, cameraFar);


	var renderer = new THREE.WebGLRenderer({
		canvas: canvas,
		antialias: true,
	});

	var resize = function () {
		canvas.style.width = windowSize(true).width + "px";
		canvas.style.height = windowSize().height + "px";
		if(scene.background) {
			setBackground(scene, img.width, img.height);
		}
		camera.aspect = size.getWidth() / size.getHeight();
		camera.updateProjectionMatrix();
		renderer.setPixelRatio(window.devicePixelRatio);
		renderer.setSize(size.getWidth(), size.getHeight());
	};
	resize();

	window.addEventListener("resize", resize);

	var animate = function () {

		renderer.render(scene, camera);
		requestAnimationFrame(animate);
	};
	animate();

})();

	</script>
</body>
</html>

PROWAREtech

Hello there! How can I help you today?
Ask any question

PROWAREtech

This site uses cookies. Cookies are simple text files stored on the user's computer. They are used for adding features and security to this site. Read the privacy policy.
CLOSE