Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: rsi on 2015-02-24, 11:58:03

Title: rendering preview animation with IR
Post by: rsi on 2015-02-24, 11:58:03
Hi, thanks for this beautiful RC2, smart move (again...) with the 45 demo version, I wish you all the success that you deserve after those years of work and innovation!
IR work like a charm, I was wondering if is their a way to use IR for animation preview or if it could be implemented (even if tweaking performance settings should do the trick, without the vertice, parsing, structure, it could be more flexible and faster).
Title: Re: rendering preview animation with IR
Post by: romullus on 2015-02-24, 12:27:12
Sure, why not... if you have pc that can render your scene to acceptable level in 0,04 sec :]
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 01:46:46
romullusm it isnt a stupid question. for example, Octane can do something similar on the rsi request.
Ok, the scenes are very simple, but.. better than nothing.
Now, in Corona, it isn't possible, also with a simple cylinder+ bend modifier animation.



Title: Re: rendering preview animation with IR
Post by: romullus on 2015-02-25, 09:18:09
I didn't say it's stupid. It's not entirely impossible with Corona, but certainly my humble 4771 is not powerful enough.
And as always, maybe there's more Autodesk's fault than Corona's ;]

Title: Re: rendering preview animation with IR
Post by: Ludvik Koutny on 2015-02-25, 09:35:41
It's not Autodesk's fault in this case. Moskito render or Vray RT can play back interactive preview in real-time. Corona can't because on timeline change, it re-translates the entire scene. It's a known bug, but according to Ondra very low priority. Also, it would require proper subsampling implementation to be possible in the first place.
Title: Re: rendering preview animation with IR
Post by: Ondra on 2015-02-25, 10:03:06
that is not the problem here, such scene will parse in milliseconds, and most of it needs to be re-parsed every frame either way.
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 10:56:39
But, as we can see, wit a simple cylinder, Corona isn't able to render with good frame rate (5 FPS for example).
Title: Re: rendering preview animation with IR
Post by: romullus on 2015-02-25, 11:07:28
Fun fact: i turned on motion blur + DOF and update rate stayed roughly the same.
Title: Re: rendering preview animation with IR
Post by: rsi on 2015-02-25, 11:56:11
My request is based on my experience, for me having an animation preview with IR, have the same benefits that IR have over regular rendering for preview purpose on stills. I'm sick of sending grab viewport animation to my architects, and launching a job, then reading it in pd player or nuke and then encoding it is not flowless when you have very short times. It ends like you never see a global animation preview before the final render, I was just wondering if there was an easy way to achieve that, that's all :-)
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 12:01:36
Mm.... we are talking about two different situations: mesh animation (or deformation) and architectural fly-through.
Two different situations with two different solutions.
For fly-through, we need something similar LC or IM (or RTR).
For mesh deformations, we need some Corona updates.
Title: Re: rendering preview animation with IR
Post by: Ludvik Koutny on 2015-02-25, 12:05:14
My request is based on my experience, for me having an animation preview with IR, have the same benefits that IR have over regular rendering for preview purpose on stills. I'm sick of sending grab viewport animation to my architects, and launching a job, then reading it in pd player or nuke and then encoding it is not flowless when you have very short times. It ends like you never see a global animation preview before the final render, I was just wondering if there was an easy way to achieve that, that's all :-)

That's something completely different. What is being talked about there is ability to scrub timeline and get not-so-laggy IR updates. But if you want to do preview animation, or something like that, then this would be nearly pointless. You can simply use regular rendering, but set pass limit to something like 1 pass. That will give you very fast preview animation.
Title: Re: rendering preview animation with IR
Post by: rsi on 2015-02-25, 12:06:03
Sorry, I'm a bit tired and stupid, writting this stuff, I realise my errors, next time I save directly the frames in .avi... just need to understand how to set up corona to have previews as fast as IR does.
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 12:14:34
Don't save directly in avi!!!! Save in PNG, TIFF every frame. And use some software to convert PNG sequence to .avi (better in .mov)
Title: Re: rendering preview animation with IR
Post by: rsi on 2015-02-25, 12:20:05
You are right when it come to send something edited , but for internal previewing, saving directly in avi have the same benefits of grabing viewport for me, it's fast.
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 12:28:19
(O__O) Ok, as you want ^__^
Title: Re: rendering preview animation with IR
Post by: rsi on 2015-02-25, 12:46:43
Thanks cecofuli, I'm used to work in exr with piz compression for nuke, and used to save stuff in h264, I was just searching for a way to throw my old grab viewport when I'm searching for cam, having the benefits of lights changes and materials and speed.
Title: Re: rendering preview animation with IR
Post by: rsi on 2015-02-25, 15:20:51
I'm doing some testing because I really like the speed vs quality of IR, but rendering a frame range in IR with a pass limit doesn't work, I was trying to get the same speed and quality result with a pass limit with the regular render mode. I assume it is the same engine (no conversion, IR vs RT), is there a way to setup the (MSI, Max ray, GI and light sample) to have the same result or am I loosing my time?
Title: Re: rendering preview animation with IR
Post by: Ludvik Koutny on 2015-02-25, 17:24:15
IR by default has lower GI/AA balance to increase feedback speed at the expense of rendering speed. By default, it's 1/4th of what GI/AA parameter is set to. You can change that by using string option in strings field of devel/debug settings.

Just add this line:
float interactive.giSamplesMult = 0.25
and set  the multiplier to whatever you want. If you have default GI/AA balance at 16, then multiplier of 0.25 means GI/AA value of 4 for IR rendering.
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 17:29:39
Rawalanche, are you sure? I can change PTS while IR is working. And I see the change.
Title: Re: rendering preview animation with IR
Post by: maru on 2015-02-25, 17:39:06
I was trying to get the same speed and quality result with a pass limit with the regular render mode. I assume it is the same engine (no conversion, IR vs RT), is there a way to setup the (MSI, Max ray, GI and light sample) to have the same result or am I loosing my time?
As Rawa wrote. IR and regular rendering is exactly the same engine. I'm not sure but probably secondary solver runs at lower settings in IR too.
See: https://coronarenderer.freshdesk.com/support/solutions/articles/5000520620
Title: Re: rendering preview animation with IR
Post by: maru on 2015-02-25, 17:39:53
Rawalanche, are you sure? I can change PTS while IR is working. And I see the change.
Yes, because it takes 0,25x samples you set. :)
Title: Re: rendering preview animation with IR
Post by: cecofuli on 2015-02-25, 18:28:24
No maru, I hadn't that line.