I have been attempting to install SweetHome3d to my local server (running apache) so I can share it between my various machines on my internal network. I want it to run in the browser window, so I'm not using Java Web Start.
I successfully compiled the applet, and it starts just fine in the browser. But (as expected), there are no furniture models or textures.
Per
this thread I modified furnitureCatalog.zip, additionalFurnitureCatalog.zip and texturesCatalog.zip to remove references to the SweetHome3D server, and replaced it with the address to mine.
On my server, the main direcotry that everything is in is
http://192.168.0.100/sweethome, and the applet files are located at
http://192.168.0.100/sweethome/lib.
I placed the three zip files mentioned above in a directory called "online" inside the main sweethome3d directory (so
http://192.168.0.100/sweethome/online
Here's a example entry from the PluginFurnitureCatalog.properties file from furnitureCatalog.zip:
Code: Select all
name#1=Bed 140x190
category#1=Bedroom
icon#1=http://192.168.0.100/sweethome/models/bed140x190.png
model#1=jar:http://192.168.0.100/sweethome/models/bed140x190.zip!/bed140x190.obj
width#1=158
depth#1=208
height#1=70
movable#1=true
doorOrWindow#1=false
Inside of the SweetHome3DApplet.html, I added the following:
Code: Select all
var parameters = {java_arguments:"-Xmx512m -Dcom.eteks.sweethome3d.deploymentInformation=Online",
showMemoryStatus:"true",
userLanguage:"en",
furnitureCatalogURLs:"online/furnitureCatalog.zip online/additionalFurnitureCatalog.zip",
texturesCatalogURLs:"online/texturesCatalog.zip",
listHomesURL:"",
readHomeURL:"",
writeHomeURL:""
};
I then used wget to download all the models from the SweetHome3D server, and placed them in the
http://192.168.0.100/sweethome/models directory, making sure to keep the directory structure intact (i.e. some models are in the contributions directory, etc). I did the same with the textures (putting them in the
http://192.168.0.100/sweethome/textures directory).
Based on the instructions in the other thread, it would seem that's all I need to do. And yet I still have no textures or furniture in the applet.
Am I missing something?