External Textures Catalog
This topic has been viewed 36219 times and has 8 replies
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.
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.
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.
- Attachments
-
- ExternalTextureCatalog.zip
- (9.74 KiB) Downloaded 3790 times
Re: External Textures Catalog
Sounds nice, but how do I use this?
Hans
Hans
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:
in fact there can be a Texture catalog and a furniture catalog on the same sh3f.
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:
Code: Select all
name#1=Cherry
category#1=Doors
image#1=/Texturas/Muebles/cherry.jpg
width#1=64
height#1=64
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
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
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.
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.
Re: External Textures Catalog
Well, that sounds as something far too complicated for me 
But I have lots of imported textures and a tool that makes it easier to deal with them, would be very nice.
Ciao, Hans
But I have lots of imported textures and a tool that makes it easier to deal with them, would be very nice.
Ciao, Hans
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
Unfortunatelly I'm kinda short of time and I can't do it
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.
I changed the DefaultTextureCatalog class and other GUI classes.
Thank you for your suggestions.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest