Rendering a scene as a texture to view multiple cameras simultaneously
One of the more fascinating aspects of working in 3D computer graphics is not that we can recreate a photorealistic world, but that we can create worlds that cannot exist in the real world. We are unbound by physics, and can create one-way walls or walk through portals to get from one location to another in an instant. Clearly, it is not traditional architecture as we know it, nor should it be.
Until now, every 3D mesh we have sent to the
drawScene() function has been drawn onto a canvas embedded inside a web page. But now, we are going to render the scene as a texture map, then apply that texture map onto a 3D mesh in our scene. Think of this as if we had a room with security ...