20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.77k stars 752 forks source link

Bake Lighting and Packaging #83

Open sinokgr opened 7 years ago

sinokgr commented 7 years ago

So, next bit for the project I'm working is to bake the lighting and packaging the project. For packaging I found the FARFilter but I'm not sure if it's really related or if it's something else. In terms of lighting I haven't found anything. Are these supported? If not, are these something you can expose?

Best regards, Nick

rdeioris commented 7 years ago

Check the new unreal_engine.editor_command_build() and unreal_engine.editor_command_build_lighting().

I have started with them but we can expose everything is here:

https://docs.unrealengine.com/latest/INT/API/Editor/LevelEditor/FLevelEditorActionCallbacks/index.html

Regarding packaging i am not too much skilled on it, i need to investigate

sinokgr commented 7 years ago

Cheers @rdeioris, I'll have a look later this week. In terms of the packaging, if it's much of an issue to you, I can ask Epic to point us to the right direction if you want.

rdeioris commented 7 years ago

@sinokgr help from epic would be really wellcomed :)

sinokgr commented 7 years ago

Hey @rdeioris, Epic got back to me about the packaging and apparently the way Unreal packages projects is with an external tool "Engine\Binaries\DotNET\AutomationTool.exe".

That might interest you though. "To see how the editor assigns arguments or to plug into the editor command directly, see FMainFrameActionCallbacks::PackageProject()."

I'm sorry I haven't had the time to try the light building yet, but they changed my priorities here at work.

rdeioris commented 7 years ago

@sinokgr thanks for your feedback, i'll check it soon

sinokgr commented 7 years ago

Cheers, it's not a priority for me though. I would prefer if you could check the issue #87 first. :)

sinokgr commented 7 years ago

Hi @rdeioris, happy new year! Is it possible to expose the engine and the *.uproject paths? I want to access the AutomationTool.exe and I don't want to hardcode a path to a specific version.