• <small id='8YLTq'></small><noframes id='8YLTq'>

  • <legend id='8YLTq'><style id='8YLTq'><dir id='8YLTq'><q id='8YLTq'></q></dir></style></legend>

        <bdo id='8YLTq'></bdo><ul id='8YLTq'></ul>
      1. <i id='8YLTq'><tr id='8YLTq'><dt id='8YLTq'><q id='8YLTq'><span id='8YLTq'><b id='8YLTq'><form id='8YLTq'><ins id='8YLTq'></ins><ul id='8YLTq'></ul><sub id='8YLTq'></sub></form><legend id='8YLTq'></legend><bdo id='8YLTq'><pre id='8YLTq'><center id='8YLTq'></center></pre></bdo></b><th id='8YLTq'></th></span></q></dt></tr></i><div id='8YLTq'><tfoot id='8YLTq'></tfoot><dl id='8YLTq'><fieldset id='8YLTq'></fieldset></dl></div>

      2. <tfoot id='8YLTq'></tfoot>

        在 OpenGL 中可视化 4D 对象

        时间:2023-09-18

          <small id='c8TN9'></small><noframes id='c8TN9'>

            • <tfoot id='c8TN9'></tfoot>
                <tbody id='c8TN9'></tbody>
            • <legend id='c8TN9'><style id='c8TN9'><dir id='c8TN9'><q id='c8TN9'></q></dir></style></legend>
                <bdo id='c8TN9'></bdo><ul id='c8TN9'></ul>
                <i id='c8TN9'><tr id='c8TN9'><dt id='c8TN9'><q id='c8TN9'><span id='c8TN9'><b id='c8TN9'><form id='c8TN9'><ins id='c8TN9'></ins><ul id='c8TN9'></ul><sub id='c8TN9'></sub></form><legend id='c8TN9'></legend><bdo id='c8TN9'><pre id='c8TN9'><center id='c8TN9'></center></pre></bdo></b><th id='c8TN9'></th></span></q></dt></tr></i><div id='c8TN9'><tfoot id='c8TN9'></tfoot><dl id='c8TN9'><fieldset id='c8TN9'></fieldset></dl></div>
                  本文介绍了在 OpenGL 中可视化 4D 对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  您是否知道有任何积极开发的 C/C++ 库可以将一堆(最好是大量)4D 顶点投影回 3D 空间,这些顶点相对于某个任意的4D 相机"投影矩阵和输出我可以将常规 3D 顶点输入 OpenGL 以进行硬件加速可视化?我还需要能够在 4D 空间中执行标准转换(平移、沿所有 4 个轴旋转和统一缩放).

                  解决方案

                  以下是一个糟糕的答案(因为我绝不是该主题的专家),但我决定快速浏览一下并提出本论文:http://steve.hollasch.net/thesis/#chapter4>

                  将 4D 对象投影到 3 空间,正如您所期望的,是 3D 到 2 空间的投影的简单扩展,上面的论文演示了从 4D 到 2 空间的不同类型的投影.代码示例是用 C 语言编写的,所以应该很容易理解.

                  Do you know of any, actively developed, C/C++ library that can take a bunch (preferably a large amount) of 4D vertices, project them back into 3D space with respect to some arbitrary "4D camera" projection matrix and output regular 3D vertices that I could feed into OpenGL for hardware accelerated visualisation? I'd also need the ability to perform standard transformations in 4D space (translation, rotation along all 4 axes and uniform scaling).

                  解决方案

                  The following is a poor answer (since I am by no means an expert on the topic), but I decided to take a quick peek around and came up with this thesis: http://steve.hollasch.net/thesis/#chapter4

                  Projection of a 4D object into 3-space is, as you would expect, a simple extension on the projection of 3D into 2-space, and the above thesis demonstrates different kinds of projection from 4D to 2-space. The code samples are in C, so it should be easy to follow.

                  这篇关于在 OpenGL 中可视化 4D 对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在类中使用 OpenGL glutDisplayFunc 下一篇:OpenGL 对象的 RAII 包装器

                  相关文章

                  最新文章

                    <bdo id='hlO9d'></bdo><ul id='hlO9d'></ul>
                1. <legend id='hlO9d'><style id='hlO9d'><dir id='hlO9d'><q id='hlO9d'></q></dir></style></legend>
                  <i id='hlO9d'><tr id='hlO9d'><dt id='hlO9d'><q id='hlO9d'><span id='hlO9d'><b id='hlO9d'><form id='hlO9d'><ins id='hlO9d'></ins><ul id='hlO9d'></ul><sub id='hlO9d'></sub></form><legend id='hlO9d'></legend><bdo id='hlO9d'><pre id='hlO9d'><center id='hlO9d'></center></pre></bdo></b><th id='hlO9d'></th></span></q></dt></tr></i><div id='hlO9d'><tfoot id='hlO9d'></tfoot><dl id='hlO9d'><fieldset id='hlO9d'></fieldset></dl></div>

                  <small id='hlO9d'></small><noframes id='hlO9d'>

                      <tfoot id='hlO9d'></tfoot>