Thanks @labris as you noticed glasses are different: on sandbox is darker. So it will be not possible to make the same without editing materials?
There is nothing impossible with Babylon.js. Here is example with the less transparent glass: BabylonJS Viewer Progress Bar with Overlay Image
(changed alpha property from 0.9 to 0.95; value 1 = non transparent).
From my point of view, would be better to correct this at model side (as well as wooden texture which is too big and applied with no given dimensions).
You can disable the rendering pipeline with this line:
BabylonViewer.viewerManager.getViewerById("babylon-viewer").sceneManager.defaultRenderingPipelineEnabled = false;
Applied on this link, you switch from:
to:
And for this link, from:
to:
Thanks @Evgeni_Popov I was trying to implement it on my development but getting error
babylon.viewer.js:3606 Uncaught TypeError: r.push is not a function
and model is not loading
@Alexander_Domashev I would suggest to make simple HTML page with your model first.
And then, when it will work, use this code with Wordpress.
Your Wordpress installation has some JS conflicts so it is not the best place to debug.
Thanks @labris I have created html file, getting another error now
From the console error seems that you don’t provide valid model URL.
Here is the simplified version with lights disposed and glass blacked - BabylonJS Viewer Progress Bar with Overlay Image
Hello @labris , sorry but I still having trouble to integrate 3dmodel on website. After I have exported model from sandbox it is looking different on website, how I can make model looks the same as on sandbox.
This is sandox - 2021-03-18_13-35-27.png
This is website - 2021-03-18_13-36-49.png
Website showing background and texture looks different.
You may try to disable additional lights and rendering pipeline for Viewer.
It is not possible just setup model in sandbox, export it and import on website with same settings? As I’m not familiar with modeling script.
There are some environment and light conditions which cannot be saved in GLTF/GLB format. Render (and the final visual result) depends on them…
Ok, can it be save in other format and render on website. Just uploading the file and not touching any configurations
Hello @labris so is it possible to export model from sandbox and just upload it to the website and model will look the same as on sandbox?