Itoo Software Forum

Author Topic: Xfrog catalog and vrayproxy  (Read 1444 times)

UU3831

  • Newbie
  • *
  • Posts: 4
Xfrog catalog and vrayproxy
« on: November 17, 2015, 02:48:43 AM »
Hi,

I've been trying to go in the xfrog libraries and vrayproxy the trees as importing the full mesh all the time (which is what forest does if you import xfrog trees from the library) is very heavy !! If you bring 3-4 trees + a few bushes and flowers then your file become almost 1go when the scene is actually not that big.
The problem is that when i proxy the object in the catalog file and add trees through forest pack then my vrayproxy tree is meshed which only import the proxy preview as a mesh instead of my actual proxy...

Is there a way to change that option ?

Thanks !!

Chris

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3094
    • iToo Software
Re: Xfrog catalog and vrayproxy
« Reply #1 on: November 17, 2015, 09:42:25 AM »
Hi, Forest lets you to import the catalog items as XRefs, insted merging them in the scene. This is a good alternative to keep low the scene's size, without using proxies.

Unfortunately this is not possible with XFrog, because their plants are stored as a group of objects, instead an unique mesh (which is the format expected by Forest). So, all library items which are not a single mesh, are attached together once they are imported into the scene.

I've done a quick test using a proxy as library item, and it's imported corrrectly. Would it be possible that you used a group of proxies for your library, instead an unique object, and that is causing the problem ?
Carlos Quintero
iToo Software

UU3831

  • Newbie
  • *
  • Posts: 4
Re: Xfrog catalog and vrayproxy
« Reply #2 on: November 17, 2015, 03:24:18 PM »
Thanks for your quick reply !

I meshed the file as a single object so as far as I understand it should be merged directly as a proxy from the library...

Any other ideas ?

Thanks !

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3094
    • iToo Software
Re: Xfrog catalog and vrayproxy
« Reply #3 on: November 17, 2015, 04:30:23 PM »
Hi, please check if the name of the object in the library style is correct. It should point to the proxy's object name.
By default XFrog libraries uses '*', which import and merge all objects in the scene. So in this case the library cannot modified just editing the max files, it's necessary to modify the catalog properties as well.

If you modify the catalog, please be sure to create a copy in a separated folder. Default libraries would be overwritten by updates or reinstallations of XFrogCatalog.
« Last Edit: November 17, 2015, 04:38:12 PM by iToo »
Carlos Quintero
iToo Software

UU3831

  • Newbie
  • *
  • Posts: 4
Re: Xfrog catalog and vrayproxy
« Reply #4 on: November 17, 2015, 05:00:18 PM »
I'm not sure where I can check the name of the object in the library style as the Xfrog catalog is not editable from the ForestPack library browser.
Do you happen to know where the xfrog catalog definition is actually stored ?

Thanks !

Chris

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3094
    • iToo Software
Re: Xfrog catalog and vrayproxy
« Reply #5 on: November 17, 2015, 05:44:44 PM »
Standard libraries cannot be edited directly, because the reason exposed in my previous post (it would be overwritten). I didn't know if you were editing the original catalog or a copy.
In any case, please do this:

1) Create one Forest object and open the Library Browser from the "Modify" panel (some library operations are not available when open from the "Create" panel).
2) Create a new folder in the "User's libraries" branch (left panel). Name it as you like.
3) Drag and Drop the library you want to edit into the new folder.
4) Select it and double click one of the items, to define the path where XFrog scenes are stored (same as done with XFrogCatalog).

Now, the library is editable. Just edit each item (right click->Properties) and replace the '*' at "3D Model->Object" with the name of the proxy.

If you prefer it, instead modifying each item from the library, it's possible to edit them directly in the "index.xml" file. It can be opened with a text editor. The field to change is <object>*</object>.
To locate the index.xml, select the library in the left panel, and use right click->"Open in shell". That will open the folder where it's stored.

I hope that helps.
Carlos Quintero
iToo Software

UU3831

  • Newbie
  • *
  • Posts: 4
Re: Xfrog catalog and vrayproxy
« Reply #6 on: November 17, 2015, 05:46:26 PM »
Thanks guys !!!
Don't worry about my previous message I found it.

If anyone is wondering this is the location : C:\Program Files (x86)\Itoo Software\XFrogPlants Catalog\lib

Thanks !

Chris