简体   繁体   English

如何在 Autodesk-Forge 查看器中显示材质效果?

[英]How to show materials effects into Autodesk-Forge viewer?

I am loading .rvt files into autodesk-forge viewer with some material effects like polish or satin and they display fine in Revit, but in autodesk-forge doesn't work.我正在将 .rvt 文件加载到具有抛光或缎面等材料效果的 autodesk-forge 查看器中,它们在 Revit 中显示良好,但在 autodesk-forge 中不起作用。 img example图片示例

Is there any way to achieve this?有没有办法实现这一目标? maybe with another configuration in revit or autodesk-forge can't show this kind of effects?也许在 revit 或 autodesk-forge 中使用其他配置无法显示这种效果?

Thanks u all.谢谢大家。

I'm afraid there's no straightforward way to render Revit models like this in Forge Viewer.恐怕没有直接的方法可以在 Forge Viewer 中渲染这样的 Revit 模型。 The viewer does support high quality (PBR) materials and shaders, but it's up to the Model Derivative service to specify these materials when converting your designs.查看器确实支持高质量 (PBR) 材质和着色器,但在转换设计时指定这些材质取决于 Model Derivative 服务。 And as far as I know, the translation currently outputs PBR materials only for designs coming Fusion 360. Try going to https://viewer-rocks.autodesk.io and look at the materials of the "Fusion Race Car" model.据我所知,翻译目前仅输出 Fusion 360 设计的 PBR 材料。尝试访问https://viewer-rocks.autodesk.io并查看“Fusion Race Car”模型的材料。

Alternatively, you could apply custom shaders or materials to your Revit model inside Forge Viewer: https://forge.autodesk.com/blog/custom-shader-materials-forge-viewer .或者,您可以将自定义着色器或材质应用于 Forge Viewer 中的 Revit 模型: https : //forge.autodesk.com/blog/custom-shader-materials-forge-viewer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM