Commit graph

208 commits

Author SHA1 Message Date
Stephen Birarda
2a597eb715 use QCoreApplication for oven when headless version is used 2018-02-21 13:52:07 -08:00
Atlante45
314c51ab3b Fix settings init in all exe 2018-01-26 15:53:08 -08:00
Clément Brisset
956f45b5af
Merge pull request #11932 from birarda/bug/baking-folder-number
fix sparse rectification for small textures, export for same model at diff URL
2018-01-18 14:25:33 -08:00
humbletim
08ccda9cfc rename libraries/model(src/model) -> libraries/graphics(src/graphics) 2018-01-16 12:44:44 -05:00
Stephen Birarda
88831ff08a don't trigger unix step on apple for oven 2017-12-13 18:39:19 -08:00
Stephen Birarda
0b598ea948 fix RPATH for oven so it loads things from macdeployqt 2017-12-13 18:39:19 -08:00
Ryan Huffman
c2e0f19591 Merge branch 'master' of github.com:highfidelity/hifi into feat/obj-baker-update 2017-12-11 13:39:58 -08:00
Ryan Huffman
7b48f08566 Remove _baker inside ModelBakeWidget 2017-12-08 16:45:27 -08:00
Ryan Huffman
70c35f84b5 Update baker library with many style improvements 2017-12-08 10:30:38 -08:00
Ryan Huffman
4dd08d93f4 Cleanup dead code and unused var in BakerCLI 2017-12-07 10:54:39 -08:00
Ryan Huffman
94a58a2471 Remove baking dependency from assignment-client 2017-12-07 10:53:23 -08:00
Ryan Huffman
6b098bfc6a Fix aborted baking in oven cli 2017-12-06 13:51:31 -08:00
Ryan Huffman
bee666b522 Add error text reading to asset server baking 2017-12-06 11:49:34 -08:00
Ryan Huffman
7eb93f4777 Add oven as dep to assignment-client 2017-12-06 11:49:34 -08:00
Ryan Huffman
f3fc5769e8 Move asset baking on asset server to separate process 2017-12-06 11:49:19 -08:00
Stephen Birarda
5688a166f8 fix folder name creation for duplicated models 2017-12-05 14:44:11 -08:00
utkarshgautamnyu
79c1e84c76 More indentation/spacing fixes 2017-10-24 16:15:20 -07:00
utkarshgautamnyu
98ec464106 Indentation Fixes 2017-10-24 16:05:00 -07:00
utkarshgautamnyu
46b46c2f4c Fixed issues with FBXBaker and refactoring of OBJBaker 2017-10-23 20:07:24 -07:00
utkarshgautamnyu
28baed18c0 Added code for OBJBaker and moved Texture and Mesh compression to ModelBaker superclass 2017-10-20 18:55:41 -07:00
Bradley Austin Davis
e42068f681 Merge branch 'master' into android_new 2017-09-26 14:31:29 -07:00
Bradley Austin Davis
b93e91b9f3 New android toolchain 2017-09-19 13:45:12 -07:00
Stephen Birarda
4066c9392d output from oven into folder with model name 2017-09-13 13:34:15 -07:00
Stephen Birarda
88b8fb4c5e use general worker threads for fbx baking 2017-09-12 20:02:27 -07:00
Ryan Huffman
395c9283dc Merge remote-tracking branch 'upstream/feat/auto-bake' into feat/auto-bake-fbxwriter 2017-09-12 14:09:59 -07:00
Ryan Huffman
9b462171f6 Add draco support to FBXBaker 2017-09-08 16:58:29 -07:00
Stephen Birarda
91f4551598 add draco to the oven tool 2017-09-08 09:46:55 -07:00
Stephen Birarda
3cf77f377c remove FBX SDK from CMake files 2017-09-07 18:46:44 -07:00
Ryan Huffman
b60d68c714 Replace FBX SDK loading of file in FBXBaker with FBXReader 2017-09-07 14:00:09 -07:00
Ryan Huffman
49e09f4838 Remove FBXBaker and TextureBaker from oven 2017-09-07 13:12:07 -07:00
Stephen Birarda
26b74db864 enable compression in image library from Asset Server 2017-09-07 12:07:57 -07:00
Ryan Huffman
39f04adc8d Improve baking interface and add automatic baking to asset server 2017-08-24 16:15:28 -07:00
Ryan Huffman
8d4ab5f751 Update FBXBaker to take output directory and update oven to use it 2017-08-21 13:40:51 -07:00
Stephen Birarda
bff54d260e fix for baking FBX with external textures 2017-07-07 10:11:13 -07:00
Ryan Huffman
b12018ccf3 Fix Oven not properly handling native separators 2017-06-23 10:54:48 -07:00
Seth Alves
b1119ff465 more changes to get oven building on Linux 2017-06-21 20:10:54 -07:00
Stephen Birarda
e658953246 Merge pull request #10645 from seefo/oven
Oven will now give proper return codes when used via CLI
2017-06-09 13:06:09 -07:00
Seth Alves
485df396ef Merge pull request #10628 from jherico/qt59
Fixes for Qt 5.9 compatibility
2017-06-08 16:51:08 -07:00
seefo
a4f4d49bec Oven will now give proper return codes when used via CLI 2017-06-08 11:52:58 -07:00
seefo
0c7ffa0ac6 Replaced baker in OvenCLI with an std::unique_ptr 2017-06-08 09:48:30 -07:00
seefo
99e9e10882 Made requested changes to OvenCLI constructor 2017-06-07 11:36:56 -07:00
seefo
a3d2fa2630 Made requested changed to Oven CLI 2017-06-06 16:13:18 -07:00
seefo
46400f4122 Cleaned up oven CLI 2017-06-06 15:05:26 -07:00
Bradley Austin Davis
b4bbf98fe3 Suppress TBB warnings 2017-06-06 15:02:16 -07:00
seefo
9bc1bc47a2 Added CLI to Oven tool 2017-06-06 14:57:42 -07:00
Stephen Birarda
9cdd7cc895 fix model check for filenames with periods 2017-05-23 15:46:45 -07:00
Stephen Birarda
4c652487d0 enable skybox compression (via BC7) by default 2017-05-23 14:14:22 -07:00
Stephen Birarda
0621ddfd9f don't enable cube map compression by default 2017-05-23 11:54:09 -07:00
Stephen Birarda
2ba700d062 add a toggle to domain baker to re-bake originals 2017-05-23 11:54:09 -07:00
Stephen Birarda
3edbd41027 enable image compression at run time in baker 2017-05-23 11:54:08 -07:00
Stephen Birarda
a7f154a853 make a copy of original models file when baking domain 2017-05-23 11:54:08 -07:00
Stephen Birarda
fe280ab103 remember the browse directory for model baker 2017-05-03 14:24:23 -07:00
Stephen Birarda
b422ec3f88 also set the relative filename to fix double references 2017-05-02 18:04:23 -07:00
Stephen Birarda
2637040f17 remove skybox baking from domain baking 2017-04-26 18:37:36 -07:00
Stephen Birarda
0b4a8d05aa fix references to moved texture type enum 2017-04-26 18:37:36 -07:00
Stephen Birarda
93c35314ec use HF user agent for texture and FBX requests 2017-04-26 18:37:36 -07:00
Stephen Birarda
3aa6757c32 use QCryptographicHash static for cleaner hashing 2017-04-26 18:37:36 -07:00
Stephen Birarda
683985aea9 correct headers after move from model-baking to oven 2017-04-26 18:37:36 -07:00
Stephen Birarda
c43a4eec86 fix indexOf checks by using lastIndexOf 2017-04-26 18:37:36 -07:00
Stephen Birarda
258533de7b fix filename references in FBXBaker 2017-04-26 18:37:36 -07:00
Stephen Birarda
46fc69dd32 fix filename parsing in TextureBaker 2017-04-26 18:37:36 -07:00
Stephen Birarda
38cb998ca1 move model-baking library to oven for build exclusion 2017-04-26 18:37:36 -07:00
Stephen Birarda
c71255d5fe force oven dependency on model-baker since it is excluded 2017-04-26 18:37:36 -07:00
Stephen Birarda
b3f3302f5c add accepted file types to baker file pickers 2017-04-26 18:37:36 -07:00
Stephen Birarda
b520640fef grow status column when there are long results 2017-04-26 18:37:36 -07:00
Stephen Birarda
6127b72834 don't build oven and model-baking with default/ALL_BUILD 2017-04-26 18:37:36 -07:00
Stephen Birarda
2478ddb379 cleanup comments in skybox baking widget 2017-04-26 18:37:36 -07:00
Stephen Birarda
26d13ce002 make results window raising optional 2017-04-26 18:37:36 -07:00
Stephen Birarda
822af3365b always bring the results window to front when shown 2017-04-26 18:37:36 -07:00
Stephen Birarda
95e2cc4eea add BakeWidget, leverage for skybox widget cancellation 2017-04-26 18:37:36 -07:00
Stephen Birarda
8a1eb5f077 add cancellation handling to model bake widget 2017-04-26 18:37:36 -07:00
Stephen Birarda
7a5bfb8c19 add cancellation handling for domain bake widget 2017-04-26 18:37:36 -07:00
Stephen Birarda
9d8e493c20 remove suggestion that domain baker can load from URL 2017-04-26 18:37:36 -07:00
Stephen Birarda
3216202a8b fix local skybox file reference on windows 2017-04-26 18:37:36 -07:00
Stephen Birarda
0bb3f1c9dc assume local file if scheme is not remote 2017-04-26 18:37:36 -07:00
Stephen Birarda
a072f94085 leverage QDesktopServices to show output directory 2017-04-26 18:37:36 -07:00
Stephen Birarda
19aa05281e fix build errors for oven on windows 2017-04-26 18:37:36 -07:00
Stephen Birarda
980de595a9 handle skybox baking from oven menu 2017-04-26 18:37:36 -07:00
Stephen Birarda
25d24c445d handle ambient skybox textures for zones in domain bake 2017-04-26 18:37:36 -07:00
Stephen Birarda
7bc69e6eda add skybox baking to DomainBaker 2017-04-26 18:37:35 -07:00
Stephen Birarda
cbd6f6417c allow clicking on results row to show dir 2017-04-26 18:37:35 -07:00
Stephen Birarda
cdd9990fe8 use worker threads for Oven, re-write animation URLs 2017-04-26 18:37:35 -07:00
Stephen Birarda
383d82fe1d fix multi-line display in results window 2017-04-26 18:37:35 -07:00
Stephen Birarda
3388debe9f remove debug for percentage in DomainBakeWidget 2017-04-26 18:37:35 -07:00
Stephen Birarda
446cbf59b3 add domain bake progress to results table 2017-04-26 18:37:35 -07:00
Stephen Birarda
49e7ae6dbc call image library for texture baking 2017-04-26 18:37:35 -07:00
Stephen Birarda
429e65888b cleanup threading and result handling for DomainBaker 2017-04-26 18:37:35 -07:00
Stephen Birarda
83eb37b814 add domain bake to results table 2017-04-26 18:37:35 -07:00
Stephen Birarda
2b188427f1 cleanup memory management in memory bake widget 2017-04-26 18:37:35 -07:00
Stephen Birarda
3925493539 add a simple results window to show bake results 2017-04-26 18:37:35 -07:00
Stephen Birarda
7c5376bb1f put fbx bakers on their own thread from ModelBakeWidget 2017-04-26 18:37:35 -07:00
Stephen Birarda
c5fbd28ecf put all FBXBaker on same thread for bad FBX SDK 2017-04-26 18:37:35 -07:00
Stephen Birarda
916cecb8ec use QtConcurrent to cleanup threading of bakers 2017-04-26 18:37:35 -07:00
Stephen Birarda
e1dc1990e5 add writing of new entities file during domain bake 2017-04-26 18:37:35 -07:00
Stephen Birarda
a773b0de04 output domain bake to a unique folder with timestamp 2017-04-26 18:37:35 -07:00
Stephen Birarda
177d4d0e07 add a simple domain baker to enumerate models.json.gz 2017-04-26 18:37:35 -07:00
Stephen Birarda
4e0aba10bc add a modes menu and hook it up to the existing model widget 2017-04-26 18:37:35 -07:00
Stephen Birarda
31bf012503 handle multi-file select for model bake UI 2017-04-26 18:37:35 -07:00
Stephen Birarda
d9efd4adef don't save copy of originals for one-off bake 2017-04-26 18:37:35 -07:00
Stephen Birarda
1fc678a929 add placeholder text, set export folder from FBX if not set 2017-04-26 18:37:35 -07:00
Stephen Birarda
425385d982 leverage settings to remember paths used before 2017-04-26 18:37:35 -07:00
Stephen Birarda
e1840eb4fe give the Oven window a fixed width 2017-04-26 18:37:35 -07:00
Stephen Birarda
8d3b854e69 add a simple UI to Oven to bake individual model 2017-04-26 18:37:35 -07:00
Stephen Birarda
647377d07a enumerate materials to find textures with types 2017-04-26 18:37:35 -07:00
Stephen Birarda
1b30afa03e add basic Oven QCoreApplication, start to output results 2017-04-26 18:37:34 -07:00
Stephen Birarda
711938fb3d lay async foundation for FBXBaker 2017-04-26 18:37:34 -07:00
Stephen Birarda
26d4cc73e0 add stubbed FBXBaker leveraging FBX SDK for read/write 2017-04-26 18:37:34 -07:00
Stephen Birarda
a586a31a93 stub the oven tool and add a find module for FBX SDK 2017-04-26 18:37:34 -07:00