Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Jpjapers on 2018-03-25, 21:39:21

Title: Interactive only calculating displacement for initial position FOV
Post by: Jpjapers on 2018-03-25, 21:39:21
I had my camera low to the ground to adjust some displacement size settings, i zoomed out and moved the viewport and i noticed that only the displacement for the FOV of the original position was being shown. See attached image.
Title: Re: Interactive only calculating displacement for initial position FOV
Post by: pokoy on 2018-03-25, 22:05:31
I think this was made to behave that way by design in order to avoid constant re-calculation of displacement. Otherwise IR wouldn't be interactive as it would have to re-calculate on every change of camera/perspective. If I remember correctly, displacement is degraded for IR too to save some time, so for finals you shouldn't rely on IR anyway.
Title: Re: Interactive only calculating displacement for initial position FOV
Post by: TomG on 2018-03-26, 14:12:42
Displacement is either calculated by "screen" or "world" - when screen, it is based on what is included in the camera FOV, to reduce having to calculate displacement for things not seen in the camera. It is only calculated once at the beginning of IR, so changing the FOV can bring into view things where displacement is not calculated to as much detail, or not calculated at all. Recalculating it would of course slow down IR, which leaves the option of swapping displacement to World (with the penalties involved - it will likely take longer to calculate when you first run IR, and it will likely need quite a bit more memory).
Title: Re: Interactive only calculating displacement for initial position FOV
Post by: Christa Noel on 2018-03-27, 08:57:46
how about using CoronaRenderer.CoronaFp.ReparseInteractive() when you need to recalculate the displacement? if it doesnt work then imho devs should add displacement recalculation inside this method, instead of the need to stop and restart the IR