[英]Forge Viewer - Visual Styles
I was using API version 6.4* to changed visual styles of models showed in Forge viewer. 我使用的API版本6.4 *更改了Forge查看器中显示的模型的视觉样式。 I was using this syntax:
我正在使用以下语法:
this.viewer.impl.setPostProcessParameter("style", "graphite");
this.viewer.impl.setPostProcessParameter("brightness", 0);
this.viewer.impl.setPostProcessParameter("edges", true);
And when I now use API version 7.*, I can´t use that syntax. 现在,当我使用API版本7. *时,我将无法使用该语法。 Is it any other solution for change visual styles?
是否有其他解决方案来更改视觉样式?
Thanks 谢谢
MH MH
In v7 the non-photo realistic rendering has been moved to extension Autodesk.NPR
. 在v7中,非照片真实渲染已移至扩展名
Autodesk.NPR
。 See the migration guide for more details. 有关更多详细信息,请参见迁移指南 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.