Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Doing Autodesk Forge model with c#. Run in to problem:
THREE.WebGLRenderer 71

hammer.js:1 THREE.WebGLRenderer 71

Can't use multiple render targets. Falling back to two passes. 36061

Error while processing SVF:

APIs | Autodesk Forge[^]

codeprojectForge.PNG - Google Drive[^]

What I have tried:

Googling and lookinh to the manual of this company did not helped:
APIs | Autodesk Forge[^]

codeprojectForge.PNG - Google Drive[^]


I guess the SOLUTION is:

In the Web.config add:

<system.webServer>
    <handlers>
        <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
        <remove name="OPTIONSVerbHandler" />
        <remove name="TRACEVerbHandler" />
        <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <staticContent>
        <mimeMap fileExtension=".svf" mimeType="application/octet-stream" />
        <mimeMap fileExtension=".pf" mimeType="application/octet-stream" />
        <mimeMap fileExtension=".pack" mimeType="application/octet-stream" />
    </staticContent>
</system.webServer>
Posted
Updated 16-Nov-22 14:22pm
v3
Comments
CHill60 16-Nov-22 5:24am    
What is your actual question?

On the AutoDesk Forge Support page[^]:
The Forge support team monitors StackOverflow for, and will answer, all questions marked with Forge-related tags.
In many cases, members of the Forge developer community will also give you advice.


So that's where you're going to have to ask your question.
 
Share this answer
 
Comments
Graeme_Grant 21-Nov-22 5:17am    
5'd
Just add these 3 lines in the web.config :

<staticContent>
    <mimeMap fileExtension=".svf" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".pf" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".pack" mimeType="application/octet-stream" />
</staticContent>



as in the exemple:

<system.webServer>
    <handlers>
        <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
        <remove name="OPTIONSVerbHandler" />
        <remove name="TRACEVerbHandler" />
        <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <staticContent>
        <mimeMap fileExtension=".svf" mimeType="application/octet-stream" />
        <mimeMap fileExtension=".pf" mimeType="application/octet-stream" />
        <mimeMap fileExtension=".pack" mimeType="application/octet-stream" />
    </staticContent>
</system.webServer>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900