Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: David Males on 2020-05-06, 14:42:32

Title: Coronamix into bump spot - LEGION_STOP error
Post by: David Males on 2020-05-06, 14:42:32
Hello guys,

I've just encountered this problem for the first time, probably after the latest update to C5hf2 .. It is easily resolved once I've found out what it is, just wanted to make sure this behaviour is to be expected..
When placing CoronaMix map into bump slot, the rendering gets corrupted and message LEGION_STOP @ C:\Corona\src\CoronaMX Utils\MixTex\MixTex.h(92)

This can be easily resolved by placing the CoronaMix map through CoronaBumpConverter into bump slot..  But I am pretty sure I could render it out without this additional step before, so not sure if it is bug or not..
Actually I did find out this error after opening older scene and getting this message, which worked fine before with CMix in bump slot..

The solution I mentioned works fine, but posting this as maybe you would like to have a look at it..
Thanks!




Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: maru on 2020-05-06, 17:31:11
That's definitely not expected, and we will definitely look into it! Thanks a lot for reporting!
Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: Frood on 2020-05-06, 18:17:00
Btw: you can force "legion stop"[tm] often by selecting invalid drop down options (indexed) by script or animation settings. For instance, when setting skyModel to float "3", you get a

"LEGION_STOP @ c:\Corona\src\CoronaCore\misc\shaders\SkyShader.cpp(294)"


Good Luck



Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: maru on 2020-05-07, 16:07:09
@David Males I can't reproduce it. I tried with IR, regular render, empty Corona Mix, and with some bitmaps loaded. Could you please provide a simple scene where this happens? Corona 5 HF2 here.
Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: David Males on 2020-05-07, 17:10:21
@David Males I can't reproduce it. I tried with IR, regular render, empty Corona Mix, and with some bitmaps loaded. Could you please provide a simple scene where this happens? Corona 5 HF2 here.

Actually I can't reproduce it in new scene as well, so maybe something got corrupted during the import from the older versions?
If you still want to try, I've managed to strip the file where it occurs down to 1 box with 1 material ... But maybe it is just corrupted file that evokes it ..  Let me know if you can reproduce it from this file too.
Thanks!
Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: maru on 2020-05-07, 17:36:00
@David Males I can't reproduce it. I tried with IR, regular render, empty Corona Mix, and with some bitmaps loaded. Could you please provide a simple scene where this happens? Corona 5 HF2 here.

Actually I can't reproduce it in new scene as well, so maybe something got corrupted during the import from the older versions?
If you still want to try, I've managed to strip the file where it occurs down to 1 box with 1 material ... But maybe it is just corrupted file that evokes it ..  Let me know if you can reproduce it from this file too.
Thanks!

Reproduced! Thanks so much for the scene!

(Internal ID=503927109)
Title: Re: Coronamix into bump spot - LEGION_STOP error
Post by: rowmanns on 2020-05-28, 14:36:39
Hi,

We have fixed this issue and it is released in the latest daily build. They daily build can be found: https://forum.corona-renderer.com/index.php?topic=26830.0

Cheers,

Rowan