Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print time taken and request attention when lightmaps are done baking #56367

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Dec 31, 2021

master version of #49915. Despite the GPU lightmapper being much faster than the CPU lightmapper, it can still take several minutes on complex scenes when using many bounces.

Since lightmap baking can take a very long time, printing the time spent can be useful for users tweaking the lightmap settings to optimize bake times. The message printed is visible in the editor's Output dialog and looks like this:

Done baking lightmaps in 00:01:33.

Completing lightmap baking will also request attention, which is useful if you're doing something else while waiting for lightmaps to bake.

Since lightmap baking can take a very long time, printing the time
spent can be useful for users tweaking the lightmap settings
to optimize bake times.

Completing lightmap baking will also request attention, which is
useful if you're doing something else while waiting for lightmaps
to bake.
@akien-mga akien-mga merged commit e885de0 into godotengine:master Jan 6, 2022
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the bakedlightmap-print-time-request-attention branch January 7, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants