我使用API版本6.4*更改了Forge查看器中显示的模型的视觉样式。我使用的是以下语法:
this.viewer.impl.setPostProcessParameter("style", "graphite");
this.viewer.impl.setPostProcessParameter("brightness", 0);
this.viewer.impl.setPostProcessParameter("edges", true);
当我现在使用API版本7.*时,我不能使用该语法。还有没有其他的改变视觉风格的解决方案?
谢谢
M.H.
发布于 2019-07-25 22:00:15
在v7中,非照片真实感渲染已移至扩展Autodesk.NPR
。有关更多详细信息,请参阅migration guide。
https://stackoverflow.com/questions/57203259
复制相似问题