Forge Viewer闪电设置(Forge Viewer lightning settings)

编程入门 行业动态 更新时间:2024-10-28 04:20:23
Forge Viewer闪电设置(Forge Viewer lightning settings)

我不太明白闪电如何在Forge Viewer中工作。

在查看器中设置的闪电看起来并不像我在Revit中设置的那样。 我上传rvt后在观察器中显示的闪电非常明亮,即使我已经在Revit中设置了暗设置的太阳。

我是用户环境和渲染的这些设置:

viewer.setBackgroundColor(24, 34, 41, 24, 34, 41); viewer.setEnvMapBackground(false); viewer.setQualityLevel(true, true); viewer.setGhosting(true); viewer.setGroundShadow(true); viewer.setGroundReflection(true); viewer.setProgressiveRendering(true); viewer.prefs.tag('ignore-producer');

有什么我想念的吗? 目前闪电很明亮,目前我找不到影响它的方法。

I can't quite understand how the lightning works in the Forge Viewer.

The lightning that gets set in the viewer doesn't look even close to what I have set in Revit. The lightning that shows in the viewer after I upload the rvt is very bright, even though I have turned of the sun at set dark settings in Revit.

I am user these settings for the Environment and rendering:

viewer.setBackgroundColor(24, 34, 41, 24, 34, 41); viewer.setEnvMapBackground(false); viewer.setQualityLevel(true, true); viewer.setGhosting(true); viewer.setGroundShadow(true); viewer.setGroundReflection(true); viewer.setProgressiveRendering(true); viewer.prefs.tag('ignore-producer');

Is there anything I am missing? Currently the lightning is way to bright and currently I can't find a way to influence it.

最满意答案

对由此造成的不便深表歉意。

遗憾的是,Model Derivative API仅在我知道的情况下从源模型转换几何和属性,当前将忽略灯光配置,Forge Viewer将使用viewer3d.js的预定义灯光。

Apologizing for any inconvenience caused.

Unfortunately, Model Derivative API translates geometries and properties from the source model only as I know, the light configurations will be ignored currently, and Forge Viewer will use the predefined lights in the viewer3d.js.

更多推荐

本文发布于:2023-07-28 19:10:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1308225.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:闪电   Viewer   Forge   lightning   settings

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!