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: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 6328 times and has 7 replies Next Thread
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Utility for creating SH3F libraries

I've created a simple program, that allows user to make SH3F file from a folder with models. It sorts model automatically, creates PluginFurnitureCatalog.properties file and compresses it all to ZIP archive with SH3F file extension. Now it is Russian lang only, but soon I will make multilanguage support and translate it into English.
My homesite is https://sites.google.com/site/sh3fcreator/ (it's Russian too), and download link is https://sites.google.com/site/sh3fcreator/hom...ip?attredirects=0&d=1
----------------------------------------
My homepage
[Jan 13, 2010, 11:07:14 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

English version available now!
https://sites.google.com/site/sh3fcreator/hom...ip?attredirects=0&d=1
Download it, test, write your comments here or on progs' website.
----------------------------------------
My homepage
[Jan 14, 2010, 10:15:36 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

Nice and easier to use in English (at least for me)! wink

I tried your program with the content of Contributions library, and it worked but miserably only partially. As OBJ files and PNG files are in the same directory, something got wrong and some pieces in the SH3F file were incorrect.
Then, I separated the OBJ and PNG files in two different directories and it worked. It's funny to see all the objects in a 50x50x50 cm box! smile

By the way, I started to develop a SH3F editor too a few weeks ago. Don't be mad after me, I couldn't guess you would program that kind of tool too.
Maybe, I should have be more explicit in that thread, but I couldn't speak too much about that editor in november 2009 because I didn't start to program it yet.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 15, 2010, 7:48:10 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

Yes, models and prewiews must be in different directories, but the next version will support common folder for models and pictures. It's explained on the prog's webpage, but only Russian lang now :)

"50x50x50 cm box" - I'm a newbie in the 3D programming and unfortunately I don't know how to recognize actual models' dimensions, make a prewiew etc. I'm planning to realize this features, but I don't have any ideas now :( It would be really nice if you can give some hints about...

"I started to develop a SH3F editor too" so, users may have some choice ;) I think, you will use Java - and your prog will be crossplatform then. My prog is inflexibly tied to Windows + .NET
----------------------------------------
My homepage
[Jan 15, 2010, 9:05:50 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

"50x50x50 cm box" - I'm a newbie in the 3D programming and unfortunately I don't know how to recognize actual models' dimensions, make a prewiew etc. I'm planning to realize this features, but I don't have any ideas now :( It would be really nice if you can give some hints about...

The getBounds method could have helped you but as you program in C#, you won't be able to reuse the classes of Sweet Home 3D. sad

I think that for OBJ files, you can guess easily the dimensions of the model: compute the min vertex and the max vertex by parsing the lines starting with a "v" and followed by 3 numbers (x, y, z) in the OBJ text file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 15, 2010, 10:02:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

"compute the min vertex and the max vertex" I think this will do for 3DS also. I will try :)
----------------------------------------
My homepage
[Jan 16, 2010, 7:05:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

Anybody knows some implementation of OpenGL wrapper working under Windows 7 / VisualStudio 2008 ???! SharpGL and CsGL don't work properly :-(
----------------------------------------
My homepage
[Jan 25, 2010, 3:52:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MrME
Newbie
Member's Avatar

Russia
Joined: Jan 9, 2010
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Re: Utility for creating SH3F libraries

New version 0.15 released.
Changelog:

- previews are filtered by extension (only *.PNG allowed, letter case independent). Thus, you can place them in the same folder as models.
- OBJ models' size is calculated automatically. Other models are still displayed 50*50*50
- You can scale OBJ models if they are too small. Turn on the "Scale models" checkbox and enter the desired size of the model's smallest dimension. It will be scaled automatically (proportions are saved)
- English translation fully finished
- The prog can remember last opened filders and user settings now
- Two modes of operation: "Models without preview are forbidden" - this is, the prog creates two sorted by name lists of files (one for models, other for previews) and the first preview in the list is associated to the first model etc. All models must have a preview in this model. If you select "Models without preview are allowed", for every model prog will associate a preview file with the same name (for Model_1.obj - Model_1.png etc.). If such filename does not exist, model will be added to library without preview.


Program page moved to my homepage http://sites.google.com/site/akorostelin/

Direct download http://sites.google.com/site/akorostelin/sh3f...ip?attredirects=0&d=1
----------------------------------------
My homepage
[Feb 14, 2010, 10:44:26 AM] 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 2024 Space Mushrooms - All rights reserved