Argentina
Joined: Sep 8, 2009
Post Count: 40
Status:
Offline
External Textures Catalog
Another fine feature would be to have an external textures catalog, like the furniture catalog. It is not too difficult to implement. Again, had I have the time, I'll send it to Emanuel.
Argentina
Joined: Sep 8, 2009
Post Count: 40
Status:
Offline
Re: External Textures Catalog
As I promessed, this files include support for external Texture Catalogs.(read the code comments) Also, in File UserPreferences there is a fix so Vista and next versions use the APPDATA file for per user dada. As Puybaret pointed me, this can lead to uncompatibilities with previous version, so use it at your own risk.
---------------------------------------- ExternalTextureCatalog.zip
(9976 bytes)
(Download count: 1789)
(FileUserPreferences.java and DefaultTextureCatalog.java)
Argentina
Joined: Sep 8, 2009
Post Count: 40
Status:
Offline
Re: External Textures Catalog
copy your texture catalog to the same directory where furniture catalogs lie. The texture catalog is mostly the same as the furniture catalog: A jar (zip) file where there is a PluginTexturesCatalog.properties (and its localized versions) with the same structure as the built-in texture catalog:
Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status:
Offline
Re: External Textures Catalog
Newbie:
Okay, I use the Linus variety of SH3D. I unzipped the file into .eteks/sweethome3d/furniture and there are two *.java files there now. How do I proceed? Maybe you can help me further?
Muchas gracias por su ayuda :-)
Hans
----------------------------------------
Hans
Argentina
Joined: Sep 8, 2009
Post Count: 40
Status:
Offline
Re: External Textures Catalog
well, it´s not that easy. I assumed you had the source code (sorry) you need to have the source code, overwrite these files and build the jar. I'll publish a FileUserPreferences.java without the Vista fix to isolate the external texture feature.
Also I'll publish this enhancement on the developpers forum.
Argentina
Joined: Sep 8, 2009
Post Count: 40
Status:
Offline
Re: External Textures Catalog
I posted it on the developpers forum. Maybe someone can build and share the jar so others can use it. Unfortunatelly I'm kinda short of time and I can't do it
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: External Textures Catalog
alied, I added support for SH3T files in the version 2.3 Beta. I changed the DefaultTextureCatalog class and other GUI classes. Thank you for your suggestions.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator