Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- Imagine we generate a rectangular mesh with a boundary using an n + 1 by n + 1 grid of vertices. In the
- Imagine we generate a rectangular mesh with a boundary using an n + 1 by n + 1 grid of vertices. In the example it is using n = 5. We have (5+1) * (5+1) grid of vertices and 5 * 5 * 2 triangles. Triangles are generated as shown, cutting each grid square into 2 triangles. The mesh is stored using an indexed face format (like an OBJ file, for example). Assuming: 1. each vertex is specified by 3 floating point coordinates (the image doesn't show z-axis) 2. floating point numbers use 4 bytes of space 3. integer indices use 2 bytes of space. Suppose you need to store a mesh with n=14. How much space is used by the mesh? bytes = integer ? V Vo 1 2 3 4
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The mesh grid has n 1 x n 1 vertices For n 14 thats 14 1 x 14 1 15 x 15 225 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started