Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: in3des on February 09, 2015, 09:53:32 PM

Title: BYPASS object id issue
Post by: in3des on February 09, 2015, 09:53:32 PM
Hi,
I red some forum threads and it came out there is no support for vray g-buffer object id. All different objects used inside forest are the same color for Vray render element pass ...
If forest cannot support native vray ID's - is it possible to generate at least some random color map for each forest object? Making separate forest object for each plant - is not a very good idea...
Thx.
Title: Re: BYPASS object id issue
Post by: Michal KarmazĂ­n on February 10, 2015, 10:09:31 AM
Hi,

Well, there are already a few threads about this topic on our forum, like "G-Buffer object ID is not supported? (http://forum.itoosoft.com/index.php?topic=2341.0)" or "Support of Obj ID through FPP? (http://forum.itoosoft.com/index.php?topic=1761.0)".

Actually, the easiest way is to "Instantiate" Forest object(s) needed for this render element with help of the Forest Tools (http://docs.itoosoft.com/display/FORESTPACK/Forest+Tools) utility.

"... is it possible to generate at least some random color map for each forest object?"

As the Material for each Item on the Geometry list can be assigned manually (http://docs.itoosoft.com/display/FORESTPACK/Add+Geometry#AddGeometry-Toassignamaterialtoanobject:) (to not inherit the Custom Object's one), you can get desired result this way if wanted - by assigning "simple color materials". Just please note, these materials are visible to the "beauty" (RGB color) pass, so to get useful result the render engine should be adjusted properly - switch off Lightning / GI etc.

Hope that helps a bit.

Kind regards,
Title: Re: BYPASS object id issue
Post by: in3des on February 10, 2015, 07:48:22 PM
well
as far as convert to instances not a good solution for most cases - assigning material means to be an extra manipulation and extra render... and it seems to be a problem make 5 renders and get 5 extra passes automatically...
I hoped to find a solution with some extratexture pass...

P.S. I tried to make two scene states with different materials applied to geometry
seems like forest do not update materials before rendering... so this is not working ((
Title: Re: BYPASS object id issue
Post by: in3des on February 12, 2015, 09:49:25 AM
hi again...
I see there is no answer so far (and solution)
is it possible at least to make forest to update materials for each geometry before rendering?
thx
Title: Re: BYPASS object id issue
Post by: iToo on February 12, 2015, 11:23:10 AM
Hi, did you apply the new material directly to the Forest object, or using Geometry->Material parameter ?
Forest updates their materials before rendering, but always taking them from the Geometry->Material slot, except if "Consolidate Materials" is off.
Title: Re: BYPASS object id issue
Post by: in3des on February 12, 2015, 12:42:46 PM
Hi
I applied new material to geometry instances and saved it to scene state.
Looks like forest does not catch that change after loading scene state...
Title: Re: BYPASS object id issue
Post by: iToo on February 12, 2015, 01:17:49 PM
Ok, i see. Theorically scene states works transparently with the plugins, but obviously something is not working well.
I've added the problem to our to-do list. We'll also try to include an easier mode to render by color IDs.
Title: Re: BYPASS object id issue
Post by: in3des on February 12, 2015, 01:39:07 PM
thank you!  :)
Title: Re: BYPASS object id issue
Post by: in3des on February 25, 2015, 09:58:46 PM
hi
I found some walkaround... not a perfect solution but still ok
forest do keep Material IDs