inspired by the topic (Proof-of-concept) Interactive WebGL view with HABPanel & Sweet Home 3D! I wanted to visualize the lights and shadows dependent on the actual item state in a 3D floorplan. Thanks to lots of examples of three.js, sweethome3D Blender and this community I managed to do that.
Features:
Ligths and Temperature visualization and GUI
Window Sensor
Time of Day dependant environment
Ground Floor and 1st Floor
I made an additional file with the sweethome3d example so you can play with.
Check out the code on github: https://github.com/helpmeifyoucan/habpanel_threejs
I’m sure there is a lot of possibilities for optimization (and comments)
Hi @urban4,
probably a different version of the jquery or another lib? Please take a look again at the project in github. Another user added links to the necessary files from different sources. Maybe you can use those files instead.
Another suggestion: you could set the containerwidth & containerheight to default values (e.g. 1000) in line 139/140 & 604/605 to see if the problem still exists (the size of the model is then not fit to your screen)