Itoo Software Forum

Author Topic: BYPASS object id issue  (Read 974 times)

in3des

  • Jr. Member
  • **
  • Posts: 73
BYPASS object id issue
« 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.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1472
Re: BYPASS object id issue
« Reply #1 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?" or "Support of Obj ID through FPP?".

Actually, the easiest way is to "Instantiate" Forest object(s) needed for this render element with help of the 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 (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,

in3des

  • Jr. Member
  • **
  • Posts: 73
Re: BYPASS object id issue
« Reply #2 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 ((

in3des

  • Jr. Member
  • **
  • Posts: 73
Re: BYPASS object id issue
« Reply #3 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

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: BYPASS object id issue
« Reply #4 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.
Carlos Quintero
iToo Software

in3des

  • Jr. Member
  • **
  • Posts: 73
Re: BYPASS object id issue
« Reply #5 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...

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: BYPASS object id issue
« Reply #6 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.
Carlos Quintero
iToo Software

in3des

  • Jr. Member
  • **
  • Posts: 73
Re: BYPASS object id issue
« Reply #7 on: February 12, 2015, 01:39:07 PM »
thank you!  :)

in3des

  • Jr. Member
  • **
  • Posts: 73
Re: BYPASS object id issue
« Reply #8 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