Phazz
upresFluid -  when i resize a fluid in maya 2015 i can see the correct result in the viewport ( in 2.0 not allways right away ;-) ) and maya hardware 2.0 renders it correct. Maya software or mental ray renders seems to ignore the upres node: the render looks like the fluid before upres (see attachesd image).
I tryed to cache the upresed fluid but it didn`t change render result. The probleme apperes every time. i did not use auto resize.
i use the latest version of soup (2014/11/16), maya 2015 extension 1 on a windows 7 64 bit system.
any ideas?
ma fluid upres issue maya 2015.ma     
upresFluid render problem.JPG
Reply 0 0
pshipkov
The scene you provided does not have upresFluid node attached to the second fluid container.
I don't have your cache, so hard to say what is going on at this point.

I attached upresFluid to your second container and it rendered without any problems in MR.
I checked few more scenes i have here - all works well.

Can you provide the original scene with the upresFluid node in place ?
Reply 0 0
Phazz
sorry! here is the file without cache.

yesterday i made an fluid upres with maya 2014 (same computer, same plug in releas) and everything worked fine.

would be great if you could help me!!!
Reply 0 0
pshipkov

This was interesting one.
It looks like mrformaya changed the rules a bit, again. The whole thing is so clunky. We can look at it this way - this was was busted all the time until Maya2015. :)
If you display the connections of both fluids in node editor or hshade you will see that the uprezed one has instanceObjectGroup attribute connected to the original fluid shader group.


So do this:
disconnectAttr fluid1_upresFluidShape1.instObjGroups[0] fluidShape1SG.dagSetMembers[1];
and then
connectAttr fluid1_upresFluidShape1.instObjGroups[0] fluidShape2SG1.dagSetMembers[1];

That will do it.
I will update the python script responsible for setting things up on my side. It will be in the next update.


Reply 0 0
pshipkov
Just to confirm - this seems like duplicate fluid command bug that screwes up MRforMaya and MayaSoftware render. I was unfair pinning it on the MRforMaya translator.
Reply 0 0
Phazz
that worked for me, thank you very much !!!
Reply 0 0
Reply