Search code examples
autodesk-forgeautodesk-viewerautodesk

Texture Resize Problem into Autodesk Forge Viewer


We have some problem when we import Obj with PNG & MTL file inside the Autodesk Forge Viewer.

We expected to see this Image quality:

External Program quality

Instead the result is this one:

Forge Viewer- using the same files

We need to know how, if it's possible, to avoid the Resize of the texture inside the forge viewer

Thanks in advance,


Solution

  • I'm afraid that there's no way to configure the Model Derivative service in this regard. Textures are always resized down to - I believe - 256x256px.

    One thing you could try is modifying the material during runtime. The Forge Viewer APIs allow you to modify materials of your model elements, so you could create a new THREE.Material with your high-res texture and apply it to the corresponding element as soon as the model is loaded into the viewer.