o3d (webgl) 投影的最大远平面是多少?

发布于 2024-10-08 20:25:52 字数 550 浏览 1 评论 0原文

你好,

我正在使用以下 javascript...

  g_viewInfo.drawContext.projection = g_math.matrix4.perspective(
      g_math.degToRad(30), // 30 degree fov.
      g_client.width / g_client.height,
      1,                  // Near plane.
      9999);              // Far plane.

谁能告诉我 o3d (webgl) 投影的最大远平面是多少?

我尝试过使用 5000 和 9999,但一切似乎仍然在同一点消失。我尝试在 SDK 的当前文档中找到此信息。

如此弱的限制是否有原因?
是否有可能破解最大值?

Hi,

I am using the following javascript...

  g_viewInfo.drawContext.projection = g_math.matrix4.perspective(
      g_math.degToRad(30), // 30 degree fov.
      g_client.width / g_client.height,
      1,                  // Near plane.
      9999);              // Far plane.

Can anyone tell me what the maximum far plane of an o3d (webgl) projection is?

I have tried using 5000 and 9999 but everything still seems to disappear at the same point. I have tried to locate this information in the SDK's current documentation.

Is there a reason for such a weak limitation?
Is it possible to hack the max value?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

傾城如夢未必闌珊 2024-10-15 20:25:52

与远平面一起玩近平面并解决了距离问题

Played with the near plane in conjunction with the far plane and got the distancing problems sorted

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文