我不太明白闪电如何在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.
更多推荐
发布评论