Print at Jan 30, 2026, 7:45:14 PM

Posted by Puybaret at Sep 2, 2024, 8:36:33 AM
Re: Export to HTML5 plug-in - Bug
Strange, I tried again the activateCameraSwitchKey parameter and it seemed to work on my side. When set to false, pressing the space bar has no effect.

About deformations in the viewer, you can already modify the transformations of a piece of furniture at screen in a animation for example controlled with a call to setInterval JavaScript function.
The transformations array requested in setModelTransformations method must contain instances of Transformation class, and the easiest way to create such objects is to deform an object in Sweet Home 3D and retrieve the matching transformation values in the <transformation> tags of its saved Home.xml entry.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator