开发者

What's the maximum far plane of an o3d (webgl) projection?

开发者 https://www.devze.com 2023-02-01 04:32 出处:网络
Hi, I am using the following javascript... g_viewInfo.drawContext.projection = g_math.matrix4.perspective(

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)开发者_JS百科;              // 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?

What's the maximum far plane of an o3d (webgl) projection?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消