I'm trying to figure out how to get the textured model displayed by default, and set earth controls as the default, if anyone can provide any clues. I'm not a JavaScript expert by any means, I've found a few things that seemed relevant but haven't panned out.
Change default settings for 3D viewer
4 Replies
Displaying the textured model by default when sharing a link, or just when opening 3D view from the dashboard?
Controls are currently set to a default. You would need to change the javascript.
Both, ideally. I'm trying to figure out what I need to change in the javascript, going to poke around some more.
When sharing a link, if you toggle the "Textured Model" checkbox first, before opening the Share panel, the link will have a "?t=mesh" appended at the end of the shared URL, which will automatically load the textured model by default, e.g. https://cloud1.webodm.net/public/task/329b1d24-826e-4cbf-a220-2e19be0349e1/3d/?t=mesh
That indeed works, thanks!
Need more help?
This discussion happened in the WebODM community Discord. Join and ask your own question.
Join View Original ThreadThis page mirrors a public discussion from the WebODM Discord. How to request a removal.