Itoo Software Forum

Author Topic: Nested Forests  (Read 1352 times)

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 890
    • iToo
Nested Forests
« on: February 18, 2018, 10:14:33 AM »
Nested forests crash max (2016) vray 3,6
Rokas
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3328
    • iToo Software
Re: Nested Forests
« Reply #1 on: February 20, 2018, 11:08:40 AM »
Please, try assigning some material to the inner FP. That solves the crash.

In FP6, the viewport materials ("FP ColorID") are not generated in render. In this case, Forest was creating a multi-sub without any material, crashing V-Ray.
I've added a fix in the code to handle the no-materials case.
Carlos Quintero
iToo Software

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 890
    • iToo
Re: Nested Forests
« Reply #2 on: February 20, 2018, 11:20:29 AM »
Thank You.
no crash, but master FP still empty without geometry:
Rokas
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3328
    • iToo Software
Re: Nested Forests
« Reply #3 on: February 20, 2018, 12:34:56 PM »
Strange, i cannot reproduce that issue. I did the following:

1) Dropped a VRayMtl from the Material Editor to "Cylinder001" (grass blade).
2) Removed the material assigned in Forest002->Geometry->Material  (if not the materials are not propagated from the inner correctly).

I'm using FP 6.0.1, Max 2016 and V-Ray 3.60.04

Carlos Quintero
iToo Software

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 890
    • iToo
Re: Nested Forests
« Reply #4 on: February 20, 2018, 08:44:04 PM »
Attached scene wont render correctly: checked in two PCS.
nor max2016 nor 2018.
Rokas
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3328
    • iToo Software
Re: Nested Forests
« Reply #5 on: February 21, 2018, 10:38:55 AM »
Ok, you assigned a VRayMtl to Forest001 (inner object), but it's not used by the outer FP because there is a material assigned in Forest001->Geometry->Material, and "Consolidate Materials" is enabled.
Specifically it has assigned the automaterial of Forest002, which is composed only by the viewport materials (FP Color ID...), because the grass blade (Cylinder001) had not any material assigned.

In FP5, it renders because the viewport materials are created on render, but in FP6 not. We had to change this behaviour, to fix an error with the interactive renders.

Please, try this:

- in Forest001->Geometry, click Material->Clear, to remove any material which is assigned.
- Repeat the process in Forest002.
- Assign some VRayMtl to Cylinder001.

Doing this, the material is propagated from the grass blade to all FP objects correctly.
Carlos Quintero
iToo Software

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 890
    • iToo
Re: Nested Forests
« Reply #6 on: February 21, 2018, 01:35:43 PM »
Thank You for thorough explanation. Good to understand.

I know some users hates popups, but this case deserve an pop up too:

"Some of Your forestpack objects has no material assigned.
It may not render as expected."
Rokas
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3328
    • iToo Software
Re: Nested Forests
« Reply #7 on: February 22, 2018, 10:33:15 AM »
Well, really that will not be necessary, because with the changes i did, now it renders correctly even without a material.

These changes will be included in the next beta.
Carlos Quintero
iToo Software

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 890
    • iToo
Re: Nested Forests
« Reply #8 on: February 22, 2018, 10:59:34 AM »
fantastic !
Rokas
iToo Software