I was using API version 6.4* to changed visual styles of models showed in Forge viewer. 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. Is it any other solution for change visual styles?
Thanks
MH
In v7 the non-photo realistic rendering has been moved to extension Autodesk.NPR
. See the migration guide for more details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.