在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/云計算  網(wǎng)絡(luò)安全/ Autodesk Forge Viewer修改默認(rèn)渲染設(shè)置

Autodesk Forge Viewer修改默認(rèn)渲染設(shè)置

viewer默認(rèn)的渲染樣式和設(shè)置里的渲染樣式都不太適合我的需求,有什么辦法能設(shè)置viewer的默認(rèn)渲染效果嗎?比如下面兩張圖,第一張是Autodesk Forge Viewer的默認(rèn)渲染效果,第二張圖是其他軟件在瀏覽器的渲染效果,我想設(shè)置Autodesk Forge Viewer的默認(rèn)效果和第二張圖一樣的效果,該怎么設(shè)置呢?
第一張圖:Autodesk Forge Viewer的渲染效果
第二張圖:其他軟件在瀏覽器上的渲染效果

回答
編輯回答
背叛者

在viewer里面找到了相關(guān)的代碼,可在這里進(jìn)行修改設(shè)置,也可自己自定義
{

        name: "Sharp Highlights", // localized in viewer-environments.loc.json
        path: "SharpHighlights",
        type: "logluv",
        tonemap: 1,
        // illuminance currently is not used elsewhere in LMV, its effect is folded into E_bias.
        //illuminance: 1000.0,
        E_bias: -9.0, // EV 9.526, 1000.0 lux (target)
        directLightColor: [0.5, 0.5, 0.5],
        ambientColor: [0.25 / 8, 0.25 / 8, 0.25 / 8],
        lightMultiplier: 0.0,
        lightDirection: [0.5, -0.2, -0.06],
        bgColorGradient: bg["Photo Booth"],
        darkerFade: true,
        rotation: 0.0
    },
2017年3月18日 10:13