|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: How to import furniture in Applet » » » » Post: Re: How to import furniture in Applet |
Print at Dec 17, 2025, 5:53:25 PM |
| Posted by ndhduong at Jun 20, 2012, 11:42:06 AM |
|
Re: How to import furniture in Applet I use source v3.5 downloaded from here (3.5 src ) I tried to run the code locally as an applet within Eclipse, and v3.5 source is a little different from what is explained in this post: 1.There is no zip files for catalog or texture. All the models and textures are individual files in io/resources folder. The .properties files are located in io folder 2.Parameters has to be set in Run Configurations option of Eclipse So I followed the instructions and did the following: 1.Change path for models and textures in .properties files, as icon#1=./resources/bed140x190.png model#1=./resources/bed140x190.obj2.Set parameters as followed: Name:pluginFurnitureCatalogURLs Value:"./io/" Name:pluginTexturesCatalogURLs Value:"./io/" However, the applet run without any models on the top left section. I have intentionally changed the path for models to a wrong one then Eclipse produced error of "Unknown resource", which means the paths I used above should be processed properly. About the parameters, I have tried both relative and absolute path (C:/...) but none worked. Please give me some inputs. Thank you |
|
|
Current timezone is GMT Dec 17, 2025, 5:53:25 PM |