Welcome to WSL!

New to the forum? Please read this and this.

Any alternative to hos_SplitEXR?

User avatar
AndrewHazelden
Fusionator
Posts: 1768
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 11
Location: West Dover, Nova Scotia, Canada
Been thanked: 39 times
Contact:

Re: Any alternative to hos_SplitEXR?

#61

Post by AndrewHazelden »

bfloch wrote: Tue Oct 01, 2019 7:05 amSorry I am not yet into rector. Can some one help me out getting the fix in?
Done. The hos_SplitEXR_Ultra Reactor package has been updated to include your code fix. :)

User avatar
bfloch
Fusioneer
Posts: 104
Joined: Wed Aug 06, 2014 4:25 pm
Been thanked: 5 times

Re: Any alternative to hos_SplitEXR?

#62

Post by bfloch »

Awesome! Thanks.

User avatar
giant_void
Posts: 2
Joined: Mon Mar 02, 2020 9:04 pm

Re: Any alternative to hos_SplitEXR?

#63

Post by giant_void »

Has anyone else been experiencing some issues with this tool in Fusion 16.1.1? I currently am unable to get the script to split any multi-channel EXRs. May be a new version issue, I imagine.

User avatar
Movalex
Sir Requestalot
Posts: 316
Joined: Fri Nov 03, 2017 5:36 am
Answers: 4
Real name: Alexey Bogomolov
Been thanked: 17 times
Contact:

Re: Any alternative to hos_SplitEXR?

#64

Post by Movalex »

Did you try the version from Reactor? It is called Ultra.

User avatar
giant_void
Posts: 2
Joined: Mon Mar 02, 2020 9:04 pm

Re: Any alternative to hos_SplitEXR?

#65

Post by giant_void »

Yes -- using hos_SplitEXR_Ultra v2.20. EXR's are coming from Houdini/Redshift.

User avatar
Movalex
Sir Requestalot
Posts: 316
Joined: Fri Nov 03, 2017 5:36 am
Answers: 4
Real name: Alexey Bogomolov
Been thanked: 17 times
Contact:

Re: Any alternative to hos_SplitEXR?

#66

Post by Movalex »

If you could post a sample exr here, we could look whats wrong is going there.

User avatar
JW7
Posts: 3
Joined: Thu Mar 05, 2020 10:36 am

Re: Any alternative to hos_SplitEXR?

#67

Post by JW7 »

Hi,
Im having an issue too with the hos_SplitEXR_Ultra. (v2.1 "Ultra" (2018-09-16))
Ive rendered in Maya 2018.6 with redshift - 3.0.16 (please find attached the exr example test I did)
Im using fusion 16.1.1

This is the result I get in the console:

[Split EXR] v2.1 "Ultra" (2018-09-16)
[Created By] S.Neve / House of Secrets
[With Contributions From] Tim Little, Andrew Hazelden, Cedric Duriau

[Processing Time] 4.000 s
[Done]


If anyone had the same issue it would be great to know what Im doing wrong! :)
Thank you very much!

Jose
ShotCam_AnimTest_01.Beauty.0063.exr
You do not have the required permissions to view the files attached to this post.

User avatar
Midgardsormr
Fusionator
Posts: 2174
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 28
Location: Los Angeles, CA, USA
Been thanked: 41 times
Contact:

Re: Any alternative to hos_SplitEXR?

#68

Post by Midgardsormr »

It looks like the script is designed to parse out channels, but not parts. That is, if you had a single-part EXR with each AOV stored in a set of channels within that part, the script would work. But since each AOV is in a different 'layer', the script doesn't find them.

Give the attached script a try. I didn't take the time to fix the node positioning, so they'll all get stacked on top of each other. If you right-click in the Flow and choose 'Line up all tools to Grid', they'll get laid out horizontally, at least.

If that works, we can figure out the layout problems and get a new version into Reactor soon.

edit: For those keeping score at home, I added a for loop that processes the Part combo control the same way getLoaderChannels() processes channels. I inserted two lines at 321:

Code: Select all

	for i, image in ipairs(tool.Clip1.OpenEXRFormat.Part:GetAttrs().INPIDT_ComboControl_ID) do
		tool.Clip1.OpenEXRFormat.Part = image
And the end statement at line 478, right above comp:Unlock().

Tested only in Fusion 9.0.2 so far.
You do not have the required permissions to view the files attached to this post.

User avatar
JW7
Posts: 3
Joined: Thu Mar 05, 2020 10:36 am

Re: Any alternative to hos_SplitEXR?

#69

Post by JW7 »

Hi Bryan!
Thank you so much for getting back to me this fast. I have just tried that new lua file and they do create nodes for all the passes that I have but my main windows become unresponsive. I tried drag the nodes to the window to show up but it doesnt respond. I've just changed to fusion recently so Im sorry if Im missing some obvious way to look at this.
Also, the nodes themselves havent changed to their respective part.

Please find all the information attached. Thank you very much!
Jose
200308_FlowView.JPG
Result_20200308_Split EXR.txt
You do not have the required permissions to view the files attached to this post.

User avatar
Movalex
Sir Requestalot
Posts: 316
Joined: Fri Nov 03, 2017 5:36 am
Answers: 4
Real name: Alexey Bogomolov
Been thanked: 17 times
Contact:

Re: Any alternative to hos_SplitEXR?

#70

Post by Movalex »

@JW7
Try this version. Is works with multipart exr's only, but it is not that difficult to make it universal.
And it will layout the nodes correctly. I also added Undo for splitting. Should work both in Fusion 9 and 16

hos_SplitEXR_Ultra_parts.lua
You do not have the required permissions to view the files attached to this post.

User avatar
JW7
Posts: 3
Joined: Thu Mar 05, 2020 10:36 am

Re: Any alternative to hos_SplitEXR?

#71

Post by JW7 »

hi Movalex,
Thank you so much! This works perfectly! I've tried it with a couple of files and everyhing is working fine
Thank youuuu!!!

User avatar
Midgardsormr
Fusionator
Posts: 2174
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 28
Location: Los Angeles, CA, USA
Been thanked: 41 times
Contact:

Re: Any alternative to hos_SplitEXR?

#72

Post by Midgardsormr »

JW7 wrote: Sun Mar 08, 2020 5:07 amAlso, the nodes themselves havent changed to their respective part.
I actually woke up in the middle of the night last night and realized I'd forgotten to set the new Loaders to the correct Part. Thanks for getting it working Movalex!

User avatar
Movalex
Sir Requestalot
Posts: 316
Joined: Fri Nov 03, 2017 5:36 am
Answers: 4
Real name: Alexey Bogomolov
Been thanked: 17 times
Contact:

Re: Any alternative to hos_SplitEXR?

#73

Post by Movalex »

After some trial and errors I managed to create universal splitter for both multipart and multichannel exr's
1. It turned out Fusion 16.2 works with ipairs differently on MacOS, so I changed all tables to just use pairs (so now it works with latest Fusion version)
2. Using comp:AddTool instead of comp.Loader we can automatically create merges for all new loaders. For some reason this works correctly only on MacOS, so I added optional Merge Loaders checkbox, and it is visible only on MacOS platform (sorry for that :)
3. You can now Undo split process entirely.
I will submit v2.3 update to Reactor soon.

hos_SplitEXR_Ultra.lua
You do not have the required permissions to view the files attached to this post.

User avatar
Midgardsormr
Fusionator
Posts: 2174
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 28
Location: Los Angeles, CA, USA
Been thanked: 41 times
Contact:

Re: Any alternative to hos_SplitEXR?

#74

Post by Midgardsormr »

Movalex wrote: Tue Mar 17, 2020 10:35 amIt turned out Fusion 16.2 works with ipairs differently on MacOS
Please file a bug report. Lua should be platform-agnostic in most respects. If ipairs() is broken on the Mac for some reason, that's crippling for a lot of scripts.

User avatar
Millolab
Fusionista
Posts: 824
Joined: Wed Oct 24, 2018 6:26 am
Answers: 6
Been thanked: 29 times
Contact:

Re: Any alternative to hos_SplitEXR?

#75

Post by Millolab »

Movalex wrote: Tue Mar 17, 2020 10:35 am After some trial and errors I managed to create universal splitter for both multipart and multichannel exr's
1. It turned out Fusion 16.2 works with ipairs differently on MacOS, so I changed all tables to just use pairs (so now it works with latest Fusion version)
2. Using comp:AddTool instead of comp.Loader we can automatically create merges for all new loaders. For some reason this works correctly only on MacOS, so I added optional Merge Loaders checkbox, and it is visible only on MacOS platform (sorry for that :)
3. You can now Undo split process entirely.
I will submit v2.3 update to Reactor soon.


hos_SplitEXR_Ultra.lua
Don't know if connected... but things like the Archive Composition don't work on Mac on F16.2...