Commit Graph
100 Commits
Author SHA1 Message Date
yyc12345 1f0444009f fix 2 issues
- update apply_virtools_material. use keywords, not index to visit input and output sockets.
- update blender mesh operator. send a message when mesh::validate() proceed mesh and stop custom normals assignment.
2023-11-14 21:24:09 +08:00
yyc12345 bd40e0fdf2 update video format display name 2023-11-12 20:55:21 +08:00
yyc12345 6991307b8b merge util_blc_tex to prop_vt_tex. support virtools texture props when importing virtools file. 2023-11-12 20:35:54 +08:00
yyc12345 b7ad5c67d4 add virtools texture support 2023-11-11 13:32:58 +08:00
yyc12345 5bbaa895eb fix raw data texture reading error 2023-11-10 14:59:06 +08:00
yyc12345 1299a14f3b finish virtools file importer 2023-11-10 12:26:04 +08:00
yyc12345 8fad643dd9 finish half of virtools importer 2023-11-09 21:41:26 +08:00
yyc12345 ec0749f3e5 adapt to PyBMap binding 2023-11-09 17:20:57 +08:00
yyc12345 6e4b1b37da finish virtools groups 2023-10-27 11:51:12 +08:00
yyc12345 1eaaedfcbd finish ballance element 2023-10-26 12:32:08 +08:00
yyc12345 c1f92c7244 basically finish framework of ballance_element 2023-10-25 21:35:26 +08:00
yyc12345 2896602e6a add basic support of Ballance elements 2023-10-25 12:07:14 +08:00
yyc12345 9079bf1bb3 remove uv modifier from bld_mesh.py and finish flatten uv and rail uv 2023-10-23 10:57:29 +08:00
yyc12345 f7dd5f32ba update MeshUVModifier 2023-10-21 10:48:46 +08:00
yyc12345 b4bb85cc71 update MeshUVModifier 2023-10-20 20:50:30 +08:00
yyc12345 bcbe9c987e add MeshUVModifier 2023-10-20 10:40:20 +08:00
yyc12345 16d4fc2bca finish mesh reader 2023-10-19 10:56:33 +08:00
yyc12345 4f10b1a9e9 add placeholder for importer and exporter 2023-10-18 21:23:04 +08:00
yyc12345 484a4101ad finish blender mesh writer 2023-10-18 12:09:40 +08:00
yyc12345 ea6cb430fe add blender mesh helper 2023-10-17 11:50:31 +08:00
yyc12345 354b3cd180 fix and add some functions 2023-10-16 10:12:05 +08:00
yyc12345 1d1de08bd7 update texture manager 2023-10-15 21:13:56 +08:00
yyc12345 21345b8251 add some functions 2023-10-15 13:48:50 +08:00
yyc12345 b94e7e2b22 add addon pref and file browser wrapper 2023-10-14 11:48:41 +08:00
yyc12345 5584bc66a0 basically finish virtools material 2023-10-12 22:15:21 +08:00
yyc12345 4f693b555d add virtools material basically 2023-10-11 22:24:22 +08:00
yyc12345 4733295a39 add some basic of virtools material 2023-10-11 10:55:45 +08:00
yyc12345 d9b9531828 try migrate first operator 2023-10-10 16:01:52 +08:00
yyc12345 1db6cab8ca add some code 2023-10-09 22:20:21 +08:00
yyc12345 8de1adda04 add some development help 2023-10-09 14:10:25 +08:00
yyc12345 f07cfc91d5 [doc] prepare next generation development 2023-10-09 10:39:35 +08:00
yyc12345 0a3b3c5862 [feat] allow nested collection when exporting bm file.
provided by propylamine
2023-09-05 14:40:10 +08:00
yyc12345 0d1e382b37 [fix] fix typo
- unknow -> unknown
2023-08-17 10:21:42 +08:00
yyc12345 12d5f8c236 [doc] bump up version. fix document.
- bump up version to 3.3
- fix documents
  * rewrite the supported version.
  * update suggested plugin link.
  * notify user some installation changes. order user change installation folder.
2023-07-21 10:02:36 +08:00
yyc12345 6fe856fa8e [fix] migrate to blender 3.6 LTS
- change bl_info["support"] to COMMUNITY. because Blender do not support TESTINg anymore.
- now plugin should be installed in addons folder, not addons_contrib, due to blender changes.
- remove the reference about mesh.polypons.loop_total. because it is readonly now. (blender 3.6 changed)
- change uv assign method. use new properties instead. (MeshUVLoop is deprecated in blender 3.5 and removed in blender 4.0)
2023-07-01 12:56:07 +08:00
yyc12345 c2a85a2d86 [fix] fix empty material slot export error.
- fix the issue that the object with empty material slot will cause a None crash when exporting BM file.
2023-05-25 20:54:50 +08:00
yyc12345 dafb679780 [doc] add document for flatten uv and bump up version.
- add document for flatten uv
- bump up version to 3.2
2023-03-11 16:57:17 +08:00
yyc12345 f3663a4280 [fix] fix fatal div zero issue
- fix div error exception when flatten uv - scale size == 0
2023-03-09 21:24:05 +08:00
yyc12345 9c8d365ab6 [feat] add ref. point feature for flatten uv
- add reference point & uv feature for flatten.
- due to first feature, flatten uv now can process more structure of ballance floor, such as looping floor with low edge count.
- give flatten uv 2 different modes.
- original flatten uv method still existed as a scale size mode.
2023-03-09 21:18:13 +08:00
yyc12345 0be036fcea [fix] fix various bugs
- update README to keep update with plugin design
    * refactor Select by Virtools Group section
    * add material preset function description
- fix issue about flatten uv may get zero base vector.
- update elements adder menu.
- bump up version to 3.1
2023-01-31 10:50:07 +08:00
yyc12345 e153e51abd [feat] improve element adder
- fix ambiguous default side setter for floor adder. use "update" field of EnumProperty instead. also applied for dup element with span adder.
- divide component adder into 3 different adder, to process different add strategies.
- update elements placeholder adder. this change will force all element placeholder share a single mesh in the whole map.
- add series element adder.
2023-01-30 22:49:49 +08:00
yyc12345 d292ce389a [fix] add icons for sound hit/roll id group
- add 3 extra icons for groups Sound_(Roll/Hit)ID_(01|02|03).
- add a empty placeholder icon to make some UI more clear
- finish add group icons.
2023-01-30 15:00:29 +08:00
yyc12345 807e006245 [feat] add full element icons
- add more element icons. now element icons is not problem.
- change icon load strategy. now icon is loaded outside plugin. this operations might slow down blender but now I can apply my custom map to some operators to get better using experience.
- use new element icons to decorate some group name to let user know what this group stands for.
2023-01-30 11:12:15 +08:00
yyc12345 8d7a982e50 [fix] fix add floor alignment and add some new icons.
- try setting center alignment for add floor popup operator. it is not center alignment now because blender's impl but it is better than previous layout.
- add some components icon for more directly visual.
2023-01-29 21:39:24 +08:00
yyc12345 ddf6b7befe [fix] fix misc not important issues
- correct all icon usage. use 'CANCEL' instead of 'ERROR' to indicate error correctly. and move these icon const into UTILS_icons_manager.py
- auto rename generated rail section to match the default name standard.
- give more clear signal about import and export bm file by using Operator.report() function.
2023-01-29 10:32:43 +08:00
yyc12345 a300ddbb49 [fix] fix fatal error when use flatten uv for sink floor top.
- default behavior of flatten uv only suit for normal floor
- add extra property called scale correction to allow use specific custom uv scale.
2023-01-28 20:44:39 +08:00
yyc12345 c9e51c9b6a [feat] change function "selected by Virtools groups"
- remove ignore hidden property. because it is rarely used.
- support more select mode. like blender selection.
- merge function filter by group and select by group as a united function.
2023-01-28 20:05:18 +08:00
yyc12345 b58f837a94 [feat] add confirm window for some dangerous opers
- add clear oper in Virtools group panel.
- add confirm window for clear Virtools groups opers. both panel and context menu.
2023-01-28 11:15:41 +08:00
yyc12345 5fe865c621 [feat] improve rename system
- rename system now support display renamed name and old name at the same time to solve the problem that user can not find renamed objects.
- correct some typo of rename system report.
2023-01-28 10:39:31 +08:00
yyc12345 9b9fc9cde8 [feat] promote experience about floor creation.
- change bl_options and rewrite invoke and draw functions to let floor creating window become more visual. credit: BLumia.
- also change 3ds max align and flatten uv presentation after changing creating floor window.
- seperate icon loader/unload module.
2023-01-27 16:28:32 +08:00
yyc12345 ef459a210d [feat] promote virtools material
- set the default value of virtools material like virtools creation.
- add preset in virtools panel for convenient using.
2023-01-25 14:57:30 +08:00
yyc12345 7680d11c0e [fix] fix various issues
- add edit mode switch before bm export to prevent potential error
- let the default value of ZBuffer in Virtools Material become True
- fix the issue that duplicated elements adder do not understand enable option.
2023-01-18 00:03:11 +08:00
yyc12345 e7376a3e9c [feat] add 2 new features
- add tunnel section creation and re-organise rail creation menu.
- allow duplicated elements (Nong xxx) creation for some special, such as Fan and Extra Point.
2023-01-09 11:10:13 +08:00
yyc12345 2a87e98904 add lost group Shadow. fix README typo 2023-01-05 10:32:46 +08:00
yyc12345 9211b0bcca translate engrish document and promote zh document 2023-01-03 14:43:12 +08:00
yyc12345 43a93d7c19 update ZH document 2023-01-02 17:20:36 +08:00
yyc12345 803bcaad05 [feat] promote visual representation
- update enum prop into radio button display mode in bmx export and group name selections
- move rename system into outline window right click menu.
- add grouping operator to object menu in outline window.
2022-12-30 10:06:02 +08:00
yyc12345 314284ed94 [feat] finish wide floor and sink platform auto gen.
- add height re-calc in derived block generation for fixing height issue when re-use Flat in sink platform.
- finish all wide floor prototype.
- finish all platform prototype.
2022-12-29 11:28:50 +08:00
yyc12345 0a815f04d6 [feat] change BMERevenge model read method
- divided json into small pieces for easy management.
- change json reading method for change (1)
2022-12-28 21:40:51 +08:00
yyc12345 2bd031784a [feat] update BMERevenge generation method
- use some laggy AST code to update BMERevenge generation method.
- after this change, BMERevenge become more programable and easy to create more complex models
- ready for wide floor generation development
2022-12-27 22:08:35 +08:00
yyc12345 d5cb8eb1ec make Virtools material can be optional 2022-11-20 12:02:15 +08:00
yyc12345 02c11ffe5a [feat] add more virtools group related operators
- support select/filter by virtools group.
- support group/ungroup/clear in object context menu.
- improve virtools group visit functions
2022-11-19 14:30:31 +08:00
yyc12345 240d5612df add new type rail uv: TT_ReflectionMapping 2022-08-29 10:52:34 +08:00
yyc12345 84dd5b76f1 add feature, optimize function argv passing.
- add support of 4 alpha fields intorduced in BM spec recently.
- optimize material creation functions argv passing strategy.
- change related func calls of (2).
- optimize material parameter pick code to reduce useless check.
2022-07-23 17:22:44 +08:00
yyc12345 2950857e3d do some improvement work
- split blender material creation function.
- allow user to apply virtools material to blender nodes in operator.
- add quick group picker in add virtools group operator.
2022-04-12 15:40:06 +08:00
yyc12345 dde95c3e4f finish vt_mtl and vt_group Panel system 2022-04-09 14:41:32 +08:00
yyc12345 4701164a6c add panel code basically. preparing for future dev 2022-04-08 21:50:31 +08:00
yyc12345 6c875d23ae add console output for rename system 2022-04-06 14:18:45 +08:00
yyc12345 3c36b8b9db finish rename system debug 2022-04-05 21:16:53 +08:00
yyc12345 c943264d05 finish rename system, without debug. 2022-04-05 20:45:00 +08:00
yyc12345 ca459c6185 add half code of rename system 2022-04-05 15:55:42 +08:00
yyc12345 1bfae63fe3 preparing rename system development 2022-04-04 22:04:11 +08:00
yyc12345 cb9609ac2c fix various bugs after refactor 2022-04-04 12:45:41 +08:00
yyc12345 c40f956771 fix loading and bm import/export error 2022-04-04 11:30:04 +08:00
yyc12345 e264c85a04 refactor project. preparing v3.0 development. no debug current 2022-04-03 22:48:12 +08:00
yyc12345 9c24569a06 fix add_floor texture problem again 2020-11-08 10:31:29 +08:00
yyc12345 031458bfc8 fix add_floor material error 2020-11-07 19:32:07 +08:00
yyc12345 3d1cf14334 update to bm spec 1.3 2020-11-06 21:34:47 +08:00
yyc12345 df44426195 fix suffix error when using add_element 2020-11-06 16:23:36 +08:00
yyc12345 670cc830fd finish version 2.0 2020-10-21 13:48:36 +08:00
yyc12345 582e96615a add rail_uv projection param. Update export bm UI (use PointerProperty) 2020-10-19 22:12:27 +08:00
yyc12345 ac9d196e3e update zh-cn document 2020-10-10 20:17:37 +08:00
yyc12345 f332e15791 finish flatten uv 2020-10-10 19:56:15 +08:00
yyc12345 0fb53f6827 add flatten uv. still have bug 2020-10-10 17:00:31 +08:00
yyc12345 c74141a346 fix move 2 cursor error 2020-10-10 11:11:08 +08:00
yyc12345 b3ee636848 finish all floor prototype 2020-10-10 10:27:15 +08:00
yyc12345 83ba270184 finish all basic floor protorype 2020-10-10 09:53:07 +08:00
yyc12345 027e267cc7 WIP adding floor prototype (2/3) 2020-10-09 21:59:06 +08:00
yyc12345 f5275b2abd WIP adding block prototype 2020-10-09 21:26:17 +08:00
yyc12345 93d077f18d add prototype 2020-10-09 17:16:36 +08:00
yyc12345 078dc952e7 add triangle face support 2020-10-09 16:39:20 +08:00
yyc12345 112b63319f WIP floor prototype 2020-10-09 12:53:00 +08:00
yyc12345 e2949708e6 finish add_derived_floor and debug 2020-10-08 21:19:06 +08:00
yyc12345 512cbce7fe WIP. write derived block creator 2020-10-08 17:12:38 +08:00
yyc12345 f0e3c3a597 finish add_basic_floor debug 2020-10-08 13:07:43 +08:00
yyc12345 75bfcbea02 add add_floor core function. WIP. no debug 2020-10-07 22:25:02 +08:00
yyc12345 4259d057fd fix rail_uv bbox calc bug 2020-10-07 20:38:01 +08:00
yyc12345 6ae4cbeddc finish add_floor ui display 2020-10-07 15:49:12 +08:00
yyc12345 35655a671d update message box and rail_uv 2020-10-07 15:20:51 +08:00
yyc12345 a8203dcb9c try use pointer property for rail_uv 2020-10-06 23:57:21 +08:00