Itoo Software Forum

Author Topic: Bug: Limit Visibility + Corona Forest Color Override Map  (Read 1992 times)

alexrecentspaces

  • Newbie
  • *
  • Posts: 43
  • Recent Spaces
    • recentspaces.com
Bug: Limit Visibility + Corona Forest Color Override Map
« on: March 22, 2017, 11:38:59 AM »
Hi,

I posted this on the Corona Forum as well, because I'm not sure if it's a Corona or Forest issue (or both): https://corona-renderer.com/forum/index.php/topic,15379.0.html

We have a scene with a forest pack pro scattered over a plane, with Limit to Visibility enabled in the Camera tab of the Forest object. The material of the geometry loaded into the forest is a Forest Color. The Tint Override tab of this Forest Color is Enabled, and we have it set to Get Color from Map. In here we load a diffuse map (a simple PNG). It is set to "As texture on Surface".

When we render, if we do not move the cursor AND we keep the cursor on the VFB, everything renders fine, for as many passes as we want. However, as soon as we move the cursor off the VFB and over ANY viewport (NOT any other part of the max UI, JUST viewports), what happens next is strange...

The forest geometry appears to render correctly, as in it doesn't change, however the map that we have in the Override "As Texture on Surface" slot is somehow... wrong. Like the UVW map is wrong/changed and the colours on the forest are completely incorrect. This starts to creep through into the render as the passes resolve.

The issue is solvable by DISABLING "Limit to Visibility" on the Forest object in the Camera tab. However this is going to cause major headache with ram and render speed of course...

So just to summarise, the bug appears to be with Limit to Visibility and Forest Color Tint Override. When LtV is enabled it looks like the UVW (or something else..) for the tint override map is somehow ignored/wrong, and this is all driven when the user moves their cursor off the VFB and onto a viewport.

Latest corona 1.5.2 and latest FPP, max 2016.

Cheers,
Alex York
Recent Spaces

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Bug: Limit Visibility + Corona Forest Color Override Map
« Reply #1 on: March 22, 2017, 12:53:33 PM »
Hi Alex,

I've been doing some tests on 3ds max 2016 SP4 & Forest Pack Pro 5.2.0 / 5.2.5 & Corona 1.5 (hotfix 2), but up to now I can't reproduce any similar troubles. If you'll be able to reproduce it on a minimal scene, which you can send us, it would be great.

Thanks in advance for any further comments on this issue you can share about it with us / our user community (in case some user(s) will run into similar troubles).

Best regards,

alexrecentspaces

  • Newbie
  • *
  • Posts: 43
  • Recent Spaces
    • recentspaces.com
Re: Bug: Limit Visibility + Corona Forest Color Override Map
« Reply #2 on: March 22, 2017, 12:57:04 PM »
Hi Michal,

Sure I will try to save out a simplified scene and send it over.

Cheers,
Alex York
Recent Spaces

alexrecentspaces

  • Newbie
  • *
  • Posts: 43
  • Recent Spaces
    • recentspaces.com
Re: Bug: Limit Visibility + Corona Forest Color Override Map
« Reply #3 on: March 23, 2017, 11:23:03 AM »
Sent :)
Alex York
Recent Spaces

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Bug: Limit Visibility + Corona Forest Color Override Map
« Reply #4 on: March 23, 2017, 04:41:33 PM »
Hi Alex,

Big thanks for provided scene. It looks like, it's somehow linked to the Physical Camera model in the 3ds Max 2016 (it might be caused by the Vertical Lens Shift used) - changing it to the Standard Camera seems to fix it (attaching modified scene with both Camera types). The 3ds Max 2017 SF doesn't suffer this issue (at least it seems so in my quick tests).

I'm afraid we can't do much more in this case as for developers of render engines which don't have a SDK (like Corona, Octane, Thea Render and others) we provide an internal API written in C++ for the 3ds Max SDK. Then they use this data to generate the instances directly in their render engine and therefore the final implementation of Forest's features depends mainly on the way how it's done for that specific render engine.

Best regadrs,

alexrecentspaces

  • Newbie
  • *
  • Posts: 43
  • Recent Spaces
    • recentspaces.com
Re: Bug: Limit Visibility + Corona Forest Color Override Map
« Reply #5 on: March 23, 2017, 06:08:00 PM »
Thanks Michal.

We'll see if the Lens Shift is affecting things and maybe that's the easiest workaround that won't cause us too many headaches.

Are you saying that this issue is not present in 2017? Only 2016?

Thanks!
Alex York
Recent Spaces