Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 9
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 12142 times and has 8 replies Next Thread
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Nov 23, 2009, 8:36:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
Attachment ExternalTextureCatalog.zip (9976 bytes) (Download count: 1774) (FileUserPreferences.java and DefaultTextureCatalog.java)

[Dec 23, 2009, 3:54:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3948
Status: Offline
Reply to this Post  Reply with Quote 
Re: External Textures Catalog

Sounds nice, but how do I use this?

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Dec 27, 2009, 6:51:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
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:

name#1=Cherry
category#1=Doors
image#1=/Texturas/Muebles/cherry.jpg
width#1=64
height#1=64


in fact there can be a Texture catalog and a furniture catalog on the same sh3f.
[Dec 27, 2009, 8:28:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3948
Status: Offline
Reply to this Post  Reply with Quote 
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

new website - under constuction
hansdirkse.info
[Dec 28, 2009, 7:27:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Dec 28, 2009, 8:24:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3948
Status: Offline
Reply to this Post  Reply with Quote 
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
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Dec 29, 2009, 12:44:15 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
alied
Member
Member's Avatar

Argentina
Joined: Sep 8, 2009
Post Count: 40
Status: Offline
Reply to this Post  Reply with Quote 
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
[Dec 29, 2009, 8:18:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Feb 22, 2010, 10:27:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved