Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有方程 y= x^2 + z^2,如何让三角形绘制抛物面?我想使用 WPF 3D 来实现这一点。
在 XZ 平面上生成一个 2D 网格,范围在 [-D,-D] 和 [+D,+D] 之间(D 可以是任何值,例如 10)。你可以编写一个嵌套循环来为此生成三角形,我想。
现在,在生成每个顶点 V<x,z>时,只需生成 V' 即可<x,x^2+z^2,z>。
<x,z>
<x,x^2+z^2,z>