Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: MG2644 on August 05, 2017, 11:43:00 PM

Title: Efficient Way to Add New Library
Post by: MG2644 on August 05, 2017, 11:43:00 PM
Hi, itoo forum,
I have thousands of furniture models (each furniture model is in individually separate scenes) that I want to add to forest pack library. The issue here is a lot of furniture models are consisting multiple objects(yet not grouped or attached as one entity) and I want to find a way to bring them into forest pack library without opening each file and group them one by one. I've gone through the forum, googled 3ds script for batch scene attach/grouping script but no finding yet.

Hope if anyone has time-saving tips for this situation!
Thx
Title: Re: Efficient Way to Add New Library
Post by: Michal Karmazín on August 07, 2017, 10:19:39 AM
Hi,

First let me mention, that there is very handy Import Objects... wizard, which you might find useful. You can find all detailed information about the process of library creation in our on-line reference guide (http://docs.itoosoft.com/display/FORESTPACK/Editing+a+library#Editingalibrary-Toaddingmultiple3Dobjectstoalibrary). For that work-flow, you should have multiple objects stored in one .max file.

In case you want to add models from various .max files, I would suggest you to edit the index.xml file(s) "manually". Library Browser needs to have a folder structure created with index.xml file (storing all library information needed) and thumbnails folder (containing just thumbnail images). This is created by right click on User's Libraries folder and selecting Create Library.

The Library Browser can automatically attach grouped objects into a single mesh & create a Multi/Sub-Object material by defining the "object" tag in a following way:

<object>*</object>

Please feel free to check our "Creating Libraries (http://www.itoosoft.com/tutorials/tutorial_creating_libraries.php)" tutorial covering this topic in detail.

Best regadrs,

Title: Re: Efficient Way to Add New Library
Post by: Rokas on August 09, 2017, 04:16:35 PM
The Library Browser can automatically attach grouped objects into a single mesh & create a Multi/Sub-Object material by defining the "object" tag in a following way:
<object>*</object>
In my experience, this way it wont get xrefed to scene, but merged.
Title: Re: Efficient Way to Add New Library
Post by: OJ3358 on September 11, 2017, 01:36:02 PM
Hi guys !

I have more or less the same question as Michael Karmazin and I was also wondering, after puttin all my elements in my library, I want to create preview files.
For example, I have a lot of different kind of twigs and leaves (let's say 50 of each) and I want to get a preview picture for all of them.
Is there an efficient way or a script to create a rendered preview for each of those elements ? Like a script that put one element from the library in a forest pack element, render image, save it with the same name as the object, replace the object by the next element in the library, render, save it. etc.
Title: Re: Efficient Way to Add New Library
Post by: Michal Karmazín on September 15, 2017, 04:02:38 PM
Hi,

You might find for example the "RenderEachObject (http://neill3d.com/en/3dsmax-script-render-each-object-separately)" script (or any simiar) useful for this kind of tasks.

Best regards,