Page 1 of 2
Animating MXI slider problems
Posted: Thu Sep 20, 2012 5:02 pm
by Kevron
Hi,
When I try to animate light sliders in the MXI Mixer node something strange keep happening.
Here is a file (also sent to tech support):
https://dl.dropbox.com/u/1059954/Maxwel ... ellBug.zip
I rendered with four lights, and the MXI mixer registers all of them when pressing "set channels". But then it randomly jumps between three lights and four lights in the MXI mixer node.
I also get image artifacts when adding a new nuke node under an animated mxi mixer node. See example in file.
I have the latest plugins.
Also looking for another and more stable route. Is it correct that shuffling out the lightpasses and merging them with "plus" gives the correct result? How would you change the light intensity? Could you use "multiply" under the grade node?
Hoping for some tips
Best regards,
Tor M
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 10:17 am
by Brany
I can reproduce the problem. I hope I can give you news next week

Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 10:42 am
by Brany
Also looking for another and more stable route. Is it correct that shuffling out the lightpasses and merging them with "plus" gives the correct result? How would you change the light intensity? Could you use "multiply" under the grade node?
Yes, I think you can emulate the MxiMixer node using Grade(multiply)/Multiply for light intensities, and Plus for light mixing.
Furthermore, if you attach a ViewMetaData node to the MXI, you can see some useful info in case you want to automatize a Grade/Plus set of nodes using Python. The "Color Adjustments" tool uses that info so you can take a look at the "mxihue" function in the "maxwell_utilities.py" file.
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 11:23 am
by Kevron
Thank you for looking into it.
I even get the artifacts when I shuffle out the lightpasses, so the alternative route is also a bit hit & miss.
I guess your plate is full, but there is always a deadline and the MXI mixer is crucial for the project.
Dont want to stress you, but a solution sooner than later would be highly appreciated.
Best regards,
Tor M
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 11:47 am
by Brany
Did you try using EXRs instead of MXIs?
You can use the MxiMixer node with EXRs generated by Maxwell (using the "Multilight: intensity + composite" option). If you don't have the EXRs, you can generate them using the tool "File->MXI batsh processing..." on maxwell render.
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 11:57 am
by Kevron
Ah, nice tips. Will try that!
Thank you

Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 12:33 pm
by Kevron
Hm, same problem occur when using MXI mixer on exr´s.
It seems there is something happening with how mxi mixer interprets the light intensity number.
When I import exr´s, add Mxi Mixer and presses set channel. I´ll get numbers like:
Fill_1: 5950
Fill_2: 83
Key: 163
These numbers give a "normal exposed" image, but suddenly the image is "super over-exposed".
If i then change the numbers to something like:
Fill_1: 1.22
Fill_2: 1.38
Key: 0.425
The image is "normal exposed" again.
Sometimes the transform node can make this happen, sometimes the card3d node and sometimes the grade node. Just seems like a random event.
So, I guess the problem lies in the MXI mixer node and how it interprets intensity numbers.
What do you think?
Best regards,
Tor M
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 1:15 pm
by Brany
MxiMixer saves the light intensities of the MXI to the .nk file. It seems there is a problem when the node is animated and it is reset when the animation cicle completes after a "play" click. It makes the slider's ranges being set to 0-1, and the number of light controls showed becomes 3 (regardless the "Total Lights" knob value is right (4)). That can cause the light intensities (10000, 250, 300, 250 in your mxi) are reset internally in the mximixer node to 1, so the lights will be 10000, 250, 300 and 250 times over-exposed in your case!
I'll try to send you a new version of the plug-in today.
PD: that not solves the artifacts issue, but I see in times the problem can be corrupt data in the Nuke cache, so a "Render->clear buffers" and a "Render->clear disk cache" can solve the problem. It worked for me sometimes.
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 1:36 pm
by Kevron
Thank you for looking into it.
Regards,
Tor M
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 1:49 pm
by Brany
Re: Animating MXI slider problems
Posted: Fri Sep 21, 2012 1:55 pm
by Kevron
Thank you, I´ll use it and let you hear how it works.
Regards,
Tor M
Re: Animating MXI slider problems
Posted: Sun Sep 23, 2012 8:15 pm
by Kevron
I have tested the update over several days now, and it seems to work well.
If I hook up mxi mask in my node flow, nuke crashes. But that is not really a big problem for me, just use primatte to isolate out the different object id's.
Thank you for fast and good help!
Best regards,
Tor M
Re: Animating MXI slider problems
Posted: Mon Oct 01, 2012 8:25 pm
by Kevron
I am sorry to tell you that the problem still occur. Strange.
It worked several days, and then the "over-exposed" image is back.
Any new medicine?
Regards,
Tor Martin
Re: Animating MXI slider problems
Posted: Tue Oct 02, 2012 1:10 pm
by Brany
Re: Animating MXI slider problems
Posted: Tue Oct 02, 2012 1:37 pm
by Kevron
Thanks. Changed to the new plugins in the middle of a project. All sliders went crazy

But I got back to where I was but tweaking the sliders with a small amount.
I will test this out, thanks again!
Regards,
Tor Martin