6/30/2023 0 Comments Torque 3d shape editorNow let’s get into the nitty-gritty of how to do this. The camera will have its own position and rotation, plus some camera-specific stuff like a field of view. We’re also going to have a camera, which defines the point of view of the image.(In my renderer, I only have controls for rotation.) The model can have its own position and rotation in the scene that we’re going to render. For me, the model is just a list of points in 3D space. We’re going to have a model to render, like the cube in my example.Before we can dig into the details of each transformation, though, we need to look at the big picture. We want to take a set of points in 3D space and move, rotate, stretch, and flatten them until they’re all where we want them in a 2D image. How does the math work?Īt a high level, 3D rendering is just a long series of transformations. In this article I want to give a more detailed breakdown of how it’s done.īefore we get into Desmos itself, we need to cover the math of 3D rendering. Making this happen pushed the features of Desmos to the absolute limit.
0 Comments
Leave a Reply. |