I encountered an issue while transitioning from three.js version r58 to r73. The code that previously displayed the model perfectly is now failing to render the model. Despite detecting the mesh in the debug window, the model remains invisible on the screen. Any assistance in resolving this would be greatly appreciated. Please excuse the lengthy code snippet.
Code:
<script src="JS/three.js"></script>
<script src="JS/TrackballControl.js"></script>
<script src="JS/OrbitControls.js"></script>
<script>
// JavaScript code snippet goes here
// ...
</script>
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebGL Viewer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body
{
font-family: Monospace;
background-color: #f0f0f0;
margin: 0px;
overflow: hidden;
}
.info
{
position: absolute;
background-color: black;
opacity: 0.8;
color: white;
text-align: center;
top: 0px;
width: 100%;
}
.info a
{
color: #00ffff;
}
</style>
</head>
<body>
<div id="container"></div>
</body>
</html>