Print at Dec 16, 2025, 11:25:54 AM

Posted by Puybaret at May 28, 2014, 8:12:41 PM
Re: Web Viewer controls
One of my concern in introducing a level navigation system is that I fear it would be too complicate for the end user to use it in some situations. Keep in mind that the viewer targets generally a simple web user who doesn't know anything about Sweet Home 3D and its multi level system. He would probably understand easily how to go from one level to the other with a combo box, but as soon as he would change the elevation of the point of view himself, he could easily get lost.

With this in mind, I had a new idea about level management in the viewer, which would be cheaper to program: I could add parameters to the applet that would select a given level or a stored point of view. Thus, if you want to view the 2 levels of the same .sh3d file, you could show two viewers in the page that would use the same .sh3d file, avoiding to download a second .sh3d file.
An other idea would be let the web page programmer cite the keys he wants to associate to levels or stored points of view (for example, L could be associated to a point of view named "Living room"). I see two advantages for this solution: it's not difficult to program and would oblige the web developer to describe these associations himself in a quick guide of the page showing the viewer. What do you think?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator