Commit graph

50 commits

Author SHA1 Message Date
Roy Nieterau
17a38c32a4
Enhancement: Improve logging levels and messages for artist facing publish reports (#5018)
* Tweak log levels and message to be more informative to artist in report page

* Tweak levels and clarity of logs

* Tweak levels and clarity of logs + tweak grammar

* Cosmetics

* Improve logging

* Simplify logging

* Convert to debug log if it's skipping thumbnail integration if there's no thumbnail whatsoever to integrate

* Tweak to debug since they only show representation ids hardly understandable to the artist

* Match logging message across hosts + include filepath for full clarity

* Tweak message to clarify it only starts checking and not that it requires filling + to debug log

* Tweak to debug log if there's basically no thumbnail to integrate at the end

* Tweak log levels

- Artist doesn't care what's prepared, especially since afterwards it's logged what gets written to the database anyway

* Log clearly it's processing a legacy instance

* Cosmetics
2023-05-24 10:54:31 +02:00
Roy Nieterau
042efaae33 Implement output template extensions override 2023-04-24 15:34:15 +02:00
Roy Nieterau
2ff7d7ee1d Cosmetics 2023-04-24 15:24:30 +02:00
Roy Nieterau
ea83a40f8b Attribute is already set in parameters above 2023-04-24 15:24:04 +02:00
Roy Nieterau
5059cf74b5 Support multiple texture sets + stacks 2023-04-04 00:13:50 +02:00
Roy Nieterau
23568e5b06 Fix allow skipped maps logic 2023-04-04 00:11:49 +02:00
Roy Nieterau
9d68db0e16 Validate the generated output maps for missing channels 2023-04-03 16:03:57 +02:00
Roy Nieterau
5c0dee5318 Log instead of print 2023-04-03 12:07:07 +02:00
Roy Nieterau
35428df6b0 Fix LoadError 2023-04-03 12:00:51 +02:00
Roy Nieterau
76c0a0266f
Apply suggestions from code review
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
2023-04-03 11:59:23 +02:00
Roy Nieterau
22d628d054 Store instances in single project metadata key by id + fix adding/removing instances 2023-03-23 18:09:13 +01:00
Roy Nieterau
4fdb31611d Allow to mark an instance to skip integration explicitly
Use `instance.data["integrate"] = False`
2023-03-23 11:03:54 +01:00
Roy Nieterau
17fc4ed925 Fix import 2023-03-23 10:58:04 +01:00
Roy Nieterau
8b3ce3044a
Raise KnownPublishError instead of assert
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-23 10:56:58 +01:00
Roy Nieterau
0b3cb6942d Add todo about a potentially critical issue to still be solved. 2023-03-20 20:27:34 +01:00
Roy Nieterau
1817524857 Simplify setting review tag and stagingDir for thumbnail on representation 2023-03-20 20:07:23 +01:00
Roy Nieterau
eeb2388475 Use openpype.pipeline.create.get_subset_name to define the subset name 2023-03-20 14:13:21 +01:00
Roy Nieterau
eeaa807588 Remove unused import 2023-03-20 11:41:54 +01:00
Roy Nieterau
fd2d210522
Use create context environment
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-20 11:26:48 +01:00
Roy Nieterau
55a10a8793 Use new style ColormanagedPyblishPluginMixin 2023-03-13 22:55:00 +01:00
Roy Nieterau
7cd9997912 Merge branch 'substance_painter_ocio' into substance_integration 2023-01-26 15:36:55 +01:00
Roy Nieterau
1c77d2b002 Fix UDIM integration 2023-01-18 10:18:01 +01:00
Roy Nieterau
9329ff28d5 Show new project prompt with mesh preloaded 2023-01-17 15:39:59 +01:00
Roy Nieterau
7167ab1332 Merge branch 'substance_integration' into substance_painter_ocio 2023-01-15 01:36:32 +01:00
Roy Nieterau
eecf109cab Support single image (otherwise integrator will fail) 2023-01-15 01:32:42 +01:00
Roy Nieterau
33aafc3ff6 Implement OCIO support for Substance Painter + publish color space with textures 2023-01-15 01:30:43 +01:00
Roy Nieterau
aa0c62b4d7 Cleanup 2023-01-14 20:38:56 +01:00
Roy Nieterau
04b3235020 Cosmetics 2023-01-14 20:32:05 +01:00
Roy Nieterau
b17ca1efea More explicit parsing of extracted textures, prepare for color space data 2023-01-14 15:38:22 +01:00
Roy Nieterau
cba71b9e0d Fix full path in representation for single images (non-UDIM) 2023-01-13 18:29:59 +01:00
Roy Nieterau
5c0a7e30ed Group textures together to look like a package/textureSet 2023-01-13 18:14:18 +01:00
Roy Nieterau
78c4875dcb Add support for thumbnail generation of extracted textures from Substance Painter 2023-01-13 18:03:34 +01:00
Roy Nieterau
fbcb88b457 Include texture set name in the logging 2023-01-13 12:35:00 +01:00
Roy Nieterau
42b207445e Implement working WIP draft for Texture Publishing 2023-01-13 12:32:38 +01:00
Roy Nieterau
61710d614d TODO was already resolved 2023-01-12 13:23:51 +01:00
Roy Nieterau
24b6583c63 Set explicit defaults for creator 2023-01-10 17:58:47 +01:00
Roy Nieterau
139eafb5c7 Debug log used Substance Painter export preset 2023-01-10 01:21:31 +01:00
Roy Nieterau
9a4f565019 Shorten label 2023-01-10 01:21:08 +01:00
Roy Nieterau
87f23c978d Add the built-in export-preset-generator template entries 2023-01-10 00:52:07 +01:00
Roy Nieterau
0741c98508 Cosmetics 2023-01-09 18:15:06 +01:00
Roy Nieterau
f9d3c9f772 Early prototype for Texture publishing in Substance Painter (WIP - not functional; doesn't integrate yet) 2023-01-09 18:13:49 +01:00
Roy Nieterau
564e8f4d40 Cosmetics 2023-01-09 11:17:25 +01:00
Roy Nieterau
c3fca896d4 Implement plug-ins to support workfile publishing 2023-01-09 11:16:23 +01:00
Roy Nieterau
ec2f10caf3 Simplify logic 2023-01-09 10:30:32 +01:00
Roy Nieterau
2c544246fd Do not auto create workfile instance if project isn't open. 2023-01-09 10:30:18 +01:00
Roy Nieterau
cf92213dd1 Cosmetics 2023-01-07 17:42:55 +01:00
Roy Nieterau
ccb4371641 Refactor metadata code to allow more structure for future Substance Painter plugins 2023-01-07 17:42:43 +01:00
Roy Nieterau
bcac4d1faf Add draft for workfile Creator 2023-01-06 12:17:49 +01:00
Roy Nieterau
8468dbce67 Implement managing for Load Mesh (draft implementation) 2023-01-06 05:04:53 +01:00
Roy Nieterau
b581804881 Add substance mesh loader 2023-01-06 04:04:32 +01:00